homepage Welcome to WebmasterWorld Guest from 54.161.185.244
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
Help Needed with CSS File Format
Help with how to format a CSS file
Duncan

10+ Year Member



 
Msg#: 311 posted 9:55 am on Sep 18, 2002 (gmt 0)

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?

 

BlobFisk

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



 
Msg#: 311 posted 10:00 am on Sep 18, 2002 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved