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.

Image Positioning: IE vs Firefox

Featured Replies

I was wondering if anyone would have a quick look at this page here, both in IE and Firefox. I positioned the pictures where I want them in IE, but they move in Firefox.

 

I saw a suggestion to someone with a similar problem was to add the following code to the style sheet, but doesn't seem to have done anything. Any suggestions?

 

body
{margin: 0px;
padding:0px;
z-index: 0;
}

The code you've pasted above relates to your entire site - not the individual images you have on it as it's the <body> tag. I've just had a quick look at your source code - OH MY LORD! You've got styles all over the place. I would suggest taking your styles out of the HTML and putting them into your style sheet - then it sould be easier to manage and also easier to see what the problem is - I can't be bothered to trawl through tons of code to try and find what the issue might be.

  • Author

Ok, no problem - thanks for taking a look. And cheers for the comments on the coding - I did worry it was untidy as I wrote it with very little clue as to how CSS should really be used, and think I've got to grips with it a little more now. Hadn't realised it was so bad though, so will redo, rather than leaving it like i was planning on lol - shouldn't take me long to rebuild the entire site... 80

 

Thanks again :)

Just keep all your styles in a stylesheet rather than within your HTML as it's a lot easier to work that way

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.