Mona
11-20-2003, 04:05 AM
Hi, I'm having trouble with my stylesheet :( It's my first and I'm completely lost. Basically there are two things I want it to do but I can't get them to work.
Firstly, I want there to be some space between my content div and my nav div (I hope this isn't considered advertising but you can see what's going on with my site at http://marilyn.theatricality.co.uk) Right now the text is so close to my navigation. I did manage to get a gap when I first added the padding, I saved it but the next time I checked it wasn't there anymore :(
The second thing is that I want the text in my disclaimer div to be small. I used to use the <small></small> tag but none of the tags I've added to my main page has overruled my stylesheet the way lissa says it should, so nothing's working. What am I doing wrong?
Here's the style sheet.
body {
margin: 10px 10px 10px;
background: #000000;
cursor: hand;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFCCCC;
text-align: justify;
}
p, table, tr, td {
background: #000000
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFCCCC;
text-align: justify;
}
input, option, select, textarea {
border: 1px solid #FFCCCC;
background: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFCCCC;
}
a:link {
cursor: hand;
color: silver;
text-decoration: none;
}
a:active {
cursor: hand;
color: silver;
text-decoration: none;
}
a:visited {
cursor: hand;
color: CCFFCC;
text-decoration: none;
}
a:hover {
cursor: hand;
color: #ffffff;
text-decoration: none;
color: silver;
text-decoration: none;
}
a:visited {
cursor: hand;
color: CCFFCC;
text-decoration: none;
}
a:hover {
cursor: hand;
color: #ffffff;
text-decoration: none;
}
#content {
position: left;
padding: 20px;
overflow: auto;
background: #000000;
border: 0px solid #ffcccc;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #ffcccc;
text-align: justify;
}
#nav {
position: right;
overflow: auto;
background: #000000;
border: 0px solid #ffcccc;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #ffcccc;
text-align: justify;
}
#disclaimer {
position: bottom;
overflow: auto;
background: #000000;
border: 0px solid #ffcccc;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color: #ffcccc;
text-align: justify;
}
Thanks :)
Firstly, I want there to be some space between my content div and my nav div (I hope this isn't considered advertising but you can see what's going on with my site at http://marilyn.theatricality.co.uk) Right now the text is so close to my navigation. I did manage to get a gap when I first added the padding, I saved it but the next time I checked it wasn't there anymore :(
The second thing is that I want the text in my disclaimer div to be small. I used to use the <small></small> tag but none of the tags I've added to my main page has overruled my stylesheet the way lissa says it should, so nothing's working. What am I doing wrong?
Here's the style sheet.
body {
margin: 10px 10px 10px;
background: #000000;
cursor: hand;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFCCCC;
text-align: justify;
}
p, table, tr, td {
background: #000000
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFCCCC;
text-align: justify;
}
input, option, select, textarea {
border: 1px solid #FFCCCC;
background: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFCCCC;
}
a:link {
cursor: hand;
color: silver;
text-decoration: none;
}
a:active {
cursor: hand;
color: silver;
text-decoration: none;
}
a:visited {
cursor: hand;
color: CCFFCC;
text-decoration: none;
}
a:hover {
cursor: hand;
color: #ffffff;
text-decoration: none;
color: silver;
text-decoration: none;
}
a:visited {
cursor: hand;
color: CCFFCC;
text-decoration: none;
}
a:hover {
cursor: hand;
color: #ffffff;
text-decoration: none;
}
#content {
position: left;
padding: 20px;
overflow: auto;
background: #000000;
border: 0px solid #ffcccc;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #ffcccc;
text-align: justify;
}
#nav {
position: right;
overflow: auto;
background: #000000;
border: 0px solid #ffcccc;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #ffcccc;
text-align: justify;
}
#disclaimer {
position: bottom;
overflow: auto;
background: #000000;
border: 0px solid #ffcccc;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color: #ffcccc;
text-align: justify;
}
Thanks :)