rs79.vrx.palo-alto.ca.us
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
old back
interests
me
opinions
works
books
code
columns
comics
essays
glowlaces
gr8minds
jobs
kwikref
dns
facts
hw
js
photo
post pics
shipping
sw
tools
webcode
cgi
css
ref
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
old back
tools
tutorial
html
html dom
javascript
node
tricks
mashups
observations
photoblog
photoessays
sites
usenet
CSS Quick Reference
CSS Quick Reference
One: Different ways to use CSS statements
The idea behid CSS is that you can use it to alter any HTML property; lets use a trivial example, and say you want
<H2>
text to be
RED
. We need to simply modify the
<H2>
element, and there are different ways to do this:
Fig 1.0 CSS used inline in a single element.
Fig 2.0 CSS defined in the HTML file as a style that affects all
<H2>
elements
HTML file: "three.html".
CSS file: "three.css".
Fig 3.0 CSS defined in another file as a style that affects all
<H2>
elements
HTML file: "four.html".
CSS file: "four.css".
Fig 4.0 CSS included from another file as a style that affects all
<H2>
elements