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.

pumblechook

Members
  • Joined

  • Last visited

  1. Hi Everyone Apologies for the simple question - I've been trying various solutions on the internet and don't seem to be getting anwhere fast. I'm relatively new to using CSS, but PHP scripting and HTML are generally fine for me. I'm building a website and all I want to do is use an image for a background, and then add another image dead center on screen on top of the background. The background image is fine, adding another image over the top of that is fine, but when I style the inner image it always stays locked in the top left corner. The image I need to fix is under-cons.jpg HTML used is as follows: <html> <head> <title>Coming Soon!...</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="bg"> <img id="bg" src="titanium-texture2.jpg" /> <img src="under-cons.jpg" /> </div> </body> </html> CSS used is as follows: body{margin: 0;padding: 0} #bg {position:fixed; width:100%; height:100%} #bg img {position:absolute; top:0; left:0; right:0; bottom:0; margin:auto; min-width:50%; min-height:50%} Thanks in advance for your help!

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.