That's probably classed as off-topic for this list,
I imagine what you are looking for is something like this
document.getElementById('some-id').className = 'cssClassName';
Or
document.getElementById('some-id').style.color = 'red';
If you want to discuss this off the list, send me an email.
How do I get the background color to show up in Sidebar A One?
Your id is set incorrectly, in the css it is sidebar_a and in the html it
is set as sidedbar_a (theres an extra d before bar)
Why doesn't the content div show up at the proper width?
What is the proper width?
Why doesn't the content div show up at the proper width?
What is the proper width?
The width of masthead.gif is supposed to be 760px, though it shows up I
think as 750 px, I don't know why.
So the total width of sidebar_a and content should be 760px.
The content is not wrapped by anything
Checkbox is not an element, so you can not use checkbox. Depending on the
browsers you are targetting you could try
input[type=checkbox] { margin-right: 40px; padding-right: 40px; }
-Original Message-
checkbox {margin-right:40px; padding-right:40px;}
It didn't work.
The other method of doing it, without changing the image size, is to set 2px
padding on all sides, and then on :hover set padding to 0 and add the 2px
border.
img.border { padding: 2px; }
Img.border:hover { padding: 0px; border: 2px; }
Simon
In your css styles in the file marsB.css on line 10 you declare the styles
for the h2 tag and set all letters to lowercase with the statement
text-transform: lowercase
Removing that statement will restore the d of 2d to upper case.
-Original Message-
for my site (www.coffeeonmars.com) I