...

View Full Version : Having trouble resizing windows with CSS



onsight
07-14-2005, 10: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.

_Aerospace_Eng_
07-14-2005, 11:09 AM
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.

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

_Aerospace_Eng_
07-14-2005, 11:14 AM
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.

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

thanks for the help

jas



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum