The differences between CSS and Stylesheets (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


Scotty -> The differences between CSS and Stylesheets (4/27/2004 1:37:35)

I'm getting a better handle on this but I'd like to read how some of the pro's explain the differences.
With CSS I understand you can set the fonts, colors that will remain constant from page to page throughout a site. I believe I've heard you can use it to layout the page also (in place of using tables - if so, it could position the header and footer but not actually include them?)
So how does a style sheet differ?
Regards, Scotty




jaybee -> RE: The differences between CSS and Stylesheets (4/27/2004 1:55:48)

You sure can use it to layout the page. It can render slightly differently in different browsers but whether you notice it or not depends on your layout.

Best place to go for answers to Cascading Style Sheet questions is the horses mouth initially although there are loads of other places such as Eric Meyers site and the upcoming Gorilla Guides.

Start Here




c1sissy -> RE: The differences between CSS and Stylesheets (4/27/2004 6:27:25)

Hi Scotty,
After you vist Jaybees suggestion go HERE You will find a good bit of links in this thread, some taking you to other places here in outfront and some to other sites.

Good luck.




bobby -> RE: The differences between CSS and Stylesheets (4/27/2004 16:25:29)

CSS is Cascading Style Sheets

It can be used inline, as in <p style="font-size: 130%;">

Or embedded as a style sheet (in the header of each page), or as a linked style sheet (using <link rel="stylesheet" type="text/css" href="stylesheetname.css" />)

The basics are the same, the only difference is where you put them in a page...

A "style sheet" is typically a linked CSS file...

And using CSS for positioning has nothing to do with "including" the headers or footers... but rather defining a position, style, etc. for the "block" (or layer / div) that contains the header or footer code...

The link that Deb referenced above is a great site for beginning CSS




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625