Welcome to WebmasterWorld Guest from 54.204.165.156

Forum Moderators: not2easy

Help Needed with CSS File Format

Help with how to format a CSS file

   
9:55 am on Sep 18, 2002 (gmt 0)

10+ Year Member



I am controlling my site style through a CSS file linked to every page. My question is whether I should include the <style> tags at the beginning and end of the file? Does it even matter?
10:00 am on Sep 18, 2002 (gmt 0)

WebmasterWorld Senior Member blobfisk is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome to WebMasterWorld, Duncan!

If you mean in the external CSS file (myfile.css), then no - you do not include the <style type="text/css"> tag. This is an html tag that tells the browser that what comes between <style> and </style> is css information.

The same applies to external JavaScript files (myscript.js), you do not included the <script type="text/javasrcipt">...</script> tags.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month