Jump to content
  • 0

Резинвая верстка


Frenk Garigan(Gagarin)
 Share

Question

Проблемы с резиновой версткой,

Когда пишу ввожу текс, в Опере элемент див увеличивается вот код javascript

function winResize () { 
vline1.style.height = body.clientHeight - 65;
hline1.style.width = body.clientWidth - 165;
hline2.style.width = body.clientWidth - 180;
hline3.style.width = body.clientWidth - 20;
hline3.style.pixelTop = body.clientHeight - 21;

content.style.height = body.clientHeight - 161; // Здесь проблема! текст ходит вниз, и прячется под "copy".
//Что делать?
content.style.width = body.clientWidth - 365;
title.style.width = body.clientWidth - 165;
news.style.height = body.clientHeight - 161;
copy.style.width = body.clientWidth - 170;
copy.style.pixelTop = body.clientHeight - 18;
}

function init() {
window.onresize = winResize;
winResize();
}

{...перенесено в JavaScript kiD}

предупреждение

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy