On Thu, 23 Oct 2003 13:57:29 -0400, Steve K wrote:
In article <Xn****************************@193.229.0.31>, "Jukka K.
Korpela" <jk******@cs.tut.fi> wrote:
Thanks, I'm real close to just doing the whole site the old way, plain
old html. I'm quite new to CSS and the more I learn about it the more I
realize how much there is to it. Right now I'm in over my head.
If there's more than one page, use this in the <head> of the document:
<link rel="stylesheet" type="text/css" media="all" href="style.css">
And move what's between the <style> and </style> into a text document
called style.css in the same folder as the HTML page (or change the href=
accordingly).
This means you can use the stylesheet for lots of pages, and changing it
once will affect all of them. I would suggest this stylesheet:
a:link {
color: black;
text-decoration: underline;
}
a:visited {
color: #999;
}
a:hover {
text-decoration: none;
color:c00;
}
a:active {
color: #999;
}
..floatleft {
float: left;
margin: 0ex 1.5ex 0.7ex 0ex;
}
..floatright {
float: right;
margin: 0ex 0ex 0.7ex 1.5ex;
}
..floatquest {
float: left;
margin: 0.1ex 1.5ex 0.1ex 0.1ex;
}
..quote {
margin: 0ex 0ex 0ex 12ex;
font-size: 0.9em; /*if it _must_ be smaller*/
color: c00;
margin-top: 0ex;
}
..quoteb {
text-align: right;
margin: 1ex 0ex 0ex 0ex;
font-size: 0.9em;
color: c00;
margin-top: 0ex;
margin-right: 3ex;
font-weight: bold;
}
..quote1 {
margin: 0ex 0ex 0ex 5ex;
font-size: 0.9em;
color: c00;
}
..border {
margin: 2ex 0ex 2ex 0ex;
}
..space {
margin: 3ex 0ex 0ex 0ex;
}
..boldtable, .boldtable td, .boldtable th {
font-size: 0.95em;
color: #000;
}
..boldtable2 {
font-size: 0.95em;
color: #000;
border: 0.1ex solid #f00;
margin: 0.2ex;
}
..td1 {background: #ffe9d4;}
body {
font-family: sans-serif;
font-size: 1em; /*not necessary, I'm just emphasising it*/
}
h1 {
color: #c00;
font size: 1.3em;
font-weight: bold;
}
h2 {
color: #000;
font-size: 1.2em;
font-weight: bold;
margin-top: 2.5ex;
}
h3 {
color: #000;
font size: 1.1em;
margin-top: 2.5ex;
margin-bottom: 1ex;
font-weight: bold;
}
p {
font-size: 1em;
}
p.italic {
/* don't use this, use <em>stuff</em> in the HTML, which is italic by
default for visual browsers and is better markup, e.g. for blind people: it
denotes emphasis, rather than just a paragraph with style.*/
}
and so on...
NOTE: I've just guessed the dimensions, I can't really visualise pixels
because they're a different size on different screens (which is one reason
why you shouldn't use them). Same goes for points.
see <http://213.162.109.93/help/cornell.html>
I'm amazed at how similar it is.
There's a few errors in the HTML though:
<http://validator.w3.org/check?uri=http%3A%2F%2F213.162.109.93%2Fhelp%2Fcor nell.html&charset=%28detect+automatically%29&docty pe=HTML+4.01+Transitional>
Hope that helps (it bloody well should ;-)
--
Matt
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----