homepage Welcome to WebmasterWorld Guest from 54.227.11.45
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
sometimes - No Style Sheet on page load
Style Sheet Link tag
colintho




msg:1203932
 5:01 pm on Feb 19, 2003 (gmt 0)

Not had much experience with style sheets, looking for some help / advice.

Just noticed that when page loads from site, most of the time the page "looks" like it has no style sheet - if I refresh the page - stylesheet comes into action & site looks "normal"

posted message on another forum - received help / advice - - "Try using a relative or a document path to fetch the style sheet for better efficiency" - -

Tried the relative style sheet link tag, thought it had fixed it - but noticed original "no style sheet" on page load a few times today

original link tag
<link href="http://www.****.com/images/av/av.css" rel=stylesheet type="text/css">

changed to this using the relative path:

<link href="/images/av/av.css" rel=stylesheet type="text/css">

Today I noticed the home page loaded with no stylesheet when I opened the www.****.com site from a google search for ****

Question:
after searching for style link tag info / should it be like this: <link rel=stylesheet type="text/css" href="/images/av/av.css">

any advice on page load, regarding style sheet, style sheet link tag.

 

DrDoc




msg:1203933
 7:23 pm on Feb 19, 2003 (gmt 0)

It should not matter in which order you place the attributes within the tag. Have you tried using a different browser? If so, have you experienced similar problems?

Also, if the style sheet is very big, there might be a short delay before it is applied to the page, especially if you're on a dial-up connection.

[edited: :) ]

jdMorgan




msg:1203934
 8:12 pm on Feb 19, 2003 (gmt 0)

...and flush your browser cache (Temporary Internet Files) in case you have either an old stylesheet cached in there, or the cache is full - which can cause all kinds of weird problems.

Jim

colintho




msg:1203935
 8:57 pm on Feb 19, 2003 (gmt 0)

thanks for the replies.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved