CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 15th, 2004, 10:12 AM
assemblage assemblage is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: North Augusta, SC
Posts: 42 assemblage User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
CSS Style sheet is slow to load - help

I'm using CSS for style and positioning. I have this information in my style.css file. I import the file into my html file with this code:
PHP Code:
<head>
<
style type="text/css" title="currentStyle">
        @
import "style2.css";
</
style>
</
head


When calling the page with the MS Internet Explorer, it first writes all the text out unformatted and then it applies the format. I know it does it this way because I can see it. It is too slow.

Sometimes, it's just a flash, other times it's a whole second or two.

Regardless, I don't even want to notice the flash from unformatted to formatted. I notice that other pages don't seem to do this. How do I accomplish this? What am I doing wrong?

Reply With Quote
  #2  
Old January 15th, 2004, 10:50 AM
cliffhanger9's Avatar
cliffhanger9 cliffhanger9 is offline
fortin bra?
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: city of sin, state of the art
Posts: 416 cliffhanger9 Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 18 h 22 m 19 sec
Reputation Power: 0
Send a message via ICQ to cliffhanger9 Send a message via AIM to cliffhanger9 Send a message via MSN to cliffhanger9 Send a message via Yahoo to cliffhanger9
isnt @import jsut for liek old netscape browsers...?

lets see some css!
__________________
"I hate quotations."
-ralph waldo emerson-

Reply With Quote
  #3  
Old January 15th, 2004, 10:59 AM
trebbettes trebbettes is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 40 trebbettes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
try....

<HTML>
<HEAD>
<title>Match</title>
<LINK href="stylesheet.css" type="text/css" rel="stylesheet">
</HEAD>
<body id="Body" runat="server">
RARRARARAR TEST
</body>
</HTML>

Reply With Quote
  #4  
Old January 15th, 2004, 06:16 PM
assemblage assemblage is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: North Augusta, SC
Posts: 42 assemblage User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I figured itout

I figured it out. That "More Related Threads" on the bottom was very helpful. It suggestedthis thread .

I replaced the above code with:
PHP Code:
<head>
     <
link rel="StyleSheet" type="text/css" href="style2.css">
</
head


Cliffhanger9, I have no idea what the @ thing was all about. It was code I learned from a tutorial or from Zen Garden.

trebbettes, I couldn't get your code to work by replacing rel="stylesheet" with rel="style2.css". It just gave me an unformatted page. Did I do something wrong?

This new code seems to work well with MS IE. I don't know about Netscape or Mozilla though.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS Style sheet is slow to load - help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT