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.

100% (stretched) image width in div

Featured Replies

I am creating HTML and CSS for a template that will be eventually made into a custom Wordpress theme: http://www.lucky-magpies.co.uk/esm/ and would like to know the best way to make the photographic background stretch to the full width of the user's screen?

 

I have added the image reference in the HTML (as <div style="background...") because the image is going to be different on each page
of the site.

 

(I am aware the image i'm using currently is too low in resolution but wanted to get the coding right first).

 

Also, I would like to use fonts 'bebas' and 'aller' any advice on the best way to embed these so they work in Wordpress.

 

Any help is very much appriciated.

 

 

they can be embaded in WP through the CSS technique you can search this out on w3schools or lynda tutorials and on youtube you may find the video tutorial regarding to your that specific problem.

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.