Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

css conflict with javascript menu

Status
Not open for further replies.

reb37

Programmer
Apr 3, 2001
10
US
Hi,
Could someone please help me? I'm trying to make a top navbar like this one,
work on another page. Every time I try to put this script into the home page, the style for the mouseovers on the menu seem to conflict and I can't get the same effect. It works on this test page, but not on the live ( home page. It's the a:link and a:hover tags that are messing me up. Any thoughts???

TIA,
Rebecca
 
It's hard to check the code itself as it's in a separate file, but the first thing that strikes me is that after the style sheet is defined in the HTML file, you then load another css file -

<link rel=&quot;stylesheet&quot; href=&quot;pcha_styles.css&quot; type=&quot;text/css&quot;>

Is this overwriting the style settings that you have defined in the page?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top