The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
html help to center links
Right now, all my links are to the left. I want them to be centered. I tried it myself and each link was centered, but they were on top of each other.
Here is part of the code I feel needs to be fix. Code:
<div align="center"> <div style="width:$stylevar[outerdivwidth];"> <a name="top"></a> <div align="center"> <div style="width:$stylevar[outerdivwidth];"> <div class="header"><div align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"></a></div></div></div> <div class="nav"> <!-- start left nav --> <div class="navleft"><a href="$vboptions[forumhome].php$session[sessionurl_q]">Home</a></div> <div class="navleft"><a href="forumdisplay.php?f=20$session[sessionurl_q]">Club News</a></div> <div class="navleft"><a href="forumdisplay.php?f=1$session[sessionurl_q]">Movies</a></div> My links look like this on my forum: Home Club News Movies and so on..... When I tried to fix it, they ended up like this. Home Club News Movies Please, give me the html code i need to get them to look like this. Home Club News Movies Thank you, MrMichigan |
#2
|
||||
|
||||
Is this the full code, as for me so many closing </div> tags are missing.
Anyways. for the last part of your code try this. HTML Code:
<!-- start left nav --> <div class="navleft"><a href="$vboptions[forumhome].php$session[sessionurl_q]">Home</a> <a href="forumdisplay.php?f=20$session[sessionurl_q]">Club News</a> <a href="forumdisplay.php?f=1$session[sessionurl_q]">Movies</a></div> . |
#3
|
|||
|
|||
I guess I should just have sent a link to the setup. I need those "Div" so that I can have a line between each link. When I put your code in, the line was gone. But it did look like what I ask for. My bad.
Link: www.homeentertainmentclub.com Now back to the html code I need to make this centered. Also the code I put up top is not the whole code for the header. If you the whole header code, then let me know. Also could any of you show me where and what html code I would have to enter in my header to have me put in a 850 pixel wide jpg banner. Just put in example.jpg for where the banner file will go. Thank you, MrMichigan |
#4
|
||||
|
||||
make sure you've got navleft set to width: 100% and text-align: center
Also every time you use div it will create a new line, try <span class="navleft"> or the proper way of putting it in a table |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|