noy1213 — 2010-11-18T09:53:03-05:00 — #1
i have a weird problem
when i put a long text in my content div everything looks fine
but if i put just 1line the problem show up
the best way to show you my problem is to present 2 html pages, with same css and same images files the only different is in the inner div (the text)
help me please
gillian — 2010-11-18T10:54:04-05:00 — #2
I've not fully tested this but i noticed that the negative margin is causing some layout issues, try removing it. The code is in your 'main2.css' file , line 235.
Hope that helps
noy1213 — 2010-11-18T11:22:29-05:00 — #3
youre right the margin is the problem but its must.
i found a js solution for min 261px height (inner div)
divh = document.getElementById('inner').offsetHeight;
if (divh < 261)
document.getElementById('inner').style.height = 261+'px';
if someone have a better solution i will be happy to hear