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.

Web Layout Breaking.

Featured Replies

Started doing my site again, and need to change fonts, but the layout is breaking.

 

I have a sticky footer code and have gone with faux columns style layout. I have used a 1px horizontal graphic in a div to be the background content of the 'content wrapper inner'. The aim of this is to repeat straight down to the footer. However, there is a gap better above the footer. You can't see the footer (as I've not coded it fully - just the basic positioning), but it is there and appears to be sticking at the bottom.

 

Also, in conjunction with this, the 'content' div is protruding out of the 'content wrapper inner div' as a result of adding a secondary class 'content box'.If I remove the second content box the site looks fine.

 

Anyone tell me what I am doing wrong or have missed.

 

 

Many thanks.

 

Okay, I hav added overflow:hidden and height: auto to fix this, but that totally destroys the div in Dreamweaver. Is there anything in existing code that doesn't look right or out of place? Whilst Dreamweaver is not that important I don't see why the problem is arising.

 

Okay, in dreamweaver 'content wrapper inner' is being very weird. If I have height: 900px, the layout is fine. However, that's not proper so I should use 'auto' instead? Seems now to work in sites I have tried this in with 'auto'. However, the div disapear totally in Dreamweaver if I have height: auto selected on this div.

 

*edit*

 

I've added a clear so I think I've now fixed this. Just need to check on previous version of IE and others.

Edited by jpw1984

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.