redwall_hp Posted November 28, 2007 Share Posted November 28, 2007 I've been working on an old website, mainly re-creating the design with CSS (it had been table based before). I'm having a really weird problem though. Here are two screenshots, both taken in IE7:The first image is the way it is supposed to look, and the second is nowhere near.Nothing has changed between the screenshots, I just hit refresh. It just happens randomly (of course, it's fine in Firefox). What's going on? How can I fix it?Here it is live: http://www.siteofrequirement.com/misc/sr4/ Link to comment Share on other sites More sharing options...
Ingolme Posted November 29, 2007 Share Posted November 29, 2007 It's not random for me, I always see it out of place.I believe that in Internet Explorer the div, being a block element, automatically places itself on a new line.You could try either of two things (I cant assure any of them will work right):#random-quote {width:200px;left: 560px;position:absolute;top:30px;}#random-quote {width:200px;float: rightposition: relative;top:30px;} Link to comment Share on other sites More sharing options...
redwall_hp Posted November 29, 2007 Author Share Posted November 29, 2007 Thanks, that fixed it (I used something similar to your first block of CSS). I didn't put the fixed thing up in the online demo directory I posted, but it's working flawlessly on my local machine.Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.