valign in CSS

liunx

Guest
What's the CSS equivalent to valign? I want to position an image within a table.style="position:relative;margin-top:50%;margin-bottom:50%;"
try that.You could also use the vertical-align property: <!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS2/visudet.html#propdef-vertical-align">http://www.w3.org/TR/CSS2/visudet.html# ... ical-align</a><!-- m -->

AdamShows how long I have been using css lol :)Thanks! That's exactly what I was looking for . . . silly CSS books need to come out with a revised edition mentioning that.well its in css2 not css, so they would put it in their css2 book. css2 is a different version of css so they would not reprint the book with just note you can use this and this they would redo it competly.
 
Back
Top