Re: [css-d] To pass javascript argument to css?

2008-05-07 Thread STiplady | Mailing Lists
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.

Re: [css-d] Background Color doesn't show up

2008-04-22 Thread STiplady | Mailing Lists
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?

Re: [css-d] Background Color doesn't show up

2008-04-22 Thread STiplady | Mailing Lists
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

Re: [css-d] checkbox margins

2008-04-16 Thread STiplady | Mailing Lists
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.

Re: [css-d] Creating inner border on hover

2008-04-02 Thread STiplady | Mailing Lists
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

Re: [css-d] How to keep Caps Caps?

2008-04-02 Thread STiplady | Mailing Lists
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