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.

Need help centering the page

Featured Replies

A friend of mine asked me to make him a web site; since I'm really new at this I said I'll give it try. Now I have a problem I made the site on my pc with 22" screen and when I open it it looks fine. But when I open it on the laptop with 15" screen the whole page is shifted to the left with 1/3 of the screen empty ( just the background color ). So how do I make the page to be in the center of the screen no mater what size it is; and to allways be over the entire screen. For egz. like this page.

Pls if someone knows; as I said I'm totally new at this so if you can explain it with a little more details. TY in advance.

P.S. I'm using NetObjects Fusion

P.P.S. I dunno anything ( or close to nothing ) about HTML or CSS

post the site so we can tell you what to add, and where to add it!

Learn HTML & CSS.

 

Thats not going to help in the meantime though is it?

 

Anyway, if you can give us a link, we will be able to tell you whats going wrong :)

 

 

 

Did you put a left margin or padding in your css to make it 'look' centred in your screen? That would push the site in on smaller screens.

 

Normally to centre a site you'd just have a #wrapper div around your content and then in your css give it a width and margin: 0 auto;

 

#wrapper {width: 900px; margin: 0 auto}

 

<body>

<div id ="wrapper">

<p>your content</p>

</div>

</body>

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.