View Full Version : Problem


xBird
06-18-2005, 07:49 PM
Link to problem: http://www.freewebs.com/monkey-food/home.htm

Okay, I need to make THAT LITLLE box appear in my layout but I don't know how.

I also want all of my pages to appear in that little box..

can anybody help?

Hesacon
06-18-2005, 07:56 PM
I'm not sure if this is the problem, but you end you table tags outside where you ended your html tag.

[Edit: Nevermind, this should probably go with FRAMES though.]

Valkyrie
06-18-2005, 08:18 PM
First, position an iframe over the image map, in the spot you want your content to appear, and then make sure to target the links to your iframe by adding the target="main" to the link codes in the map.

<iframe name="main" src="main.html" height="#" width="#" scrolling="auto" frameborder="0" style="position: absolute; top: # px; left: # px;"></iframe>

Change the stuff in bold to your own and to get it the iframe in the exact position you want you may want to play with the numbers (top and left) .
Also, if you change the iframe name, make sure it matches the target name, or else your links won't open in the iframe.

Valkyrie
06-18-2005, 08:26 PM
Time ran out to edit. >_<

I just realilzed you already have an iframe, so just add the last part of the coding I have in the iframe (the style="....." part) to your frame, then just adjust the numbers to get the iframe in the position you want it.

Monkey Bizzle
06-18-2005, 08:41 PM
there are still some problems with your code... the basic structure of an HTML document is:

<html>
<head>
<title></title>
CSS stuff here
</head>
<body>
Content Here.
</body>
</html>

You have more than one set of the opening tags and you have tags after the </html> tag... Also, you forgot to close some of your tags... I use FF and your iframe isn't positioning even tho you have it positioned because you have 110 px... it should be 110px without the space in between.

xBird
06-18-2005, 08:44 PM
I'm getting to mad right now and I'm jist SICk of this... I just want it positioned in the RIGHT place I don't want to do it because I'll lean from it but right now NO I don't I just want it there.

Does anyone have the correct code for the whole thing?

I want the layout centered.

The white box in that box on the layout.

and for all of my pages to work in that little box.

Now, can anyone hellppppp mee!! I'm begging now, please.

Monkey Bizzle
06-18-2005, 08:48 PM
chill out!!!

the reason why it keeps moving is because you are absolutely positioning your iframe but not your image...

and because you have spaces between your values...

xBird
06-18-2005, 08:50 PM
How do I position my image then?