jam Posted September 8, 2005 Report Posted September 8, 2005 (edited) Paskat sho <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Blank</title> <style> body { margin: 0; padding: 0; background-image : url(img/bck.gif); text-align:center; font-size:80.5% } table.cent { width: 100%; height: 100%; } table.cent td.cent { vertical-align: middle; text-align: center; } #container { margin: auto; width: 380px; height: 584px; text-align: left; } div.grey { background-color:#808285; } div#teksts{ position: relative; top:50px; left:50px; width:300px; height:150px; overflow-y:scrolll; border: 1px solid black; background-color:red; } </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head> <body> <table class="cent"><tr><td class="cent"> <div id="container" class="grey"> <div id="logo"></div> <div id="teksts"> Pa vertik─üli n─ō, pa horizont─üli j─ü </div> </div> </td></tr></table> </body> </html> Kad ar IE skatoties resaizo log pa vertikali, tas sarkanais divs paliek kur bijis, kad refresho jau resaizotu IE logu, divs nostajas, kur vajag. Ar FF viss ir ok, bet ar IE nea. Kapec? Edited September 8, 2005 by jam
jam Posted September 9, 2005 Author Report Posted September 9, 2005 Paskat sho <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Blank</title> <style> body { margin: 0; padding: 0; background-image : url(img/bck.gif); text-align:center; font-size:80.5% } table.cent { width: 100%; height: 100%; } table.cent td.cent { vertical-align: middle; text-align: center; } #container { margin: auto; width: 380px; height: 584px; text-align: left; position: relative; [B]<- shito vajadzeeja[/B] } div.grey { background-color:#808285; } div#teksts{ position: relative; top:50px; left:50px; width:300px; height:150px; overflow-y:scrolll; border: 1px solid black; background-color:red; } </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head> <body> <table class="cent"><tr><td class="cent"> <div id="container" class="grey"> <div id="logo"></div> <div id="teksts"> Pa vertik─üli n─ō, pa horizont─üli j─ü </div> </div> </td></tr></table> </body> </html> Kad ar IE skatoties resaizo log pa vertikali, tas sarkanais divs paliek kur bijis, kad refresho jau resaizotu IE logu, divs nostajas, kur vajag. Ar FF viss ir ok, bet ar IE nea. Kapec? 22020[/snapback] ATRISINĀTS
Recommended Posts