tiptoe
08-01-2012, 11:30 AM
Hi, I had a vision of a background that would be stretching and shrinking according to the size of the window. The background wouldn't be represented by image or photo, but by colored stripes created by HTML/CSS code. Using CSS I couldn't figure it out, and eventually I managed it somehow using tables and CSS, but it doesn't work in older versions of IE. Is there anybody who would know, how to do this better?
Example:
http://www.jiristary.cz/test
Basically it is just about how to create three vertical DIVs side by side. All with 100% height, the middle with a fixed width and centered on the middle and the other two on the sides, which would exactly fill the remaining width to 100%.
Example:
http://www.jiristary.cz/test
Basically it is just about how to create three vertical DIVs side by side. All with 100% height, the middle with a fixed width and centered on the middle and the other two on the sides, which would exactly fill the remaining width to 100%.