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.

CSS Positioning

Featured Replies

The positioning of my web page has left aligned for some reason, I thought it is something to do with the wrapper in my CSS but I cannot fix - I am new to this so porbably something very simple! Could someone please help with this as i have been trying to fix for over an hour now

 

I have attached my index and css - how it should look is here www.artandescape.com

 

It is also happening on the new index page I am trying to create, which I have also attached - I presume the same issue is with the CSS

 

I hope someone can help!

 

index.html

style.css

index2.html

In index.html edit

<table width="800" border="0" style="margin-top:0;padding-top:0; ">

to

<table width="800" border="0" style="margin:0 auto;padding-top:0; ">

All you need to do is open the HTML, find #wrapper div, and move it outside of the h1.

 

Once you have that, open your CSS, search for #wrapper and add this:

 

width: 800px;
margin: 0px auto;

  • Author

wow that easy - thanks so much, I really need to grasp a better understanding of building websites, its all a bit haphazard as Im sure you can see!

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.