|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Dear experts,
I am scratching my head having an issue with IE7. I recently deployed a website for my friend and received some feed backs from other people regarding the site not working with IE7. Orlando Recycled Materials - Recycled Concrete Aggregate, Asphalt, Stone, Top SoilBefore deployment, I checked with IE6 and Firefox. Obviously I did not test with IE7! Basically only on IE7, texts flow over a picture and tried these methods: <br class="clear" />and did not work. Could anyone give me some pointers, please? Best regards, KazzyOK |
|
|||
|
Basic structure of the site is like this:
<div #main>So some how, #middle clashes into #header.... Last edited by kazzyOK; 12-06-2008 at 06:20 PM. |
|
|||
|
Just throwing this one out there...
HTML Code:
<div> <div> html here </div> <div class="clear"></div> </div> |
|
||||
|
Hi there,
I've got a fix for you. It's just a simple one I worked out for myself which works in your particular situation, however the source of the problem may be a particular IE7 bug for which a global fix is available. But at least this one works for the immediate problem as far as I can tell. Add this to the head of your documents: Code:
<!--[if IE 7]>
<style type="text/css">
#header_tall #main #middle {margin-top:213px;
}
</style>
<![endif]-->
FYI, I selected 213px because that's the height of your picture. But you can obviously change that margin to get the margin and appearance you have in other browsers.
__________________
Jade Burnside, Ahead of the Web What good is your web site if no one can find it? SEO & Optimized Web Site Design |
|
|||
|
Actually, I included it here to demonstrate the additional markup required to contain the clearing div. Clearfix is better contained, and uses less markup.
One thing about IE and floats: position:relative property applied to the selector with the float property makes all kinds of problems go away, including the phantom width problem. You might be able to remove the float from the header by giving the header a fixed height and relative position, then absolutely position the two float items, logo and RSS. |
|
|||
|
This is showing to be quite stable in IE, FF Chrome and Opera
(index.html) line 21, 36, 43 & 45 : remove clearing divs Leave the one at line 70. add below #main in _style Code:
/* add */
#main,
#header { position: relative; }
/* org
#middle { width:100%; }
*/
/* rev */
#middle { width:100%; position:relative; padding-top:190px }
This might be overkill... Code:
/* org
#header_tall { background:url(images/header_tall.gif) top repeat-x; }
*/
/* rev */
#header_tall {
background: transparent url(images/header_tall.gif) repeat-x 50% 0%;
position: relative;
}
Last edited by weegillis; 12-07-2008 at 05:38 PM. Reason: Additional findings |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| dns problem? | Pascal77 | Search Engine Optimization Forum | 3 | 10-23-2006 08:26 PM |
| USB problem | jazzyjoe | The Castle Breakroom (General: Any Topic) | 0 | 07-26-2006 06:23 PM |
| CSS / IE problem... | Orion | Web Programming Discussion Forum | 2 | 06-21-2004 05:02 PM |
| Someone else has to be having this problem, MUST LOOK! | thecrane | Google Discussion Forum | 5 | 06-17-2004 05:39 PM |
| Problem with PR | strangerrr | Search Engine Optimization Forum | 2 | 03-30-2004 10:01 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |