albertramsbottom — 2010-02-02T04:52:21-05:00 — #1
I am writting a little bit on CSS and as I was doing this it occured to me that I do not the differences between #page, #body and content when it concerns CSS.
When should I use what and is there an order here a Cascade?
Any advice would be great
dan_grossman — 2010-02-02T05:07:15-05:00 — #2
The pound symbol (#) followed by some word is how you apply styles to a document element having the same ID.
<p id="myparagraph">This is a paragraph I want to make bold</p>
The words "page", "body" and "content" do not have any special meaning. They are just referring to something (which could be anything) you have identified by those words in your HTML.
So you need to look at your own HTML document to figure out what those selectors are referring to.
albertramsbottom — 2010-02-02T05:26:39-05:00 — #3
Yes of course it it
Thanks for your help:)