PDA

View Full Version : Trouble valign'ing with CSS


Keftenk
08-19-2008, 09:35 PM
http://notedls.com/notedls4.0/index.php

I'm currently trying to develop a site, just started on the coding process, but I have already run into a road block. CSS doesn't exactly have a vertical align tag that works like it works with a straight HTML table valign tag.

What I want is for the text to be aligned in the middle, that's it. Yet, I can't figure out how to do it with what I have already constructed.

I've read up on some sites that have produced the effect using top%'s and what not, but for some reason it would just move the text all the way to the top ;\ So I played around with the %'s and it would just move back down to the bottom or remain at the top, rather annoying. Maybe I am/was doing something wrong, I ended up just deleting that and leaving it like it is now, but it's pretty ugly to look at.

So, I've come here looking for help.
Anyone know a workable solution to valign my text with CSS?

BoldUlysses
08-19-2008, 09:38 PM
This (http://phrogz.net/CSS/vertical-align/index.html) is the best writeup I've found on vertical aligning and CSS.