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.

Help with CSS

Featured Replies

Hi,

Could anyone help me out with this code.

 

 

If you look at the link you will see there is a big gap between the left menu and main text area, can anyone explain which part of the code i would need to change to get rid of the gap.

 

Thanks

 

Jonny

Having a look in firebug and it seems though the containers body and left are not wide enough so you have that large gap inbetween.

 

Highly recommend the firebug plugin for Firefox to solve these issues.

  • Author

Yeah i used firebug but couldnt work out which part of the code to change, Do you have any suggestions as to which part to change?

#body {
float:right;
margin:20px 0;
overflow:hidden;
padding:0;
width:700px;/*increased width*/
}

.contentpaneopen {
clear:both;
color:#444444;
display:block;
font-size:14px;
margin:0;
padding:0 20px;
text-align:left;
width:680px;/*increased width*/
}

  • Author

I have changed the code to what you put and tried increasing the width but the .contentpaneopen area is starting to move off the right hand side of the page rather than move over to the left, Firebug isnt picking up on anything being in that area between the menu and main area.

 

Any more suggestions?

 

Thanx

 

Jonny

The first width will bring it closer to the left

 

and the second width will spread your content out

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.