[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 634
  • Last Modified:

Using IFRAMEs inside a DIV tag for alignment

I'm using an image map with targets linked to my IFRAME, and I have my IFRAME within a DIV tag to position it, but the IFRAME won't show up. It works outside the DIV, but not within. Here's my code, can someone tell me whats wrong with it?

<MAP NAME="navbar_Map">
<AREA SHAPE="rect" ALT="Links" COORDS="523,0,581,29" HREF="links.html" TARGET="text">
<AREA SHAPE="rect" ALT="Contact Us" COORDS="430,0,522,29" HREF="mailto:juriousmusic@hotmail.com" TARGET="_blank">
<AREA SHAPE="rect" ALT="Sign The Guestbook" COORDS="308,0,429,29" HREF="guestbook.html" TARGET="text">
<AREA SHAPE="rect" ALT="Audio, Video and More" COORDS="238,0,307,29" HREF="media.html" TARGET="text">
<AREA SHAPE="rect" ALT="Lyrics" COORDS="167,0,237,29" HREF="lyrics.html" TARGET="text">
<AREA SHAPE="rect" ALT="Bio" COORDS="125,0,166,29" HREF="bio.html" TARGET="text">
<AREA SHAPE="rect" ALT="Shows" COORDS="52,0,124,29" HREF="shows.html" TARGET="text">
<AREA SHAPE="rect" ALT="News" COORDS="0,0,51,29" HREF="news.html" TARGET="text">
</MAP>

<DIV style="position:absolute; left:245px; top:207px;>
<IFRAME SRC="news.html" TITLE="Text Area" scrolling="auto" name="sample" width="500"
height="150" align="center" frameborder="yes">
</IFRAME>
</DIV>


Thanks, your help is greatly appreciated!
~Dave~
0
ryderda
Asked:
ryderda
  • 2
1 Solution
 
BrandwoodCommented:
you've missed the closing quotes on your style in the div tag
0
 
firebolt145Commented:
<DIV style="position:absolute; left:245px; top:207px;> (this is the first line in the second paragraph of coding)

You missed out the END QUOTES from the end of the style.

copy this code and paste it over the previous one.

<DIV style="position:absolute; left:245px; top:207px;">


Hope this helps ;)
0
 
BrandwoodCommented:
did I not just say that?
0
 
ryderdaAuthor Commented:
Thanks... that was pretty embarrasing that I didn't notice that on my own, haha.

~Dave~
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now