Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

header navigation - how do I make colored border


HeleneHH

Recommended Posts

Hi

 

I would like to make a colored border on the top and bottom in the header navigation.

I would like it to look something like this: www.danishcare.dk

 

How should I do?

 

Thank you in advance :rolleyes:

Link to comment
Share on other sites

stylesheet.css

 

TD.headerNavigation {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 background: #bbc3d3;
 color: #ffffff;
 font-weight : bold;
/* the code below does the upper/lower borders - alter to suit */
 border-left-style: none; 
 border-right-style: none; 
 border-bottom-style: solid; 
 border-bottom-color: #000000; 
 border-bottom-width: 3px; 
 border-top-style: solid; 
 border-top-color: #000000; 
 border-top-width: 3px; 
}

Sometimes after changing the stylesheet you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

 

This works with IE and Firefox.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

stylesheet.css

 

TD.headerNavigation {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 background: #bbc3d3;
 color: #ffffff;
 font-weight : bold;
/* the code below does the upper/lower borders - alter to suit */
 border-left-style: none; 
 border-right-style: none; 
 border-bottom-style: solid; 
 border-bottom-color: #000000; 
 border-bottom-width: 3px; 
 border-top-style: solid; 
 border-top-color: #000000; 
 border-top-width: 3px; 
}

Sometimes after changing the stylesheet you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

 

This works with IE and Firefox.

 

 

FANTASTIC! THANK YOU!!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...