PDA

View Full Version : Evil XHTML and CSS >_<


Chris M
07-02-2005, 02:36 PM
Argh - I'm trying to create a menu navigation using XHTML and CSS :ermm:

I need to get the main title on the left side of the line, and a tiny description on the right hand side...

I've tried the following:
<span title="Forum Hosting Packages" style="text-align: left;">-- Forum Hosting Packages</span>
<span style="text-align: right;">Ideal for vBulletin Forums!</span>
but that just outputs:
Forum Hosting Packages Ideal for vBulletin Forums! :disappointed:

I tried using a <div> align tag, but that made the "Ideal for vBulletin Forums!" text drop to another line :ermm:

Any idea how I can achieve this? :)

Satan

Link14716
07-02-2005, 03:09 PM
What about using float? :)
<span title="Forum Hosting Packages" style="float: left;">-- Forum Hosting Packages</span>
<span style="float: right;">Ideal for vBulletin Forums!</span>

Chris M
07-02-2005, 03:20 PM
I tried that but that brings the "Ideal for vBulletin Forums!" text onto the next nav menu :(

Edit: I changed the order to:
<span style="float: right;">Ideal for vBulletin Forums!</span>
<span title="Forum Hosting Packages" style="text-align: left;">-- Forum Hosting Packages</span>
Works perfectly :)

Thanks Link :D

Satan

deathemperor
07-02-2005, 04:23 PM
Evil only floats you know