Reply
What is Cascading Style Sheets?
Old 05-08-2006, 06:25 PM What is Cascading Style Sheets?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
Hello. I am new to web design, but I know some html and how to use DW a little. I've been hearing about CSS for quite some time. But never did I try to learn it. I would like to first know what it is and used for. And how it helps it web design?
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
When You Register, These Ads Go Away!
Old 05-08-2006, 07:29 PM Re: What is Cascading Style Sheets?
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
CSS is a way of seperating web page structure from style. Basically, the structure goes in the HTML file and describes things like
Code:
<h1>This is a heading</h1>
<p>This is a paragraph</p>
etc...
That tells the browser nothing about how the page should look. The CSS defines rules that tell the browser how to display these elements, such as:
Code:
h1 {
   color: blue;
   font-weight: bold;
}
// Tells the browser to make all h1 headings bold & blue
The CSS is usually stored in a seperate file to the HTML but linked to it (although you can define style rules in the head of the document, and even in the HTML tag itself using the style="" attribute - there's advantaged and disadvantages to each, although I wouldn't reccomend putting style info directly into the tag - it defeats the object of CSS!)
Of course it gets more complicated than this, CSS can be used to position elements on the screen and relative to one another, and there are loads of other CSS selectors and style definitions you can use.

http://www.w3schools.com has good CSS & (X)HTML tutorials tutorial.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Inoxia Pyrotechnics Supplies | Surrey Angels Cheerleading Squad
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 05-08-2006, 08:19 PM Re: What is Cascading Style Sheets?
vangogh's Avatar
Post Impressionist

Posts: 8,923
Name: Steven Bradley
Location: Boulder, Colorado
Good explanation Minaki. I also wanted to add my own recommendation for the w3schools link. They have some really great tutorials there that are easy to understand and quick to get through.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-17-2006, 11:54 AM Re: What is Cascading Style Sheets?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
Thanks yall. I really need to quickly learn how to use css so I can make my pages look the same, the way I want, in all browsers. I am using DreamweaverMX to do my sites. How do I activate the CSS capabilities in this program? Do I do it before, after, or during site building?
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
Reply     « Reply to What is Cascading Style Sheets?
 

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12591 seconds with 12 queries