Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Absolute Image Positioning in FF3.5 vs IE8

Reply
Thread Tools

Absolute Image Positioning in FF3.5 vs IE8

 
 
Eris of Stronghold [STRM]
Guest
Posts: n/a
 
      10-01-2009
at http://www.strm.us/cpg14x/index.php

I have the following code (partial excerpt)

<div id="container" style="position: relative">
<span style="position: relative; left: 0; top: 0; z-index: 1">
<iFRAME name="RandomPicture" src="http://www.strm.us/header.php"
width="899" height="122"

right:0px; bottom:0px; marginwidth=0 marginheight=0 frameborder=0
scrolling=no></iFRAME>
</span>
<span style="position: absolute; left: 10px; top: 35px; z-index: 2;">
<h1>{GAL_NAME}</h1>
<h3>{GAL_DESCRIPTION}</h3>
</span>
</div>

Works fine in FF, but IE does not respect the relative container.
I am sure it is something simple ** Banging head on keyboard **

Any suggection to make this cross browser friendly?

Thank You,
Mike
 
Reply With Quote
 
 
 
 
Mike
Guest
Posts: n/a
 
      10-01-2009
On Sep 30, 9:53*pm, "Eris of Stronghold [STRM]" <(E-Mail Removed)>
wrote:
> athttp://www.strm.us/cpg14x/index.php
>
> I have the following code (partial excerpt)
>
> <div id="container" style="position: relative">
> <span style="position: relative; left: 0; top: 0; z-index: 1">
> <iFRAME name="RandomPicture" src="http://www.strm.us/header.php"
> width="899" height="122"
>
> right:0px; bottom:0px; marginwidth=0 marginheight=0 frameborder=0
> scrolling=no></iFRAME>
> </span>
> <span style="position: absolute; left: 10px; top: 35px; z-index: 2;">
> <h1>{GAL_NAME}</h1>
> <h3>{GAL_DESCRIPTION}</h3>
> </span>
> </div>
>
> Works fine in FF, but IE does not respect the relative container.
> I am sure it is something simple ** Banging head on keyboard **
>
> Any suggection to make this cross browser friendly?
>
> Thank You,
> Mike


Never mind. . .
found a rogue border:0px; on the parent element that did not belong

Thanks,

Mike
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ie8!=ie8 cecile Javascript 2 05-24-2010 09:04 AM
Re: Advantages of IE8/64 over IE8/32 PA Bear [MS MVP] Windows 64bit 0 08-17-2009 09:43 PM
Master Pages & relative/absolute positioning? Fred Nelson ASP .Net 1 02-21-2006 12:51 PM
absolute, relative, not set, static positioning ?????? Rob R. Ainscough ASP .Net 2 02-07-2006 07:32 PM
asp.net multi-page printing & absolute positioning John A Grandy ASP .Net 0 11-17-2004 05:22 AM



Advertisments