Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-26-2008, 02:33 AM   PM User | #1
zarrin
New to the CF scene

 
Join Date: Sep 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
zarrin is an unknown quantity at this point
Question CSS Won't Load

I am trying to link this css file:
http://blackgolddl.googlepages.com/style.css

to this html file:
http://blackgolddl.googlepages.com/index2.html

I have looked through it and just can't figure out why the style won't show ...

If you could look at the source code of the html (or maybe css?) and see if there is a problem, that would really help!
I am sort of a noob though, but any help would be very appreciated!!!

Thanks in advance!
zarrin is offline   Reply With Quote
Old 09-26-2008, 04:24 AM   PM User | #2
rangana
Senior Coder

 
rangana's Avatar
 
Join Date: Feb 2008
Location: Cebu City, Philippines
Posts: 1,752
Thanks: 65
Thanked 372 Times in 365 Posts
rangana will become famous soon enoughrangana will become famous soon enough
Could you tell us what the problem is? All I could see is that it is styled, but black.

Also, try to change this part:
Code:
@import "http://blackgolddl.googlepages.com/style.css";
into:
Code:
@import url(http://blackgolddl.googlepages.com/style.css);
If nothing helps, please elaborate a little further.
__________________
Learn how to javascript at 02geek

The more you learn, the more you'll realize there's much more to learn
Ray.ph
rangana is offline   Reply With Quote
Old 09-27-2008, 05:49 PM   PM User | #3
zarrin
New to the CF scene

 
Join Date: Sep 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
zarrin is an unknown quantity at this point
Thanks for the idea, but it still does not work. You can click the links again, they are updated with the @import url...

I am using dreamweaver, and when the html and css files are in the same folder on my computer and the href="/style.css".... it works, but when I upload the css file, and then change the href to the new location, it doesn't work, and I use import and everythning..

If someone has a solution, please tell me, thank you!
zarrin is offline   Reply With Quote
Old 09-27-2008, 09:49 PM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
What should it look like? It looks styled to us. I'm using FF3.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 09-27-2008, 11:31 PM   PM User | #5
zarrin
New to the CF scene

 
Join Date: Sep 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
zarrin is an unknown quantity at this point
How it is supposed to look is here as a screenshot from Dreamweaver..
http://img518.imageshack.us/my.php?i...eenshottu3.jpg

zarrin is offline   Reply With Quote
Old 09-28-2008, 12:37 AM   PM User | #6
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
None of your images seem to be uploaded. If you navigate to them you get a 404 not found error.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Users who have thanked _Aerospace_Eng_ for this post:
zarrin (09-28-2008)
Old 09-28-2008, 07:48 AM   PM User | #7
zarrin
New to the CF scene

 
Join Date: Sep 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
zarrin is an unknown quantity at this point
LOL, sometimes the easiest solutions are right. Thank you so much, I can't believe I forgot to do that. It's up and running now though, thanks again!!
zarrin is offline   Reply With Quote
Reply

Bookmarks

Tags
css, html, link, style

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:48 PM.


Advertisement
Log in to turn off these ads.