Forum Moderators: open

Message Too Old, No Replies

Firefox not reading valign order correctly

Firefox not reading properly valign order for left and right menu

         

alba09

3:37 pm on Jan 3, 2007 (gmt 0)

10+ Year Member



The website I’ll further describe the troubles with Firefox is validated! The website is build with tables for header, body, left and right menu and footer. Header, l/r menu and footer are called from a php file. The website is also build in the way that the spider is reading after the header, first the body and than moves to the left, right menu and footer.

In IE, Opera and Netscape the website looks good, while by Firefox the text of the left and right menu moves down to the middle of the page. By short pages without a scroll the menu is on top, while by longer pages the menu moves down. The menu is marked valign= top, but somehow Firefox is not reading it while other browsers do. Any idea why and how to fix it? Thanks.

JAB Creations

7:57 pm on Jan 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Firefox is standards compliant browser and valign is a deprecated attribute in more recent standards.

The valign attribute is typically used on a td element.

You should use CSS...

element.class {
vertical-align: top;
}

- John