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.

RT1984

Members
  • Joined

  • Last visited

Everything posted by RT1984

  1. Ok ive tried the code, had to change .center to #center because the nav bar didnt show, not sure why it worked but it did. The nav bar has centered now but i need to center the page in my browser so back to google i suppose. Thanks for the help much appreciated.
  2. Wow thanks for the fast replys, will try the new code. Out of interest, which is the best doctype to use out of strict and transitional? Thanks
  3. Hi, as you can guess from my post title im a complete noob, been learning html for a whole 2 days now. Anyway, ive been looking for an answer to a simple question but cant find it anywhere. Im making a test layout page using css to learn how it all works but I would like to know how to center the navbar. Ive checked google but cant find anything thats not too advanced for my level. Thanks alot in advance HTML: <!-- Put Doctype Here --> <html> <head> <!-- Link To Style Sheet --> <link rel="stylesheet" type="text/css" href="Stylesheet.css" /> </head> <body> <!-- Header --> <center><img src="Header.png" height="100" width="1240"></center> <!-- Navigation Bar --> <li><a href="????.html">Nav Bar 1</a></li> </ul> <!-- Line Break --> <br/> <!-- Main Headline --> <h1>Headline 1</h1> </body> </html> CSS: /* Navigation Bar */ ul { list-style-type:none; margin:0; padding:0; overflow:hidden; } li { float:left; } a:link,a:visited { font-family:Arial; font-weight:bold; display:block; width:120px; color:#FFFFFF; background-color:#000000; text-align:center; padding:4px; text-decoration:none; } a:hover,a:active { background-color:#808080; } /* Main Headline */ h1 { font-family:Arial; color:#000000; text-align:center; } PS. please ignore all the labels, its the only way i can remember what things are

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.