Welcome to WebmasterWorld Guest from 174.129.151.95

Forum Moderators: not2easy

Message Too Old, No Replies

IE and issue with position:fixed

   
9:40 am on Nov 10, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



I have to place some banner on the right hand side of display.

As I used CSS code and it works in Mozilla, there is issue with IE as it does not display in the correct way:
.mybanner1 {
position: fixed;
bottom: 7px;
right: 7px;
text-align: center;
}

How to solve this in IE and Mozilla?
5:47 pm on Nov 10, 2011 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Which IE version are you using? Which DOCTYPE are you using?
6:43 pm on Nov 10, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Hi toplisek, good to see you again. From memory you are supporting older versions of ie, so just recall ie<7 does not support position:fixed - which may be the issue. Hence DrDoc asking for versions and doctype.

@DrDoc. What can I say? "Welcome back" sounds like the boarder opening the door to the home-owner! It's just fantastic to see you again, and (metaphorically speaking) the chair with your name on has been empty for too long - please dust it off, make yourself comfortable and stay a while!
7:59 pm on Nov 10, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
8:54 pm on Nov 10, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



I have IE8.