By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,105 Members | 2,620 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,105 IT Pros & Developers. It's quick & easy.

Why doesn't this work?

P: n/a
Hi there!

Sorry, I feel a bit dumb, but I really can't find the mistake! I have
the following style

#menu { position:relative; text-align:center;vertical-align:bottom;
background-color:#000000;color:#FFFFFF;height:5em;}

and in my html-file

<div id="menu">
Link1 Link2</div>

But the text isn't at the bottom of the box, so.... what's wrong here?
Thanks for any help

Cheers
Philipp
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Philipp Frank <Ph***********@web.de> wrote:
Sorry, I feel a bit dumb, but I really can't find the mistake!
Your first mistake was to post a CSS question to an HTML group:
#menu { position:relative;
text-align:center;vertical-align:bottom;
background-color:#000000;color:#FFFFFF;height:5em;}


Try asking in c.i.w.a.stylesheets, with a sensible Subject line that
describes your problem, with a URL mentioned in the message, and after
considering this: by CSS specifications, the vertical-align property
only applies to inline elements and table cell elements.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.