View Full Version : Having trouble resizing windows with CSS

07-14-2005, 11:53 AM
:) Having trouble resizing windows so that all boxes and webpage contents resize with the window, what would be the CSS code I am missing?
site: www.sustainablewanaka.co.nz

css for this is above address + /css/contents.css

any ideas are very much appriciated.

07-14-2005, 12:09 PM
You would more than likely based on your layout have to lose the absolute positioning. Its almost never necessary to use absolute positioning in a layout unless you are going for a 'layered' effect.

07-14-2005, 12:12 PM
Would this mean repositioning all the floating boxes below the middle section?

07-14-2005, 12:14 PM
More than likely see thing is, you can't float an absolutely positioned element, ones its absolutely positioned, thats it, it stays where you tell it to stay, the float will no longer work, and items around it ignore it so it thinks that it doesn't even exist. Absolute positioning takes elements out of the original flow of the document.

07-14-2005, 12:16 PM
I'll try with the z-index and see if that suits, and repos with out absolutes.

thanks for the help