Includes or Included in file...

This is a discussion on "Includes or Included in file..." within the Web Page Design section. This forum, and the thread "Includes or Included in file... are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 5th, 2004, 02:02
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Includes or Included in file...

Just wondering.. what is better for a website (talking about speed and compatibility...) using includes for css or just including the code in the file itself? With dreamweaver's great Template editor either way I am going to be editing the file only once and then just pressing update to update all pages... so I am not worried about that part of it.. Just wondering if it was faster to use an include or to leave the code in the file itself. Thanks.

  #2 (permalink)  
Old Aug 5th, 2004, 06:49
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
If the css is going to be used on more than one page use a linked css file, if it's specific to the page just put it in the page header. Linked files are usually only downloaded once, not for each page, so you get a perfomance boost.
  #3 (permalink)  
Old Aug 5th, 2004, 09:27
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
it is always better as a rule of thumb to use external css. The less non-content before your real content, the better for search engines.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #4 (permalink)  
Old Aug 5th, 2004, 11:49
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
do i get the feeling Court Jester is trying to get people to post!? :P
Closed Thread

Tags
includes, included, file

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailto with cc included rubyfruit Web Page Design 2 Sep 5th, 2006 13:38
xsl includes sconard Other Programming Languages 0 Aug 24th, 2006 13:11
PHP Includes lesleindotcom PHP Forum 3 May 31st, 2006 20:54
Serversides included, but not in the right place.. Sofie PHP Forum 22 May 11th, 2006 17:00
CSS and includes rewmer Web Page Design 4 Aug 14th, 2005 10:31


All times are GMT. The time now is 07:49.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43