On 8/5/11 10:41 AM, Howard E. A. (Tony) Tinsley wrote:
The site I am developing is only my third site. It is the first site in
which I am using percentages so that the text and images expand and
contract when zooming in and out. I am trying to "perfect" the home page
to use as a model for the other pages so the links are not yet active
and the content is primarily placeholders.

Both the markup and css validate but two significant problems and
several minor problems are apparent when viewing the site using Firefox
and Safari. I am hoping that someone can help me find solutions.

1. When the width of the content exceeds the size of the window, either
because of zooming in or resizing the window, the right column moves
down under the left sidebar. I want the columns to retain their
positions and a horizontal scroll bar to appear at the bottom of the
window. I tried adding an overflow statement but perhaps I did it wrong
or placed it in the wrong place.

2. The same phenomenon occurs when the window is resized to become quite
narrow. I tried specifying a min-width for the wrapper, container and
mainContent divs but the problem persists.

The site can be viewed at:
http://academyofleisuresciences.com/alsDev/index.html

The css can be viewed at:
http://academyofleisuresciences.com/alsDev/css/main.css


To get you started, try altering the rule for #maincontent -

/* float: left; <- delete */
/* min-width: 300px; <- delete */
/* width: 63%; <- delete */
overflow: hidden; /* <- add */

Also add _height: 1%; for IE6, if you need to.

For more on this technique, see:
http://www.ez-css.org/
--
Cordially,
David


______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to