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.

786Investments.co.cc/html

Featured Replies

Hey,

 

I have just joined webdesignerforum as I was making a website for my Investment Company. I have got a template etc. and have uploaded the site to 786Investments.co.cc for now. I am still uploading it to the main directory. The problem is that all the content is at the left hand side of the page and I can't really find anything in index.html which can centralise it. If anyone know how to do this then please let me know or if you need more info then also let me know.

 

Thanks very much,

 

786Investments

EDIT: I HAVE TAKEN THE /HTML DIRECTORY DOWN AND NOW YOU HAVE TO GO DIRECTLY TO 786INVESTMENTS.CO.CC

To make the page center, add this to the stylesheet style.css

#wrap { width: 766px; margin: auto; }

 

and add this just after the <body onLoad=".....> tag and before the <table....> tag in the html file:-

<div id="wrap">

 

and add this just before the closing </body> tag at the bottom:-

 

</div>

 

Edit the width if it isn't right, but I added 587 and 179 = 766px.

 

It centers the page in Firefox but for some reason isn't working in IE7 (it should work).

 

The reason is that you have an incomplete doctype at the top of the html page; edit it to

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">

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.