简体   繁体   中英

css alignment breaks in ie7 but works elsewhere

Please see this page: https://tjandpals.com/howto-html

It looks normal in modern firefox, safari, chrome and internet explorer.

However- in ie7, it breaks the alignment...

Any clues to make this more compatible?

you can use ie7 hack on given classes :

.leftAd {*top:60px}
.TopAd{*float:none;*width:600px}

this thing will work fine in ie7

as a first little step (sorry, but currently I've only a little time) you could set the height of the #HowToLanding DIV to auto. This brings the tiles in the right position.

You could do something like this:

#HowToLanding { height: 550px; *height: auto; }

Update: ...and do the same for the #Footer

#Footer { height: 150px; *height: 150px; ... }

HTH,
--hennson

<div id="TopAd">...</div and <div id="TopAd">...</div>添加

<div id="HowToLanding">..</div>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM