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 multiple body?

Featured Replies

Does anyone know how I can make this silver bar 100% width across the page. At the moment its like this. The"body" css is

body {

background-color:#FFFFFF;

width:900px;

margin-left:auto;

margin-right:auto;

}

 

Because I need to keep the body width 900px; the silver bar cannot be 100% across the page. I thought I might need something like 2 css body's.

 

I have attached I picture of what I’m trying to do.

 

Thanks

post-4850-124680309252_thumb.jpg

A quick fix is to make the bar a background image of BODY. Otherwise you'll need to restructure the header (or at least the menu bar), to be 100% width.

 

<div id="header"></div>
<div id="menubar"></div>
<div id="content"></div>
<div id="footer"></div>

 

#header is 900px width

#menubar is 100% width

#content is 900px width

#footer is 900px width

  • 2 weeks later...

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.