![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jul 2008
Posts: 1
Rep Power: 0
![]() |
Cascading Style Sheets
CSS (Cascading Style Sheets) have been around for a while now, and act as a complement to plain old HTML files. Style sheets allow Professional website design to separate HTML code from formatting rules and styles. It seems like many HTML beginners' under-estimate the power and flexibility of the style sheet. In this article, I'm going to describe what cascading style sheets are, their benefits, and two ways to implement them.
Cascading Style Sheets…that's what! They're what paint is to canvas, what topping is to ice cream… they complement HTML and allow us to define the style (look and feel) for our entire site in just one file! Cascading style sheets were introduced to the web development world way back in 1996. They get their name from the fact that each different style declaration can be "cascaded" under the one above it, forming a parent-child relationship between the styles. They were quickly standardized, and both Internet Explorer and Netscape built their latest browser releases to match the CSS standard (or, to match it as closely as they could). |
|
|
|
|
|
#2 |
|
Not a user?
Join Date: Sep 2007
Posts: 308
Rep Power: 2
![]() |
Re: Cascading Style Sheets
useless post, only reason for it is to promote Kucera's website. He/she didn't even make good on his/her promise to describe 2 ways to implement CSS.
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Jun 2007
Posts: 136
Rep Power: 2
![]() |
Re: Cascading Style Sheets
that said here are a few ways to impliment your css incase you were wondering
this is also in order of inhertance (the cascading part of css) bottom having most precedence to the browser external sheets (<style type="text/css" media="all">@import "/css/whatever.css";</style>) internal style sheets (inside the <style type="text/css"></style> tags) inline styles (inside the html attribute style="") |
|
|
|
|
|
#4 |
|
Expert Programmer
|
Re: Cascading Style Sheets
Looks like a promotion to me.
__________________
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| JScript CSS style switcher BY BROWSER | physicist | JavaScript and Client-Side Browser Scripting | 0 | Jun 11th, 2007 10:58 AM |
| Changing Style Sheets with PHP | Xeoncross | PHP | 6 | Nov 22nd, 2006 2:24 PM |
| PFO Style Site Navigation Links | B3TA_SCR1PT3R | Community Announcements and Feedback | 3 | Jan 17th, 2006 11:37 PM |
| Eclipse Style Tabs | swmk | Java | 0 | Nov 28th, 2005 11:46 AM |
| hovering on a link (treeview style, etc) | jrtec | HTML / XHTML / CSS | 2 | Oct 6th, 2005 10:41 AM |