Welcome to WebmasterWorld Guest from 50.17.79.100

Forum Moderators: not2easy

Message Too Old, No Replies

sometimes - No Style Sheet on page load

Style Sheet Link tag

     

colintho

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

10+ Year Member



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

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

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

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

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



...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

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

10+ Year Member



thanks for the replies.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month