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.

Couple of small CSS padding issues

Featured Replies

Two different areas of my site, but despite having no margin or padding attributes, the objects seem to be spacing themselves out by a good 15-20px!

 

Top in IE6:

post-10657-1245238014_thumb.jpg

 

Top in Chrome:

post-10657-1245238051_thumb.jpg

 

Footer in IE6:

post-10657-1245238066_thumb.jpg

 

Footer in Chrome:

post-10657-1245238081_thumb.jpg

 

Link: http://www.thetvrsite.com

 

Any help very much appreciated! :)

A clue is that in IE6 the words "Latest Entry to Company Directory" are over white background but in Chrome they are inside the gray area.

 

The code is <h3>Latest Entry to Company Directory</h3> and h tags and p tags and ul and several other tags have default margins and/or padding, so set a style

 

h3 { margin: 4px 0; padding: 0; }

 

to set the top and bottom to 4px and the sides to 0 and see if that helps. It certainly makes a difference to the position of the text and Clever Trevor image in my Chrome and IE7 if I change the margin to 0 or 40px to test, but I haven't tested IE6.

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.