![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Aug 2002
Location: East Coast.
Posts: 2,251
|
HTML Stylesheet Help
I can't seem to get linking to stylesheets working. Can anyone lend a hand?
<LINK REL=StyleSheet HREF="./stylesheets/sitesyle.css" TITLE="BlueDesign" TYPE="text/css"> should work by my research - it is almost exactly here: http://www.htmlhelp.com/reference/html40/head/link.html I've even tried <LINK REL=StyleSheet HREF="http://www.domain.com/stylesheets/sitesyle.css" TITLE="BlueDesign" TYPE="text/css"> Is there anything that needs to be in htaccess? I DO have apache parsing all HTML pages. Would that affect it? I'm lost. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: May 2003
Location: The Netherlands
Posts: 2,543
|
<link href="style.css" rel="stylesheet" type="text/css">
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Aug 2002
Location: East Coast.
Posts: 2,251
|
Yes, that is bascially what I posted. It's really strange - are there any other requirements here? If I put everything in a <style> tag it looks fine, but as soon as I use that link things muss up.
In fact, sometimes if I reload the browser I can see the page appear correct for a split second before it flashes to the non-style page using the link method. Is thatbecause it's choosing another style or something as default? I read that using "Stylesheet" makes it the "preferred" Is there compatibility issues with this LINK command? I'm just doing it so the spiders can get to my site content sooner - and changing the style of one css will change the whole site easier as well. I mean, without this stylesheet formatting the site looks like shit and won't sell anything. So this is important, no matter how ignorant I am about it. |
![]() |
![]() ![]() ![]() ![]() ![]() |