I have a menu script but when I incert <div> </div> code its making it skip a line and not properly aligned, is there anything else I can use instead?![]()
| SitePoint Sponsor |
I have a menu script but when I incert <div> </div> code its making it skip a line and not properly aligned, is there anything else I can use instead?![]()





Blake Tallos - Software Engineer for Sanctuary
Software Studio, Inc. C# - Fanatic!
http://www.sancsoft.com/
where are you putting the div
<div class="menuBar"><a class="menuButton menuButtonActive6">Services</a></div>
try <span></span> then
Doesent work![]()
then we'll need to see the code mate, both xhtml/css,
don't really understand why you'd a div there, if it's a menu,
then you should be using <li>
█ Time to upgrade your website! Visit us at: EdenWebs.com
- Maryland Web Design / Development.

I don't entirely understand your question..are you asking how to get multiple things on a single line? float it.
Twitter-@Ryan_Reese09
http://www.ryanreese.us -Always looking for web design/development work
This follows on from this thread and this thread, and the confusion continues ...![]()

I think I understand you...you don't want the div to put it on a new line...(btw use a freaking list!!!)...Dropdowns are just lists, use one. (BTW please remember ot post code so you can have your question answered fast (if you had posted it in the OP then by the time you read this you would be answered)
Twitter-@Ryan_Reese09
http://www.ryanreese.us -Always looking for web design/development work
If you are determined to use a script driven (DHTML) menu then choose one that uses <ul>'s and <li>'s rather than divs. A menu is a list of links and it should be coded accordingly as mentioned in this thread and the others.
Try something like this -
List based DHTML menu by dhtmlgoodies.com
Ray H.- css-lab.com
W3C Specs - CSS 2.1 | CSS current work | Properties Index
Bookmarks