Click to See Complete Forum and Search --> : Problem with DIVS


SZero
02-25-2008, 01:43 PM
hi every1
i use DIV to add some left and right borders to the page, here's wut i use:

<div style="background: url(templates/subSilver/banr.gif) repeat-y right top; padding: 0; margin: 0">
<div style="background: url(templates/subSilver/banl.gif) repeat-y left top; padding: 0; margin: 0">

<DIV style="margin-left: 32px; margin-right: 32px; width:100%">
PAGE
</DIV>

it works fine on full resolution, but when i resize the page the borders are sent to the back of the page and become in the middle, any idea y this happen or how 2 fix it?

SZero
02-25-2008, 01:48 PM
problem solved, i used float left and right ;)