rupert160 Posted July 6, 2006 Share Posted July 6, 2006 hello all,does any body have a good reference to ensure a top centered <img> will float above two floated left and right <div>'s when the window resizes smaller? eg; +----------+ +----------+ +--------+| | | <img> | | || | +----------+ | || | | || <div> | | <div> || | | || | | || | | |+----------+ +--------+ +---------+ | | +---------++--------+ +-------+| | | || | | || | | || | | || | | || | | || | | |+--------+ +-------+ +---------+ | | +---------++-------+ +-------+| | | || | | || | | || | | || | | || | | || | | |+-------+ +-------+ The reason is that the image floats under and the div's get control. <img>generally goes under not over. Thanks guys! Link to comment Share on other sites More sharing options...
zanfranceschi Posted July 6, 2006 Share Posted July 6, 2006 I THINK this is impossible with CSS, because the elements on the right side are the ones which tend to go down when the available area is squeezed.You could try some very intricate javascript code to do this, but i don't think this is worth. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now