zdravim,
mam takovy problem:
podporda min-wlidth v IE7 sice je, ale spatna .. pri pouziti se blokovy element roztahne pres celou obrazovku ale ne na nastavenou hodnou a tu pak pri pretekani obsahu roztahuje tak jak je u FF2, 3, opera, safari ..
nevedel by nekdo jak dosahnout toho, aby IE7 chapala min width tak jak ma ?, tj: stejne jako vsechny ostatni moderni prohlizece
googlil jsem, ale nic co by mi pomohlo jsem nenasel ... snad bude nekdo vedet ..
Fórum › CSS
Spravne chovani min width u ie7

podmineny komentar samozrejme pouzivam .. vsechny prohlizece krome IE7 (IE6 me v tuhle chvili nezajima) funguji spravne .. mam drobeckovou navigaci a potrebuju aby se u ni na width roztahovalo pozadi ... u FF a ostatnich vse v pohode, ale IE7 se chova tak ze min width roztahne na 100% stranky a tim to hasne ..
tak jsem na to dosel, napisu jak .. muze se to nekomu hodit:
vychazel jsem z tohohle: http://css.interval.cz/clanky/min-width-bez-javascriptu-ci-expressions-i-pro-msie/
dale jsem pocital s tim ze potrebuju mit min-width na 100px tak jsem i tak nastavil a dale jsem potreboval width na 10% .. to je jedna vec, pro zmenseni na minimalni hodnotu .. dale bylo potreba aby text nelezl za okraj takze overflow pryc - z tohoto nastal problem ze obsah elementu zacal pretekat, tohle se dalo resit jedine height .. je to sice neefektivni ale jedine funkcni reseni .. clear nezmohl nic .. a potom do tretiho vnoreni div vlozit napr. do odstavce text se standardnima mezerama .. u tohoto se text stale zalamuje a tady pomohla posledni deklarace white-space s hodnotou nowrap .. timto by se to dalo resit .. ie7 timto zacali normalne chapat min-width ..
hlavni zamer byl vytvorit drobeckovou navigaci v levem vrchnim rohu a aby se obal automaticky roztahoval na delku pri pridani dalsiho textu .. mozna to neni zrovna moc efektivni postup, ale zatim jediny ktery fungoval tak jak jsem potreboval ..

Přidej příspěvek
Ano, opravdu chci reagovat → zobrazí formulář pro přidání příspěvku
×Vložení zdrojáku
×Vložení obrázku
×Vložení videa
































Uživatelé prohlížející si toto vlákno
Podobná vlákna
IE nerozumí % a nereaguje na width? — založil Algon
Gtk_window_resize: assertion `width > 0' failed — založil jupiik
IE7 — založil jozo0025
IE7 problém s ul li — založil Hacky
Moderátoři diskuze