Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Browsers > Buttons & CSS
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 286 of 351
Post > Topic >>

Buttons & CSS

by "Mark Rae" <mark@[EMAIL PROTECTED] > Sep 5, 2006 at 09:24 AM

Hi,

I have a Mac Mini running MacOSX 10.4.7 which I use primarily for 
cross-platform website testing.

There seems to be an inconsistency with the Safari and Camino browsers in 
the way the handle (or, rather, don't handle) styles in cascading style 
sheets for <input type="button"> tags.

Example

I have the following style set up in a cascading style sheet:

..focusButton
{
    background-color:#addfff;
}

And in a standard webpage, I have the following HTML:

<input type="button" id="cmdLogin" value="Log in" class="focusButton" 
onclick="siteLogin();" />

You can view this live here: http://www.sanctuaryrig.co.uk
(click the logo

to enter the site, the button in question is in the top right-hand corner)

This works perfectly in FireFox, Netscape, Opera, Mozilla and SeaMonkey,
all 
of which show the button with the light-blue background colour.

However, in Safari and Camino, the button's background is not modified. Is

this a known issue specifically with those two browsers?

Any assistance gratefully received.

Mark
 




 1 Posts in Topic:
Buttons & CSS
"Mark Rae" <  2006-09-05 09:24:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 18 20:22:25 CDT 2008.