Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IE7 Site Compatibility Issue.

Featured Replies

Overall a site that I'm making looks fine in all browsers, except from in Microsoft Internet Explorer 7.0 (fine in 8) a few buttons on the page show higher up than they should.

 

 

Like this:

 

screenshot20100120at174.png

 

 

When in other browsers it shows perfectly like this:

 

screenshot20100120at174.png

 

 

Any Help? Below is the necessary CSS code for the DIV that the buttons are situated in, thanks.

 

 

CSS:

 

#nav
{

clear:  both;

float:  right;

height:  25px;

margin-right:  10px;

margin-top:  15px;

text-align:  right;

}

If you really can't get all browsers to show the same way, code for Firefox in your main stylesheet, then add a conditional comment with different styles just for IE7 as described here:-

http://www.javascriptkit.com/howto/cc2.shtml

 

The conditional comment must be placed after your main stylesheet link in the head section of the html page.

 

<!--[if IE]>
<style type="text/css">
#nav li { margin-top: 2px; }   /*just an example, code whatever works in IE*/
</style>
<![endif]-->

 

Use <!--[if IE 7]> just for IE7 or <!--[if lt IE 8]> which means less than IE8, etc. (note space between IE and the number)

  • Author

If you really can't get all browsers to show the same way, code for Firefox in your main stylesheet, then add a conditional comment with different styles

 

Cool, I just don't know what to change to make it look right though, any ideas?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.