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.

Help with layout issue in IE

Featured Replies

I'm really struggling with a layout issue in (all versions of) IE. The site I'm working on works fine in Chrome and Firefox, but the layout of the banner is completely wrong in IE, where it appears a few hundred pixels lower than it should. I'm not sure if this is an issue with negative margins or what, and there's not much testing I can do since I'm using a Mac and only have static screenshots to go by.


I'd really appreciate any feedback on this. The link to the site is: http://www.osullivans-pubs.com/draft


The screenshot I'm getting for IE (10):


post-37857-0-15218700-1379063256_thumb.jpg


Try top: -235px; in #back in style.css instead of margin-top: -235px; which works for me making IE9 the same as Firefox.

 

If you have a problem with IE, always code for Firefox first and then put one or two different styles (not a complete stylesheet) in a conditional comment AFTER the main stylseheet links, which you have done but it's not live, it gets a 404 not found. (However, this won't overide inline styles in the markup.)

 

Try to avoid large negative margin-top and large negative top sizes as you may just push the problem lower don the page. I didn't check if it has done with my suggestion.

 

Check with a validator like http://validator.w3.org/ as you have a few errors like two opening or closing >> or << in BANNER class="controls"

Edited by Wickham

I see it's OK in Opera and Chrome but in FireFox dropdown menu of the Photos button appears on the top of the Home button half way up.

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.