Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

moving a menu option

This is a discussion on "moving a menu option" within the Web Page Design section. This forum, and the thread "moving a menu option are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Feb 4th, 2008, 18:33
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,535
Thanks: 1
Thanked 11 Times in 11 Posts
moving a menu option

i have a menu, like this

Code: Select all
#menu { float:left;
        width:904px;
        margin-top:8em;
        
}

.menu1 {padding:0 0 0 32px; margin:0; list-style:none; height:35px; position:relative; border:1px ; border-width:0 1px; border-bottom:1px solid #444; background-image:url(images/tblbg1.gif);}
.menu1 li {float:left;}
.menu1 li a {display:block; float:left; height:35px; line-height:35px; color:#aaa; text-decoration:none; font-size:11px; font-family:arial, verdana, sans-serif; font-weight:bold; text-align:center; padding:0 0 0 8px; cursor:pointer; background-image: }
.menu1 li a b {float:left; display:block; padding:0 16px 0 8px;}
.menu1 li.current a {color:#fff; background-image:url(images/left.jpg);}
.menu1 li.current a b { }
.menu1 li a:hover {color:#fff; background-image:url(images/hover.jpg); }
.menu1 li a:hover b { right top;}
.menu1 li.current a:hover {color:#fff; cursor:default;}
.menu1 li.current a:hover b {right top;}

-->
</style>
</head>

<body>

<div id="header">
<div id="menu">    
<ul class="menu1">
<li><a href="#nogo"><b>Home</b></a></li>
<li class="current"><a href="#nogo"><b>Portfolio</b></a></li>
<li><a href="#nogo"><b>Services</b></a></li>
<li><a href="#nogo"><b>Privacy Policy</b></a></li>
<li><a href="#nogo"><b>Resources</b></a></li>
<li><a href="#nogo"><b>Contact us</b></a></li>
<li> <a href="#nogo"><b>Admin</b></a></li>
</ul>   
</div></div>
what i want to do is to have the last option ( Admin ) display on the far right of the menu bar, but with the same format, i have already tried adding class, but that does not seem to work

could you help, thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old Feb 4th, 2008, 18:48
Jack Franklin's Avatar
Moderator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,429
Blog Entries: 8
Thanks: 18
Thanked 14 Times in 14 Posts
Re: moving a menu option

Add to the admin one:
Code: Select all
<li id="admin">rest of link...
And the CSS
Code: Select all
#admin {
float: right;
}
__________________
Yours is the Earth and everything that's in it
And - which is more - you'll be a Man my son!
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Feb 4th, 2008, 18:55
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,535
Thanks: 1
Thanked 11 Times in 11 Posts
Re: moving a menu option

perfect, thank you

i should have thought of using id - brains dead lol

< SOLVED >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Feb 4th, 2008, 19:21
Jack Franklin's Avatar
Moderator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,429
Blog Entries: 8
Thanks: 18
Thanked 14 Times in 14 Posts
Re: moving a menu option

Glad to help.
__________________
Yours is the Earth and everything that's in it
And - which is more - you'll be a Man my son!
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Feb 5th, 2008, 01:07
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: moving a menu option

Jackfranklin you are GOOD!!!
I didn't know that!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Feb 5th, 2008, 08:07
Jack Franklin's Avatar
Moderator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,429
Blog Entries: 8
Thanks: 18
Thanked 14 Times in 14 Posts
Re: moving a menu option

Well you do now

I know everything...
__________________
Yours is the Earth and everything that's in it
And - which is more - you'll be a Man my son!
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Feb 5th, 2008, 13:37
unitedcraig's Avatar
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 844
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: moving a menu option

Quote:
Originally Posted by jackfranklin View Post
Well you do now

I know everything...

Modest as well aren't you
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Option values AdINo Web Page Design 3 Jul 6th, 2007 11:09
Option values AdINo JavaScript Forum 2 Jul 5th, 2007 19:48
Help with moving my css Menu PurpleKat Web Page Design 3 Sep 24th, 2006 12:46
PHP moving side menu csa Web Page Design 6 Dec 16th, 2005 09:32
I need help with the Select Option..... courtjester JavaScript Forum 6 Nov 19th, 2003 15:34


All times are GMT. The time now is 16:25.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8