Web Zone Talk Webmaster Forums Host Unlimited Domains on 1 Account Easy CGI Web Hosting - $7.96 per month   Host Unlimited Domains on 1 Account

Go Back   Web Zone Talk Webmaster Forums > Web Design > HTML, DHTML, CSS
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

HTML, DHTML, CSS Discuss about HTML, CSS, DHTML, etc..

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-02-2007, 01:26 PM
Senior Member
 
Join Date: Sep 2007
Posts: 105
Yata is a jewel in the roughYata is a jewel in the roughYata is a jewel in the roughYata is a jewel in the rough
Yata RSS Feed
Angry CSS issue with the <link> tag

Heres the problem:

I'm re-doing my site and I'm having trouble using my style sheets in the HTML files that are found in folders. Heres an example.

I have an entire folder named YataZen.
Inside that folder is index.html and a folder called style.
Inside style are my CSS and corresponding images.
Now, in the YataZen folder, I made a new folder called Media.
Inside Media, I have media.html. It uses the same code as my index page.

But now media.html displays as if the style sheets are not there. I use two style sheets,

HTML Code:
<link rel="stylesheet" type="text/css" href="style/style.css" />
<link rel="stylesheet" type="text/css" href="style/colour.css" />
What am I doing wrong? If I can't place the HTML files in folders, how can people have URLS such as www.yatazen.com/media/whatever.html.
Meaning the /media/ would represent a folder.

Thanks,
Yata
__________________
Light always travels faster than sound. This is why some people appear bright before you hear them speak.

YataZen - Redefining the Norm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-02-2007, 06:53 PM
Senior Member
 
Join Date: Sep 2007
Posts: 105
Yata is a jewel in the roughYata is a jewel in the roughYata is a jewel in the roughYata is a jewel in the rough
Yata RSS Feed
Default

Aha. I found a work around which I doubt is the right way, but hey, what works, works:

<link rel="stylesheet" type="text/css" href="www.yatazen.com/style/style.css" />
__________________
Light always travels faster than sound. This is why some people appear bright before you hear them speak.

YataZen - Redefining the Norm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-03-2007, 01:13 AM
Senior Member
 
Join Date: Aug 2007
Posts: 134
Harvey's Owner is just really niceHarvey's Owner is just really niceHarvey's Owner is just really niceHarvey's Owner is just really niceHarvey's Owner is just really nice
Harvey's Owner RSS Feed
Default

Well, maybe you should stick to the basics. Use the WYSIWYG eiditor instead of complicated HTML.

- Harvey's Owner
__________________
2 Bunny's World!

Come to my forum! A fun new twist on the Classic club penguin or runescape forum! Discuss everything and anything! Weather you wish to trade items on runescape, meet your friends in club penguin, or have a fight on robot rage, this is the place for you. The URL is easy to remember also, because it is what it says! http://alittlebetterforum.forumotion.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-03-2007, 02:33 AM
Senior Member
 
Join Date: Sep 2007
Posts: 105
Yata is a jewel in the roughYata is a jewel in the roughYata is a jewel in the roughYata is a jewel in the rough
Yata RSS Feed
Default

What?
The only two languages I know are XHTML and CSS. I don't want to revert to using tables, if thats what you mean.
__________________
Light always travels faster than sound. This is why some people appear bright before you hear them speak.

YataZen - Redefining the Norm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-03-2007, 11:12 AM
Registered with signatures
 
Join Date: Aug 2007
Location: Philippines
Posts: 94
peter524 is a jewel in the roughpeter524 is a jewel in the roughpeter524 is a jewel in the roughpeter524 is a jewel in the rough
peter524 RSS Feed
Send a message via Yahoo to peter524 Send a message via Skype™ to peter524
Default

your code:
Quote:
<link rel="stylesheet" type="text/css" href="style/style.css" />
<link rel="stylesheet" type="text/css" href="style/colour.css" />
must be:
Quote:
<link rel="stylesheet" type="text/css" href="/style/style.css" />
<link rel="stylesheet" type="text/css" href="/style/colour.css" />
note: the / that I inserted before the style means that the browser will read in the root directory. The page can't be viewed properly in your computer but rather it can be properly viewed when you publish it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-03-2007, 02:05 PM
Senior Member
 
Join Date: Sep 2007
Posts: 105
Yata is a jewel in the roughYata is a jewel in the roughYata is a jewel in the roughYata is a jewel in the rough
Yata RSS Feed
Default

Thank you!

I'll just change the <link> tags right before I publish it then.
__________________
Light always travels faster than sound. This is why some people appear bright before you hear them speak.

YataZen - Redefining the Norm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:46 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 Click here for Instant Community
Copyright © www.webzonetalk.com . All Rights Reserved.