PDA

View Full Version : iframe code help!


Popkurn611
06-10-2009, 05:07 PM
Hi All,

Heres my website: www.stuffwhy.com/hosted/jkurnit (fully views on firefox only)

I have an iframe on my "Designs" page when you click on a topic on the left side, the iframe opens on the right. I would like the width of my iframe to be larger and extend all the way to that beige bar on the left but when I made the width larger, it only widens the right side of the iframe which throws it off the 800 pixel width of my whole site. So I want the iframe to remain in that burgundy color area not extending outside of it. Can someone please provide me with the correct CSS code in order to make this successful.

PS. Right now my live site the iframe is fine, I just want to extend the width from the left side of the frame to extend to the beige bar.

PLEASE HELP!

coloeagle
06-10-2009, 06:23 PM
Adjust your left positioning in the layer1 id.

<side note>
You should look at using divs for your layout and not tables. Youwill have more flexibility by doing so.
</side note>

Popkurn611
06-10-2009, 06:37 PM
Thank you, by jadjusting my layer1 it will move my iframe though?

coloeagle
06-10-2009, 06:44 PM
Yes as this is the positioning rule for the iframe