PDA

View Full Version : Side bars size, in html (or javascript?)



Myung
January 25th, 2009, 07:40 AM
Hi There!

I'm trying to make a header DIV with 3 part, from left to right:
1. left side (div)- including backgroung image, right aligned
2. center part (div) - including header content, constant size of 800px
3. right side (div) - including backgroung image, left aligned

I want the sides to resize so that they fill the gaps between the center part and the borders of the browser, and when the browser is too small - they just hide, and the center part goes to the h-center of the page.

How can I do that?

TNX