Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DIV that spans frames?

Status
Not open for further replies.

Vmusic

MIS
Dec 29, 1999
2
US
Hi,
I have a simple site with frames. The left frame is menu and the right is the body, no big deal.
I have an image that I would like to span over both frames. (It's a logo). So the left third of the image would be over the menu frame, and the right two thirds of the image would be over the left side of the body frame. I thought to accomplish this I'd put the image in a DIV. However..... I wasn't able to get it to work.
If I put the DIV code in the menu frame, the image is cut off where the frame ends. If I put the DIV code in the body frame it's positioning is wrong.

?????Has anyone ever created an image that spans appears in more than one frame. (OK, don't tell me to break the image into 2 pieces please) ?????

Thanks,
Vmusic
 
You need to create the 3rd frame, no other options here:

<frameset rows=&quot;10%,*&quot;>
<frame name=&quot;topimage&quot; src=&quot;top.html&quot;>
<frameset cols=&quot;20%,*&quot;>
<frame name=&quot;menu&quot; src=&quot;&quot;>
<frame name=&quot;content&quot; src=&quot;&quot;>
</frameset>
</frameset>

The page top.html will contain your image.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top