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.

IE Problem

Featured Replies

Hi guys well this is my first post (apart from my introduction)

im have probs with an IE fix works ok in FF, Opera and Safari

 

The prob is there should be a 10px margin from top of browser but IE is show about 20px

 

MMMM how do i fix this with an External CSS style sheet

  • 2 weeks later...
Hi guys well this is my first post (apart from my introduction)

im have probs with an IE fix works ok in FF, Opera and Safari

 

The prob is there should be a 10px margin from top of browser but IE is show about 20px

 

MMMM how do i fix this with an External CSS style sheet

 

Hi,

 

This isn't the most helpful answer but a step in the right direction, im having issues with firefox and I remember seeing somewhere in a css file, that you can add code that should only execute when using a certain browser, im having issues with the footer in my site in firefox.

 

Trouble is, im not sure of the coding involved or syntax but I have posted this and hopefully will get a good response

Hi,

 

To add specific styles to ie6 and ie7 use this code:

 

	<!--[if IE 7]>
  <link rel="stylesheet" href="css/ie7-fixes.css" type="text/css">
<![endif]-->
<!--[if lte IE 6]>
  <link rel="stylesheet" href="css/ie6-fixes.css" type="text/css">
<![endif]-->

 

This code goes in <head> of an html page and links to two files, ie7-fixes.css and ie6-fixes.css (call them whatever you want but reference them in the code above). The two files contain the css only meant for ie6 and ie7 which is removed from the main stylesheet.

Different browsers have different margin and padding settings, what might help is to set the body and html ones to 0 like this:

 

html, body { margin:0; padding:0;}

 

 

You can do this with a global reset like this

 

* { margin:0; padding:0;}

 

However this will reset everything, so paragrpahs and stuff like that will need to have margins set this way, but this will mean that no default spacing will used at all and give you a lot of control.

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.