A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Page Layout Challenge
Joined: Nov 16, 2004
Mar 12, 2013 20:36:52
I hope you cannot get banned from this forum for elementry questions but I am at one of my many impasses.
I have a (child)div container on my main page set to float left and 99% width(of the parent page).
Whithin this container I have a div container float left with a width of 170px and a second div container float left with a width of 85%.
This all looks good when screen is at max but when I start to size the screen down the div container set at 85% will move from the right side of the screen to under the div container set to 170px.
I realize what is happening is the % div container is set to 85% of the child container.
Is there some solution for this? How can I make the 85% div container use only the portion of the child container that the 170px width div container is not using?
Marshal, how long will I be locked up fer?
Author and ninkuma
Joined: Jan 10, 2002
Mar 12, 2013 22:29:31
It'd likely be best to try and explain what you are trying to achieve rather than how you are doing it. All these floats may not be necessary. But it's hard to tell.
Asking smart questions
Books by Bear
Joined: Nov 08, 2001
Mar 13, 2013 07:20:18
AKA make a
of the code running.
I agree. Here's the link:
subject: Page Layout Challenge
Keeping DIV tags Displayed Correctly
jQuery drag and drop of divs
div element problem
CSS & DIV relative alignment
div layout problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015