Welcome visitor
* Login
* Register
It is currently July 18th, 2019, 5:22 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 4 posts ] 
Author Message
  CSS Methods
PostPosted: July 15th, 2009, 5:12 pm 
User avatar

Posts: 137
Hi, just want to see what you is the general thinking out there.
Using CSS you can do it 3 ways, as far as i know:
-inline
-on the same html document inside the <style>
-on a .css file

which do you use and why?


Top
 Profile  
 
  Re: CSS Methods
PostPosted: July 15th, 2009, 7:27 pm 
User avatar

Posts: 29
I would go with the .CSS files.

Take a look at:
http://www.scriptingok.com/tutorial/CSS-style-sheets-5

_________________
Ooh, I love your magazine. Especially the 'Enrich Your Wordpower' section. I think it's really...really... really...good.
- Homer Simpson


Top
 Profile  
 
  Re: CSS Methods
PostPosted: July 15th, 2009, 7:50 pm 
User avatar

Posts: 136
i think it depends on the size of your project. For a little page inlines would be fine. For a little bigger document the use of classes would be convenient and desireable. But for a complete website with many pages, css stylesheets saves you from copy/paste all the css scripts. And that is not to mention the time it could save you when changes needs to be made.

also, css stylesheets loads faster and can use the advantage of cache memory.


Top
 Profile  
 
  Re: CSS Methods
PostPosted: July 15th, 2009, 8:17 pm 
User avatar

Posts: 137
that cache thing is a good point, never thought of it before.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron