Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Navigation Menu won't work
Old 09-21-2010, 10:59 AM Navigation Menu won't work
randi's Avatar
Junior Talker

Posts: 3
Name: Randi Hall
Location: North Carolina
Trades: 0
http://newimagestudio.com/wedding_ph...op_02_hhl.html

Here's the webpage, it's not my original design so working with someone else's creation. The issue... trying to change the Nav Bar at the very top of the page, it was a single row of images with the links. Trying to implement a css drop down menu. There is a main CSS file that the page has linked in, the navigation menu info is located in an include virtual text file that is placed in a table cell in the body of the page. There are 3 import CSS files in that include text file along with the nav list items.

I see it is not pulling in any of the 3 stylesheets for the menu. My guess because their information is in the body tags, not the head tags. How do I keep the include file and get the menu to work???
randi is offline
Reply With Quote
View Public Profile Visit randi's homepage!
 
 
Register now for full access!
Old 09-22-2010, 09:20 AM Re: Navigation Menu won't work
OleTom's Avatar
Extreme Talker

Posts: 176
Location: Out there some where
Trades: 0
Try pulling in your css with in the head

Code:
<link type="text/css" rel="stylesheet" href="style.css">
__________________
Life is Good,OleTom

Please login or register to view this content. Registration is FREE
OleTom is offline
Reply With Quote
View Public Profile Visit OleTom's homepage!
 
Old 09-23-2010, 09:31 PM Re: Navigation Menu won't work
Crimson's Avatar
Skilled Talker

Posts: 56
Name: Connor
Location: United States
Trades: 0
Looking at your code, it looks like this is the code you're using to pull in the stylesheets:

Code:
<style type="text/css"> 
/* Helper */ 
@import "css_nc_professional_photographers/header.helper.css"; /* Layout */ 
@import "css_nc_professional_photographers/header.dropdown.css"; 
/* Theme */ 
@import "css_nc_professional_photographers/header.default.advanced.css"; 
</style>
Try replacing it with this:

Code:
<style type="text/css"> 
/* Helper */ 
@import url("/css_nc_professional_photographers/header.helper.css"); /* Layout */ 
@import url("/css_nc_professional_photographers/header.dropdown.css"); 
/* Theme */ 
@import url("/css_nc_professional_photographers/header.default.advanced.css"); 
</style>
In CSS, when you use @import you also have to use url("...") around the URL or else it won't work.
__________________

Please login or register to view this content. Registration is FREE

I solve code problems, browser compatibility (including IE 6), Wordpress trouble, the works.
Crimson is offline
Reply With Quote
View Public Profile Visit Crimson's homepage!
 
Reply     « Reply to Navigation Menu won't work
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.39559 seconds with 12 queries