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.

Positioning the site on top?

Featured Replies

Hey guys I'm pretty new at this so any suggestions will be helpful. When I position my site there's always cca 5px between the top of the page an the wrapper. How do I put it on the top?Tnx

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

 

Put that at the top of your css.

 

What's happening is the browser already has predefined style rules, unless you overwrite them, it will implement them.

 

The main problem with this however, is different browsers have different default styles (which can mean webpages display slightly different depending on the browser and it's defaults).

 

I'd recommend Taking a look here

 

http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/

 

That little snippet with overwrite all browser styles to allow you to start from scratch. Just delete the elements you don't need.

Hey guys I'm pretty new at this so any suggestions will be helpful. When I position my site there's always cca 5px between the top of the page an the wrapper. How do I put it on the top?Tnx

 

You must set top value of body tag to 0 (zero)...something like:

 

body {

margin: 0 0 20px 0;

padding: 0;

}

 

If You work in Dreamweaver select Page properties panel and set body top margin to 0

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.