[cssdesign] Problemi Mac OSX sfondo input type radio
Alex
alex a arci-passepartout.org
Mar 13 Dic 2005 11:53:41 CET
Alex ha scritto:
> Ciao a tutti,
>
> come da oggetto, non riesco a dare un colore di sfondo agli input
> type="radio" con css per IE mac (ver 5.2) ....
Problema risolto, è un baco di IE per mac, riporto qui la soluzione
trovata in rete:
******************************
Problems with forms and form elements.
Background–color inheritance.
When a radio button and a check box follow a textfield which has some
background-color:value declared in the same block element <td> or <p>,
they inherit the background– colour of the text–field; see this sample
(including a screenshot). This only happens on Mac OS X, all versions of
IE5.x.
Update: the problem seems more widespread. I've now seen radiobuttons
and checkboxes inherit the background–colour from block level elements
higher up in the mark–up.
fonti: http://www.l-c-n.com/IE5tests/forms/
******************************
In sostanza .... il colore di sfondo dell'input è ereditato dal
contenitore padre, quindi se voglio un determinato colore di sfondo per
l'input ... lo devo mettere nel contenitore padre.
ciao
Alex
Maggiori informazioni sulla lista
cssdesign