close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CSS not immediately visible on page load

Thread began 4/29/2010 2:49 pm by public376315 | Last modified 4/29/2010 3:24 pm by Jimmy Wu | 645 views | 1 replies |

public376315

CSS not immediately visible on page load

I recently used CSS Sculptor to create a quick website (www.tidegadget.com), and I noticed that in IE7, when loading the first page of the site, many times the content appears without any CSS for a split second before the CSS goes into effect.

Is there a known issue, or reason, for this CSS lag? I've created many a site before, most heavy with CSS, and have never run into this CSS display lag. Does it have something to do with the particular CSS used by CSS Sculptor?

Thanks in advance!

Sign in to reply to this post

Jimmy Wu

I just tested this and it does look like the page I generated in sculptor also has that lag. The reason for this is the way the style sheet is imported. It is using the @import url call to import the style sheet. If you use the link method to include the style sheets that are needed, the css will load right away. For example, this is how Sculptor generates it:
<style type="text/css" media="all">
<!--
@import url("CSSSculptor/1ColumnFixedCentered_CaboSunset_css/screen.css");
-->
</style>

You can add this into the body tag for it to load instantly:
<link rel="stylesheet" type="text/css" href="CSSSculptor/1ColumnFixedCentered_CaboSunset_css/screen.css" />

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...