SunQuest
           CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 27th, 2002, 05:21 PM
baddy's Avatar
baddy baddy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: St. Louis, MO, 63122
Posts: 268 baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 1 h 23 m 32 sec
Reputation Power: 26
Send a message via MSN to baddy
Arrow CSS: need help with a menu seperator

I am pretty new to messing with CSS, so please bear with me. I have a side menu on the site I am designing that is basicly the navigation bar; it is simply a list of links. I am trying to make thin seperator lines between each link, and am running into a bit of trouble. Here is what I have atm:

PHP Code:
 body {
        
margin:20px 20px 0px 20px;
        }
    
    
#main { 
        
background:#fff;
        
}

    
#main #menu {
        
border-left:1px solid #ccc; 
        
border-right:1px solid #ccc;
        
border-top:1px solid #ccc;        
        
border-bottom:1px solid #ccc;
        
float:right;
        
width:150px;
        
background:#eee;
        
margin:0px 0px 10px 10px;
        
padding-bottom:10px;
        }
        
    
p,h1,pre {
        
margin:0px 10px 10px 10px;
        }
        
    
h1 {
        
font-size:14px;
        
padding-top:10px;
        }
    
    
#menu hr { 
      
width:150px;
        
color#ccc;
        
top-margin:0px;
        
bottom-margin:0px;
        }
    
    
#menu p { font-size:10px}
    
    #menu a {
        
margin0px 10px 0px 18px;
        
color#777;
        
text-decorationnone;
        
width100px;
        }
    
    
#menu a:link { 
        
margin0px 10px 0px 18px;
        
color#777;
        
text-decorationnone;
        }
    
    
#menu a:visited { 
        
margin0px 10px 0px 18px;
        
color#777;
        
text-decorationnone;
        }
    
    
#menu a:hover { 
        
margin0px 10px 0px 18px;
        
color#000;
        
text-decorationnone;
        } 


The section I am dealing with is #menu - I set the HR attributes and am trying to use that as the seperator. The problem I am having is there is about 10x above/below each link, even though I have the margin set on the links/hr to 0 for above/below. Any idea what I am doing wrong? Hope this make sense... thanks alot for taking a look.

Patrick

Reply With Quote
  #2  
Old October 27th, 2002, 07:36 PM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 13
Quote:
#menu hr {
width:150px;
color: #ccc;
top-margin:0px;
bottom-margin:0px;
}

The margin attribute is
margin-top:
margin-bottom:

Reply With Quote
  #3  
Old October 27th, 2002, 10:57 PM
baddy's Avatar
baddy baddy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: St. Louis, MO, 63122
Posts: 268 baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level)baddy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 1 h 23 m 32 sec
Reputation Power: 26
Send a message via MSN to baddy
That helps; thanks alot, I appreciate it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS: need help with a menu seperator


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway