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.

Div Positioning - PHP

Featured Replies

Hey everyone, just started my first protfolio site and it looked great as html, when I changed the page to php and used "include" function to display some of the divs, so that they can then be edited in one php file and be dynamic throught out the site, my layout messed up.

 

I want the follow me, links and latest product to all line up on the right side of the page. I can achieve this without the latest blog div but as soon I had that to the left of the page the whole layout goes boom!

 

anyone know where im going wrong? any help would be truly appreciated.

 

http://www.alanmturner.co.uk/index.php

You have to clear after floating elements. Try this just putting above your footer;

 

<div style="clear: both;"></div>

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.