The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Alignment problem!!
I am having a hard time getting the alignment right for this. Is there a code I need to use? Just a not this is the code from the navbar. I have tried <br/> but that only moves it down and will not align it to the left. Anyone have an idea?
|
#2
|
||||
|
||||
Do a float-left.
|
#3
|
|||
|
|||
Ok I am new to this how would I go about a float left?
|
#4
|
||||
|
||||
<span style="float:$stylevar[left]"></span>
or you can use div tags also. |
#5
|
|||
|
|||
Ok got ya. I kept trying the div tag but wasn't getting anywhere. I will give this a shot. If it won't work I will post the code I have and maybe I am putting it in the wrong spot.
--------------- Added 01 Mar 2008 at 14:52 --------------- I marked where I put it in green. Do I even have it in the right place? |
#6
|
||||
|
||||
Just post me the section of code for it, not the whole thing. The green didn't take affect in there.
|
#7
|
|||
|
|||
Here is the section I believe it is. If i type anything next to this it shows up next to it on the page. This is for the "Quick Links" section from the navbar but it is not in the vavbar anymore.:erm:
<if condition="$show['member']"> <span style="float:$stylevar[left]"></span><td id="usercptools"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> |
#8
|
||||
|
||||
You are close but the span tags have to wrap it.
Change this: HTML Code:
<span style="float:$stylevar[left]"></span><td id="usercptools"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> HTML Code:
<td id="usercptools"><span style="float:$stylevar[left]"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a></span> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> |
#9
|
|||
|
|||
Quote:
|
#10
|
||||
|
||||
Ok try this:
Replace that code with this: HTML Code:
<td id="usercptools"><a href="$show[nojs_link]#usercptools" accesskey="3"><span style="float:$stylevar[left]">$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|