Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Buttons & CSS

 
   Soft32 Home -> Mac -> Browsers RSS
Next:  No Mac Browsers on McKesson-based hospital site  
Author Message
Mark Rae

External


Since: Sep 23, 2006
Posts: 139



(Msg. 1) Posted: Tue Sep 05, 2006 4:24 am
Post subject: Buttons & CSS
Archived from groups: comp>infosystems>www>browsers>mac (more info?)

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
Back to top
Login to vote
Display posts from previous:   
       Soft32 Home -> Mac -> Browsers All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
  Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]