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.

Problems with container alignment - HELP!

Featured Replies

Hey guys,

 

I've got some serious problems with my containers and alignment they're all over the place!

 

Could you take a look at the following images and give me some advice!

 

ouv75w.jpg

2448rqc.jpg

 

You can access my site and look at my stylesheet - here.

 

Looking forward to hearing back,

 

Sam

 

Notes:

1) I am using Wordpress

2) The form is in an iFrame

Number 1 - the text is held (for some unknown reason) in an image so you need to reduce the width of the image to match the width of containing box below.

 

Number 2 - the div textwidget in the main css has top margin set to 0 so you need to change it, plus your css seems to have an extra body tag:

 body body  ,div#leftside.textwidget
{
background-color:#eceffc;
}

Change the above to (I have just used a random number of pixels that you will need to tweak):

 body, div#leftside.textwidget
{
background-color:#eceffc;
}
div#leftside.textwidget: margin-top: 10px;

 

You are also redeclaring your style within the page adding an iframe element so all that needs sorting.

 

Numbers 3 & 4 - I can't see a problem in Chrome but the height of your iframe is set to 1050px which is huge and from your screenshot that is what you are seeing, the whole height of the iframe which is overflowing out of your main content container also creating the whitespace.

Just as a heads up mate think you have a typo

 

*The majority of life insurance policies will require no medical examination, however there maybe rare causes when a medical examination maybe required.

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.