vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2006, 03:56 PM
ortegah ortegah is offline
Junior Member
 
Join Date: Mar 2006
Posts: 7
Default Only been working on this all day...

Ha!

Okay so I've done all the reading on customizing a different navbar for the index page as opposed to the forums page and I've figured all that out and that's all great. Just one problem. How in the world do I center it? This is what I have now for coding for the navbar on the index page:
Code:
<div class="hovermenu">
<ul>
<li><a href="http://www.cmas-md.org">Home</a></li>
<li><a href="contacts-frag.htm">Contacts</a></li>
<li><a href="forums/">Forum</a></li>
<li><a href="gallery-frag.php">Tank Tour pics</a></li>
<li><a href="library-frag.php">Library</a></li>
<li><a href="links-frag.htm">Links</a></li>
<li><a href="mission-frag.htm">Mission</a></li>
<li><a href="meetings-page.htm">Meetings</a></li>
<li><a href="membership-frag.htm">Join</a></li>
<li><a href="sponsors-frag.htm">Sponsors</a></li>
</ul>
</div>
Now I've tried changing the center properties in so many places but no matter where I put "align=center" or "background-position: center" nothing seems to work. This is what it looks like now:

http://cmas-md.org/cmps_index.php?styleid=1

Any clue?

Thanks in advance,
Heather

Edited to add: I've also changed the settings in the css as well and it's not working there either. I'm thinking somewhere else there's code that precedence over my settings?

Last edited by ortegah; 03-30-2006 at 04:09 PM.
Reply With Quote
  #2  
Old 03-30-2006, 04:28 PM
KW802's Avatar
KW802 KW802 is offline
Administrator
 
Join Date: Mar 2004
Location: A galaxy far, far away...
Posts: 5,030
Default Re: Only been working on this all day...

Did you try it on your "<div>" tag? Also, what changes exactly did you do to the navbar? From looking at the source code of that page it looks like there are some misplaced <td> tags in there.
__________________
Sci-Fi | Walking Dead Forum
Reply With Quote
  #3  
Old 03-30-2006, 08:25 PM
BroKeN BroKeN is offline
Member
 
Join Date: Mar 2006
Posts: 41
Default Re: Only been working on this all day...

Did you try adding center to the code like this

Code:
<div class="hovermenu">
<ul><align="center">
<li><a href="http://www.cmas-md.org">Home</a></li>
<li><a href="contacts-frag.htm">Contacts</a></li>
<li><a href="forums/">Forum</a></li>
<li><a href="gallery-frag.php">Tank Tour pics</a></li>
<li><a href="library-frag.php">Library</a></li>
<li><a href="links-frag.htm">Links</a></li>
<li><a href="mission-frag.htm">Mission</a></li>
<li><a href="meetings-page.htm">Meetings</a></li>
<li><a href="membership-frag.htm">Join</a></li>
<li><a href="sponsors-frag.htm">Sponsors</a></li>
</ul>
</div>
Reply With Quote
  #4  
Old 03-30-2006, 09:48 PM
ortegah ortegah is offline
Junior Member
 
Join Date: Mar 2006
Posts: 7
Default Re: Only been working on this all day...

Quote:
Originally Posted by BroKeN
Did you try adding center to the code like this

Code:
<div class="hovermenu">
<ul><align="center">
<li><a href="http://www.cmas-md.org">Home</a></li>
<li><a href="contacts-frag.htm">Contacts</a></li>
<li><a href="forums/">Forum</a></li>
<li><a href="gallery-frag.php">Tank Tour pics</a></li>
<li><a href="library-frag.php">Library</a></li>
<li><a href="links-frag.htm">Links</a></li>
<li><a href="mission-frag.htm">Mission</a></li>
<li><a href="meetings-page.htm">Meetings</a></li>
<li><a href="membership-frag.htm">Join</a></li>
<li><a href="sponsors-frag.htm">Sponsors</a></li>
</ul>
</div>
I did just now and still it doesn't center the navbar
Reply With Quote
  #5  
Old 03-30-2006, 09:44 PM
ortegah ortegah is offline
Junior Member
 
Join Date: Mar 2006
Posts: 7
Default Re: Only been working on this all day...

Quote:
Originally Posted by KW802
Did you try it on your "<div>" tag? Also, what changes exactly did you do to the navbar? From looking at the source code of that page it looks like there are some misplaced <td> tags in there.
Yes I put it in the div tag as <div align=center> and still it didn't work.
Reply With Quote
  #6  
Old 03-30-2006, 09:51 PM
ortegah ortegah is offline
Junior Member
 
Join Date: Mar 2006
Posts: 7
Default Re: Only been working on this all day...

Quote:
Originally Posted by KW802
Also, what changes exactly did you do to the navbar?
The only thing I added to the navbar template other than the code you saw before is "<if condition="THIS_SCRIPT == 'adv_index'"> " so that I'd get the different navbar on the front page. Other than that, it's just the code that navbar came with without me doing anything to it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pm Pop Ups not working cbr929rrerion Troubleshooting & Problems 3 02-27-2006 11:53 PM
Working Not Working zigsterfrag Troubleshooting / "How do I..." Questions 1 05-22-2005 12:13 PM
not working indie Troubleshooting / "How do I..." Questions 9 09-16-2004 03:24 PM


All times are GMT -4. The time now is 01:06 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.