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.

Shadow around content?

Featured Replies

Hi, I'm new to html and css.

 

But I am designing a website, and I was wondering if anyone could tell me in reference with this site: http://www.we7.com/#/

 

How to:

 

1.) Get a recurring background image in the margin like they have.

 

and

 

2.) How to get a shadow down the side of your content like they have. (and the small shadow around this forum)

 

All help will be appreciated.

 

Thanks!

The side shadows are in these styles:-

 

html{background:url(../img/body-bg-tile.v1223634229.gif) fixed #eee;font-family:Arial,Helvetica,sans-serif;}

 

body{font-size:12px;text-align:center;background:url(../img/container-drop-shadow.v1226079705.png) top center repeat-y;}

 

with this image

http://www.we7.com/img/container-drop-shadow.v1226079705.png

 

where the style has repeat-y for the vertical repeat and the page just fits inside.

 

The other image is http://www.we7.com/img/body-bg-tile.v1223634229.gif which doesn't have repeat-y but will repeat in both directions by default behind everything else.

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.