Forum Moderators: not2easy

Message Too Old, No Replies

Mozilla vs IE vs Others.. where do I find....

I'm looking for some information sites or anyone?

         

Bane_Star

7:39 am on Aug 11, 2004 (gmt 0)



Ok, I'm fairly new to CSS, I like it, but the lack of browser support is rather annoying,

So my question; Is there some place that lists ALL the IE CSS syntax && the corresponding Mozilla/netscape syntax, && any possible other Main browsers so that I can make my site as effective for as many users as possible?

If NOT, can anyone help me with my instant problem, to get the submit button to change colours & background images for Mozilla...

silk

9:42 am on Aug 11, 2004 (gmt 0)

10+ Year Member



If u want to change colors and background with the submit button, then u want to use javascript. Javascript can access and change the values of html elements.

So maybe try a function like :

function changeColor(someElement, someColor){
someElement.style.background-color = someColor;
}

call this function with the element and the color...

goodluck....

Span

10:39 am on Aug 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Bane_Star, welcome to the forums.

Change colors and background image with CSS:
(input.submit:hover does not work in IE)

form input.submit {
border:1px dotted black;
background:black url(test.jpg);
font:15px verdana;
color:red;
}

form input.submit:hover {
border:1px solid red;
background:white url(test2.jpg);
font:15px geneva;
color:green;
}

<input type="submit" value="Submit this now" class="submit" />