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.

Auto Margins and Internet Explorer

Featured Replies

Hi

 

I have just completed a new website and have used the jello technique to position the page in the middle of the screen.

 

To do this I have put the following code in CSS

 

body {margin: 0;

padding: 0;

}

 

Then for the wrapper

 

#wrapper {

width: 890px;

margin: auto;

}

 

Although the website is central in other browsers, it will not centralise in IE. However in the past I have used this technique and it worked. I have checked many things on the website, but cannot find a solution.

 

I would be very grateful for any insights into this problem.

 

The DOC type is:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 

Many thanks, Kath

  • 1 month later...

Hi Kath,

 

Use below code

 

body {margin: 0;

padding: 0;

}

 

#wrapper {

width: 890px;

margin:0px auto;

}

Its workinggood.gif

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.