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.

A little coding help please...

Featured Replies

Evening,

Anyone help me out please?

 

I have a banner going right accross the top of the page its 100x1024 made up of one jpg background in a DIV and one jpg image in a seperate DIV, both are wrapped...

 

<div class="bannerwrap">  
<div class="bannerleft"></div>
 <div class="bannerright"><img src="images/bannerright.jpg" alt="styled banner " width="624" height="100" /></div></div>

 

I need the banner content to be centred but I can't get it to nudge...

 

the css:

 

.bannerwrap {

height: 100px;

width: 1024px;

 

}

.bannerleft {

float: left;

height: 100px;

width: 400px;

background-image: url(../images/logoyellow.jpg);

border-top: thick solid #202020;

}

.bannerright {

height: 100px;

width: 624px;

float: left;

border-top: thick solid #202020;

}

you could try adding margin:0 auto, although 1024 is pretty wide for most people's monitors or viewing habits. I would also question the semantics of your markup, but that wasn't your question so try...

 

.bannerwrap {
height: 100px;
width: 1024px;
   margin:0 auto;

}...

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.