[Typo3-german] mal wieder Formatierung newloginbox und IE
Jochen Rieger
j.rieger at connecta.ag
Fri Dec 2 10:58:06 CET 2005
Hi Dirk,
der IE versteht
input[type=button]
soweit ich weiß nicht. Wir verwenden diese Art der Attribut-Zuweisung
sogar quasi als "Hack", wenn wir mal andere Werte benötigen für IE bzw.
für den Rest der Browserwelt.
Ich denke, die beste Lösung für Dich wäre, den einzelnen INPUT Tags
individuelle Klassen oder ID's zuzuordnen. Und dann kannst Du die danach
stylen und es funktioniert in allen Browsern.
<input type="submit" ... class="newlogin-submit">
<input type="radio" ... class="newlogin-radio">
etc.
und dann eben im CSS:
input.newlogin-submit,
input.newlogin-radio {
border: 1px;
...
}
Hoffe, das hilft.
Beste Grüße aus Wiesbaden,
Jochen
Dirk Völlger wrote:
> Hallo,
>
> ich schaffe es noch immer nicht, meine newloginbox per css so zu
> formatieren, daß die Formatierungen auch im IE übernommen werden. Ich
> fügte in meine css folgendes ein:
>
> input,input[type=button],input[type=reset],input[type=select],input[type=radio],input[type=file]{
> border:solid 1px #000000;
> font-family: Arial, sans-serif;
> font-size: 0.8em;
> background-color:#ffc500;
> color: #000000;
> width:100%;
> }
>
>
> Das funktioniert im FF gut aber eben nicht im FE. Also versuchte ich es
> mit
>
> FORM TABLE TR TD { padding-left: 5px; padding-right: 20px; }
> FORM TABLE TR TD.csc-form-labelcell,
> FORM TABLE TR TD.csc-form-commentcell { background-color: #D8D7DC; }
> FORM TABLE TR TD.csc-form-fieldcell { background-color: #EDEBF1; }
> FORM TABLE TR TD.csc-form-fieldcell INPUT,
> FORM TABLE TR TD.csc-form-fieldcell SELECT,
> FORM TABLE TR TD.csc-form-fieldcell TEXTAREA { border: 1px solid #333333; }
> FORM TABLE TR TD.csc-form-labelcell P.csc-form-label-req
> { font-weight: bold; }
> FORM TABLE.csc-mailform TR TD.csc-form-labelcell { }
>
> Dies ist die Formatierung für Formulare wie auf http://www.mcuniverse.com/05/Mail.76.0.html beschrieben.
>
> Wenn ich jetzt Zeilen einfüge wie:
>
> FORM TABLE TR TD.csc-form-fieldcell INPUT[type=submit] etc. änderte
> dies nur wieder die Formatierung des mailforms, nicht aber der login-felder.
> Wie kann ich das lösen bzw, wie kann ich die newlogin-box IE-kompatibel formatieren?
>
> Danke
>
> dirk
>
--
:: innovative it-strategies ::
:: ::
:: www.connecta.ag ::
More information about the TYPO3-german
mailing list