0

Hello,
I'm another newbie. I've been trying to create my site using css rather than tables and frames and I'm almost there.

My page consists of a content area with an image wrapped around it. I've broken the image into divs as follows:

<div id="wrapper">
  <div id="header">header image here</div>
  <div id="navigation"> 
    <4 rollover images each with target="ContentiFrame"> 
  </div>
  <div id="content">
    <iframe id="contentiframe" name="ContentiFrame" src="home.html"></iframe>
  </div>
  <div id="footer">footer image here</div>
</div>

In order to get the content div nested to the right of the navigation div, I've included "float=left" in the CSS styles for both.

The draft is here: http://www.yourpetstale.com/yourpetstale/TEST4/

The problem is when I resize the browser window - the iframe repositions below the navigation div.

Can anyone suggest a way to avoid this from happening (even if the right hand side of the browser cuts off the content)...
Thanks
Tony.

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by MidiMagic
0

That's the nature of div.

The only way I can think of is to place something with an absolute width on the screen. It must be wide enough to activate the horizontal scrollbar when the browser window is small enough to cause the div stacking.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.