Forum Moderators: open

Message Too Old, No Replies

How to align an image and an iframe?

         

BootySlap

6:29 am on May 29, 2003 (gmt 0)

10+ Year Member



How would I go about aligning an image on the left of an iframe (which has been positioned absolutely and centered on the screen) so they are touching?

I want to try to do it without absolutely positioning the image as it is off by a few px in different browsers.

Thanks.

papabaer

12:40 pm on May 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Make sure your "iframed" page uses the following CSS:

body {
margin: 0;
padding: 0;
}

You can also consider the use of a background image for your iframe page..