Re: [WSG] Vertical align text middle no work?

2003-12-18 Thread Vaska/WSG
yes, that would work great, however...i can't force the height (sorry i didn't mention this previously) because it will wonk up another div where the height is being set by javascript to fill all the available space in the window it can (minus the top div height of course)... what i have done, wa

Re: [WSG] Vertical align text middle no work?

2003-12-18 Thread James Ellis
Hi vertical-align doesn't really work the way valign in a table cell works - it applies to inline elements and table cell elements only (see css2 rec 10.8.1). You have to approach the matter from the other way, remove the table layout hat and put on a box model hat : hi i'm top thing text

[WSG] Vertical align text middle no work?

2003-12-18 Thread Vaska/WSG
Hi all, I'm feeling quite stuipd because I can't seem to get... #topthing { width: auto; height: 33px; vertical-align: middle; } The title to work. The text isn't aligning in the middle of the div, it goes to the top. Anybody got any ideas - after a nice reading around the web I