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.
|
|
|
|
|
![]() |
||
Includes or Included in file...
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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.
|
|
|
|
|||
|
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.
|
|
||||
|
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
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| includes, included, file |
| Thread Tools | |
|
|
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 |