473,395 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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

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.wheretobuycarsfrom.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 1855

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

Similar topics

3
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...
4
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...
33
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...
15
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...
6
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: ...
1
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
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...
3
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...
40
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:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.