Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 5th, 2008, 3:46 AM   #1
Kucera25
Newbie
 
Join Date: Jul 2008
Posts: 1
Rep Power: 0 Kucera25 is on a distinguished road
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).
Kucera25 is offline   Reply With Quote
Old Jul 5th, 2008, 5:47 AM   #2
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 256
Rep Power: 2 Jabo is on a distinguished road
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.
Jabo is offline   Reply With Quote
Old Jul 5th, 2008, 6:31 AM   #3
MiKuS
Programmer
 
Join Date: Jun 2007
Posts: 99
Rep Power: 2 MiKuS is on a distinguished road
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="")
MiKuS is offline   Reply With Quote
Old Jul 5th, 2008, 3:27 PM   #4
crawforddavid2006
Expert Programmer
 
crawforddavid2006's Avatar
 
Join Date: Apr 2005
Location: Not sure yet
Posts: 579
Rep Power: 0 crawforddavid2006 is an unknown quantity at this point
Send a message via AIM to crawforddavid2006 Send a message via MSN to crawforddavid2006
Re: Cascading Style Sheets

Looks like a promotion to me.
__________________
Quote:
Originally Posted by DaWei View Post
Well, it's better than Pen Islands url....;)

crawforddavid2006 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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 9:58 AM
Changing Style Sheets with PHP Xeoncross PHP 6 Nov 22nd, 2006 1:24 PM
PFO Style Site Navigation Links B3TA_SCR1PT3R Community Announcements and Feedback 3 Jan 17th, 2006 10:37 PM
Eclipse Style Tabs swmk Java 0 Nov 28th, 2005 10:46 AM
hovering on a link (treeview style, etc) jrtec HTML / XHTML / CSS 2 Oct 6th, 2005 9:41 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:15 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC