Greetings everyone:
I am trying to get CSS to work with a framed web page, but I cannot.
Does anyone know the syntax required in a CSS specification
to specify attributes of the frames?
Ideally, I want to be able to change the border thickness, colour, etc.
Additionally, does anyone know of some comprehensive examples/tutorial
out there about how to use CSS?
Thanks in advance for your assistance.
-*- a puzzled and somewhat frustrated newcomer to CSS -*-
This is what I have for the html (named sample.html):
vvvvvvvvvvvvvvv vvvvvvvvvvvvvvv vvvvvvvvvvvvvvv vvvvvvvvvvvvvvv vvvvvvvvvv
<!doctype html public
"-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd"
<html>
<head>
<link href = "sample.css "
rel = "stylesheet "
type = "text/css"
</head>
<frameset rows = "50%,*" cols = "50%,*">
<frame name = "ul">
<frame name = "ur">
<frame name = "ll">
<frame name = "lr">
</frameset>
</html>
^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^
and here is the style sheet (named sample.css):
vvvvvvvvvvvvvvv vvvvvvvvvvvvvvv vvvvvvvvvvvvvvv vvvvvvvvvvvvvvv vvvvvvvvvv
FRAME
{
bordercolor : #ff0000
frameborder : yes
border : 50
}
FRAMESET
{
bordercolor : #00ff00
frameborder : yes
border : 25
}
^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^