The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Using <li> tags for vBulletin "Quick Links"?
I am currently in the process of revamping my forum skin, and have come over a small stumbling block with regards to the drop down menus for "Quick Links" within the navbar template. For some reason after the "Quick Links" link on the navbar, all the remaining links are forced to reside on the next line down. Can anyone help me out here, i am assuming that because i am using <li> tags to render the menus instead of tables that this is the main cause of the issue?
|
#2
|
||||
|
||||
List tags add a new line.
|
#3
|
||||
|
||||
List tags are BLOCK-LEVEL ELEMENTS.
You'll need to use CSS to change it's DISPLAY to "inline". It's a bit advanced coding so I don't recommend taking this route. There are some tuturials and examples on how you can do this on the WEB. The trick is to make it work on all browsers. |
#4
|
||||
|
||||
Quote:
Here is my master CSS file, browsing to the bottom will direct you to the #navigation definitions which are used to create the horizontal list. I tried changing the display from block to inline but this created basically the same effect. |
#5
|
||||
|
||||
Sorry, I don't see quick links.
|
#6
|
||||
|
||||
What Link? I don't see it on your site. You know that <li> tags should be wrapped in <ol> or <ul> tags. If not then it's kind of like puting tr and td without table.
If your using images then the easiest thing to do is just code them in reverse order and float:right each one and they will fall in line. |
#7
|
||||
|
||||
Quote:
HTML Code:
<div id="navigation"> <ul id="submenu"> <li><a href="arcade.php$session[sessionurl_q]">Arcade</a></li> <li><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></li> <if condition="$show['member']"> <li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li> <else /> <li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></li> </if> <li><a href="psistats.php$session[sessionurl_q]">$vbphrase[psistats_link]</a></li> <li><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></li> <if condition="$bbuserinfo['userid']"> <li id="usercptools"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></li> </if> <li><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out]</phrase></a></li> </ul> </div> |
#8
|
||||
|
||||
vb adds that little down arrow image. I wonder if that has an effect on the list structure.
|
#9
|
||||
|
||||
Quote:
|
#10
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|