Solved

Using IFRAMEs inside a DIV tag for alignment

Posted on 2004-03-25
4
616 Views
Last Modified: 2008-02-26
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
Comment
Question by:ryderda
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
Brandwood earned 125 total points
ID: 10678455
you've missed the closing quotes on your style in the div tag
0
 
LVL 1

Expert Comment

by:firebolt145
ID: 10680833
<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
 
LVL 1

Expert Comment

by:Brandwood
ID: 10680860
did I not just say that?
0
 

Author Comment

by:ryderda
ID: 10681424
Thanks... that was pretty embarrasing that I didn't notice that on my own, haha.

~Dave~
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Open dialog with server side controls in it 3 57
Boolean 13 48
Display Flex does not Wrap Items 2 46
Div not showing up 6 32
Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question