Zdravim, aplikoval jsem nasledujici stylovy predpis : .sample1 { background-color : #dadada; margin : 0px; border : 10px solid black; padding : 20px; width : 210px; voice-family : "\"}\""; voice-family : inherit; width : 150px; } .sample2 { background-color:#cacaca; } a HTML : <div class="sample1">nejaky text</div> <div class="sample2">nejaky text</div> Problem spociva v tom, ze IE 5.0 (a mozna i IE 5.5 - nemel jsem moznost testovat) naprosto ignoruje styl sample2. Jedine reseni je prohodit poradi stylu, tzn., ze Tantekuv CSS hack musi byt az na samotnem konci styloveho predpisu. IE 6.0 se s tim dokaze vyporadat spravne. Pokud se ale ma tato matrjoska aplikovat na vice nez jeden DIV blok, pak se tento trik dle meho nazoru ve vyse zminenem(ych) browseru(ech) stava nepouzitelnym, jelikoz prohlizec jednoduse nenacte dalsi styly za voice-family : "\"}\"";. Mel nekdo problem tohoto druhu a jak ho resil? Mam za to, ze nezbyva, nez se uchylit k reseni "box v boxu"... Dodavam, ze nemam v tuto chvili pristup k netu, takze rady typu "googluj", mi prilis nepomohou. Terr ***************************************************************************** This document should only be read by those persons to whom it is addressed and is not intended to be relied upon by any persons without subsequent written confirmation of its contents. Accordingly, Rieber & Son disclaim all responsibility and accept no liability (including negligence) for the consequences for any person acting, or refraining from acting, on such information prior to the receipt by those persons of subsequent written confirmation. If you have received this E-mail message in error, please notify us immediately by telephone. Please also destroy and delete the message from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this E-mail message is strictly prohibited. Rieber & Son ASA postmaster@rieberson.no Bergen, Norway *****************************************************************************Received on Thu, 10 Jun 2004 09:09:54 +0200
This archive was generated by hypermail 2.1.8 : 10. 06. 2004, 09:09 CEST