Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 03-13-2005, 02:52 AM CSS site performance
Novice Talker

Posts: 9
Trades: 0
I am new to CSS in Dreamweaver and when I attach a style sheet to the site, the performance of the uploaded site SEVERELY deteriorates AND the styles are not in effect on the site (I can only see the effects in DWEAVER Preview). As soon as I take the style sheet off, performance goes back to normal. Is this something I am doing or something to do with my web hosting? The site is table-based...

Thanks...

Last edited by tomasab; 03-13-2005 at 03:18 AM..
tomasab is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-13-2005, 03:31 AM
howardroark's Avatar
Extreme Talker

Posts: 181
Trades: 0
could be that 1.) you did something wrong with the css definition file, 2.) your hosting does not support include files, or 3.) both....
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
howardroark is offline
Reply With Quote
View Public Profile Visit howardroark's homepage!
 
Old 03-13-2005, 12:08 PM
vivekar's Avatar
Webmaster Talker

Posts: 612
Trades: 0
Are you using inline css or linking

<link rel="stylesheet" type="text/css" href="clientscript/style.css" />

what is the size of your css file?

performance hit means what kind of performance? page load or functional problems?
__________________

Please login or register to view this content. Registration is FREE
(Active since 2003) |
Please login or register to view this content. Registration is FREE
vivekar is offline
Reply With Quote
View Public Profile Visit vivekar's homepage!
 
Old 03-13-2005, 01:11 PM
Novice Talker

Posts: 9
Trades: 0
I am using linking and the CSS file is very simple and most of the code is pulled from a template anyways.
It seems that the style sheet just doesn't load properly onto the server or something. When the style sheet is in effect on my computer, everything works the way it's supposed, but when I upload the whole thing, it goes to ***t.
tomasab is offline
Reply With Quote
View Public Profile
 
Old 03-13-2005, 05:03 PM
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
Although it's hard to get a clear understanding of what exactly is the problem here, there's a few things that dreamweaver does which may screw up your css implementation.
  • Check that your pages relative path to the css file is correct. Dreamweaver will upload your files according to your site definitions. Sometimes your remote site definition will not match the local file structure and hence break relative file paths.
  • Double check that your css file has a .css extension and that the filename/link to your css file in the <header > includes the extension.
  • Confirm that your css file has actually been uploaded to the remote server. In the "Files" menu, left cliick the root folder > right click "syncronize" > "put selected files to remote" > preview.
  • Whenever you make changes to your css file locally, before you test pages on the remote server, upload the css file.
  • Double check that your local folder heirachy matches your remote server folder structure. Many dreamweaver users are hopeless coders and cannot troubleshoot relative path problems. The work around in this scenario is to ensure that your local folders are an exact mirror of your remote folders.

That's all I can think of from my dreamweaver n00b days. All my css problems were solved by doing one of the above.

Just a word of caution though Tom, DW's WYSISYG mode is NOT a reliable way of previewing pages. You must hit f12, and shift-f12 to preview your pages reliably. Install at least 4 of the top browsers for previewing purposes.

If your pages look ok on your computer after hitting f12, then I guarentee you that the problem will be solved by addressing the issues listed above.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.

Last edited by metho; 03-13-2005 at 05:06 PM..
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Reply     « Reply to CSS site performance
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15767 seconds with 12 queries