September 1, 200818 yr So here's my problem: I have tried to script a complex webpage layout, and I apparently ended up overusing <DIV> tags and absolutely positioned elements, because after a certain point (I forget exactly how many... it was around 14-19), my browser would simply ignore my commands to absolutely position elements. (NOTE: I am using Firefox 2 and Firefox 3, but I need my website to look the same regardless of browser.) My questions: 1. Is there a maximum to the number of <DIV> tags one can use? 2. Is there a maximum amount of absolutely positioned elements one can use, and if so, how many? 3. Is there any way to get around either of these problems with a different type of scripting? I realize that using absolutely positioned elements for everything is bad scripting. However, floats simply do not work for what I'm trying to make... I've tried.
September 1, 200818 yr 1. No, although too many creates bloated and slow code 2. No, but your can't absolutely position everything 3. Without a link or a screenshot can't see what you're trying to achieve, so can't therefore suggest another way.
September 1, 200818 yr Is it really necessary to have so many absolutely positioned divs? I overcomplicate sometimes - usually the answer is a lot more simple.
Create an account or sign in to comment