473,802 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with vertical aligning in a cell using css in firefox browser

1 New Member
Hello, im brand new to forums and as you will see to css! The problem im having here is the text i want in the cell (class hd) refuses to align to the top in firefox. Ive tried placing it straight into the first class hd cell without the table tags or tbody tags with no luck. If i add more text than there is now it pushes the link table below it out of sight. I may not have placed enough of the code here to see exactly what's happening so you can view the page here http://www.wheretobuyc arsfrom.com

I realise that firefox is better at handling css than IE but not forgiving so i would like to understand why this is happening. As it is it looks ok because ive limited the amount of text in the cell. But i would like to place a form there on some pages and when i do it just wont align to the top to fit in the space correctly. Thank you in advance for helping a novice developer.

Expand|Select|Wrap|Line Numbers
  1. ..
  2. td.ht
  3. {
  4. font-family: verdana;
  5. font-weight: bold;
  6. font-size: 14pt;
  7. font-style: italic;
  8. text-align: left;
  9. color: #bc596d;
  10. vertical-align: text-top;
  11. }
  12.  
  13. td.hd
  14. {
  15. font-size: 8pt;
  16. font-family: verdana;
  17. text-align: left;
  18. color: #413392;
  19. vertical-align:top;
  20. }
  21. ..
Expand|Select|Wrap|Line Numbers
  1. ..
  2. <td class="hd" valign="top" height="87">
  3. <div align="right">
  4. <table border="0" cellpadding="0" cellspacing="0" width="325" id="table201">
  5. <tbody><tr>
  6. <td class="ht" height="23">wheretobuycarsfrom.com</td>
  7. </tr>
  8. <tr>
  9. <td class="hd">Looking to buy a car or sell a car? Maybe you need some helpful advise on buying and selling? You may have a mechanical issue or need a vehicle inspection. Whatever your motoring needs we are here to help.</td>
  10. </tr></tbody>
  11. </table>
  12. </div>
  13. </td>
  14. ..
Oct 10 '06 #1
0 1874

Sign in to post your reply or Sign up for a free account.

Similar topics

3
16542
by: David Rwj Cherry CS2000 | last post by:
is there any way to disable or lock vertical scroll bars on a browser window? im a newbie and i just don't want them to appear on my screen. sometimes they appear on IE but not on mozilla. any ideas would be most appreciated.
4
9734
by: Mimo Zus | last post by:
I'm hoping that someone can explain what's going on; better yet provide a workaround. I'm designing a centered CSS site based on a 550 pixel wide vertical background image. Onto this background I built a two column layout with nested navigation and content divs. The background image is centered via "background: ... center;", the divs are centered over it via "margin: 0 auto 0 auto;". The problem I'm having in IE6 is inconsistent...
33
4786
by: LRW | last post by:
http://gto.ie-studios.net/index.php When you view the above site in IE, if the 1st of the three product images is tall enough to push the cell down a couple of pixels, IE somehow doesn't show that happening. But if you look at it in Firefox you can see the small gap of white where the semi-circle image is broken. I've tried changing the background colors to gray in cells and tables
15
2265
by: scott | last post by:
Hello, I'm working on updating some of my table-based sites to use CSS instead of tables. One of my sites has a header that is composed of three elements: A B C In my prior design, this was done using a table. A, B, and C were each <tdelements.
6
7874
by: Andy Mabbett | last post by:
Please can someone remind me of the most elegant fix for the way Firefox fails to vertically align cell content by default? For example, the second event on: http://www.westmidlandbirdclub.com/diary/ Thank you. --
1
1559
by: raman | last post by:
Hi, Kindly, look at the following problem. Objective: To draw a message sequence chart (MSC) from given log file. Input: Generated trace file (eg log.trace) Output: log.trace.html
16
2337
by: Eric | last post by:
I have a user of a web application written in Java/JSP that is unable to login to the site simply because certain links on the page do not run when they are clicked. Other popups using Javascript on the same page work correctly. It appears to be isolated to 1-2 machines in a particular network. I cannot verify whether these machines have had virus/spyware scans, but I do know the user is running Firefox 2.1 and IE 7 with the same...
3
2393
by: howa | last post by:
Hello, In Firefox or other browers, vertical scrollbar might not exist and this lead to the page aligning problem (Inconsistency), i.e. when you just from one page (w/scrollbar) to another page with ((w/o scrollbar). These kind of inconsistency is not what we want. Some methods are suggested, e.g. hight:101% or Mozilla styles hack...
40
5507
by: maya | last post by:
hi, how do I get text to vertical-align inside a div? http://www.mayacove.com/misc/home.html vertical-align should work, according to this: http://htmlhelp.com/reference/css/text/vertical-align.html
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10285
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10063
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6838
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2966
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.