Patrick, don't spend any time on this, I think I've got it sorted. I'm
deleting the images from my ftp. I needed to move the images in 6
pixels from the edge of the window for some reason. Now that I've done
that, they display properly. They aren't exactly in the corners
anymore, but they might look better even discounting the distortion.
For anyone who faces the same issue, here is the relevant code:
[style]
#border_left { position: fixed; left: 0px; top: 0px; bottom: 0px; width:
6px; background: #442200; }
#border_top { position: fixed; left: 0px; top: 0px; right: 0px; height:
6px; background: #442200; }
#border_right { position: fixed; top: 0px; right: 0px; bottom: 0px;
width: 6px; background: #442200; }
#border_bottom { position: fixed; left: 0px; bottom: 0px; right: 0px;
height: 6px; background: #442200; }
#corner_tl { position: fixed; top: 0px; left: 0px; height: 50px; width:
50px; margin: 6px 0px 0px 6px; }
#corner_tr { position: fixed; top: 0px; right: 0px; height: 50px; width:
48px; margin: 6px 2px 0px 2px; }
#corner_bl { position: fixed; bottom: 0px; left: 0px; height: 48px;
width: 50px; margin: 2px 0px 2px 6px; }
#corner_br { position: fixed; bottom: 0px; right: 0px; height: 48px;
width: 48px; margin: 2px; }
img.corner_graphic { height: 44px; width: 44px; }
[body]
<div id="corner_tl"><img class="corner_graphic"
src="images/cc_cg_tl.gif" alt="" /></div>
<div id="corner_tr"><img class="corner_graphic"
src="images/cc_cg_tr.gif" alt="" /></div>
<div id="corner_bl"><img class="corner_graphic"
src="images/cc_cg_bl.gif" alt="" /></div>
<div id="corner_br"><img class="corner_graphic"
src="images/cc_cg_br.gif" alt="" /></div>
Good lord what a pain in the ass that one was. One small window's worth
of code and it ended up sucking up two full days...
Anyway, thanks for trying to help.
Drek
Crazy Canucks wrote:
> I should add, the motd works perfectly in a normal IE browser window.
> It's only in game that I have the problem with the images being offset.
> I can only guess that IE uses a different browser engine for that kind
> of functionality. Maybe one that is based on older code because I know
> from doing some research that others have had this same problem with
> older versions of IE.
>
> Drek
>
> Crazy Canucks wrote:
>
>> *link to images*
>> <http://www.crazy-canucks.com/images/public/motd_corner_images.zip>
>>
>> Thanks, you don't know how much I appreciate this.
>>
>> I wasn't originally positioning the body. I did that so I could change
>> the positions for the images from fixed to absolute. I had no better
>> luck with fixed posistions. Both the code and the css validate. At
>> that point I wasn't concerned with it being pretty or optimized, I was
>> just trying to get it to work.
>>
>> Just in case the link above doesn't work:
>>
>> http://www.crazy-canucks.com/images/public/motd_corner_images.zip
>>
>> Drek
>>
>> Patrick Shelley wrote:
>>
>>
>>> Without loading this into dreamweaver, i'd try adding px to ALL your
>>> measurements:
>>>
>>> #border_left { position: absolute; left: 0; top: 0; bottom: 0; width:
>>> 6px; background: #442200; }
>>>
>>> Should read:
>>>
>>> #border_left { position: absolute; left: 0px; top: 0px; bottom: 0px; width:
>>> 6px; background: #442200; }
>>>
>>> I aslo wouldnt bother with positioning the body in css. I'll load it up in
>>> DW later, send me a lin to the images also if poss
>>>
>>> Pat
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>>
>>>
>>>
>>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
>>
>>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux