xmlxpert Posted April 22, 2006 Share Posted April 22, 2006 Hi, How do I create a CSS syntax out of this code? But seems like vAlign is not xHTML attribute so its better not to include it. <td vAlign=bottom bgcolor=#CCDEF0 height=109> Link to comment Share on other sites More sharing options...
Brendon Branigin Posted April 22, 2006 Share Posted April 22, 2006 unfortunately theres no css equivelent to valign. setting the content inside the html element (be it td div li w/e) to have margin top and bottom auto works well in ff but not in ie since it doesnt even read the code. I dont have a good solution unfortunately Link to comment Share on other sites More sharing options...
xmlxpert Posted April 22, 2006 Author Share Posted April 22, 2006 i see, its alright but how about this bgcolor? there isnt any css equivalent of this or is there?This code is actually from my site and fixing some errors from w3c validator, so I'm stack with this code then eh? Guess I cant validate then too bad :)thanks on the reply Brendon Link to comment Share on other sites More sharing options...
Brendon Branigin Posted April 22, 2006 Share Posted April 22, 2006 background-color : #xxxxxx;height: Xpx;it doesnt have to be px either, theres tons of different measurement units Link to comment Share on other sites More sharing options...
xmlxpert Posted April 22, 2006 Author Share Posted April 22, 2006 background-color : #xxxxxx;height: Xpx;it doesnt have to be px either, theres tons of different measurement units<{POST_SNAPBACK}> I see so this is I use { background: #CCDEF0; height: 109px; vertical-align: bottom; } And it works! , Thank You Brendon Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now