homepage Welcome to WebmasterWorld Guest from 54.204.73.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
xhtml validation - how to handle valign
anthrt

5+ Year Member



 
Msg#: 11532 posted 11:23 am on Dec 24, 2005 (gmt 0)

so, after ironing out various little errors in the xhtml formation, im stuck with the last and only error, which im unable to find a workaround for.

basically, i am using <td valign="top"> (yes, i still use tables) for a navigation block, which apparently isnt valid xhtml.
obviously, on removal of the valign attribute the nav block is forced down to the middle somewhere, which obviously isnt where i want it.

so, im wondering if theres some html and/or css fix for this?

thanks.

 

Farix

10+ Year Member



 
Msg#: 11532 posted 12:46 pm on Dec 24, 2005 (gmt 0)

Add this to your styles for that element

vertical-align: top;

anthrt

5+ Year Member



 
Msg#: 11532 posted 1:15 pm on Dec 24, 2005 (gmt 0)

so simple! thanks.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved