The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> iframe alignment problem - please help!
pjvincent2097
post Jul 2 2008, 05:00 AM
Post #1





Group: Members
Posts: 2
Joined: 2-July 08
Member No.: 6,044



Hello. Hopefully someone can help me, as I'm starting to pull my hair out!

I'm using an iframe to integrate a blog into my website:

http://www.zones1to6.com/z_announcements.html

This aligns perfectly well in Internet Explorer 7, but not in Opera or Firefox. However, on the other pages of my site (where I have also used iframes, in exactly the same manner, just not containing a blog), alignment is fine across all browsers. Can anyone help resolve this? I guess it is a problem with my blog rather than the HTML code, but I'm really not sure.

All the best

Paul
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Tom H.
post Jul 2 2008, 07:20 AM
Post #2


Advanced Member
****

Group: Members
Posts: 129
Joined: 24-August 06
Member No.: 14



Can you describe the alignment problem? I don't see any significant difference using different browsers.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 2 2008, 09:35 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Me neither. You may want to use a background color though. Not everyone sets their browser's background to white. wink.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pjvincent2097
post Jul 2 2008, 10:43 AM
Post #4





Group: Members
Posts: 2
Joined: 2-July 08
Member No.: 6,044



Thanks for the heads-up re: the background colour.

The alignment problem, if you compare IE to Opera, for instance, is that the contents of the iframe is higher in Opera than IE (i.e. "Thursday, 26 June 2008" is not aligned with the top of the logo in Opera, but it is in IE).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 2 2008, 11:21 AM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Have you tried to use marginwidth and marginheight?
http://www.htmlhelp.com/reference/html40/special/iframe.html

BTW vspace isn't an attribute for iframe.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 08:06 AM