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.

padding/margin causing problems

Featured Replies

Hi there im having a problem, i'm pretty sure i know whats causing it just not where the problem is, if you get me?

 

basically take a look at this page

http://www.carl-robinson.co.uk/CHS/ufh.html

 

if you try to click the "more info.." link in the control systems box, you cant. i believe this might be padding or marging overlapping on this? but i cant see no padding or margin anywhere?

 

the css is at http://www.carl-robinson.co.uk/CHS/main.css

 

thanks in advance

I don't think its a margin or padding problem. Your code is very weird on those news boxes. I would use floats on all of them, not just the right sided ones.

 

That might clear up the problem. Your order of your last two boxes are also switched in your code, which might be causing problems as well.

Try removing the padding-right from this bit of css.

#mainContent p {
padding-right:0;
padding-left:14px;
padding-top:10px;
}

Seems to work fine if you take position: relative out of the code for .news

 

Try it and see :)

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.