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.

CSS - Clear: both;...?

Featured Replies

Hi,

 

Just a quick CSS question. What's the best way to move, the 'paragraph' and 'test-large' down underneeth the #Header?

 

I've tried adding clear:both; to the header div but it hasn't moved it down below, shouldn.t that of moved it? If not, what will move it?

 

Cheers!

 

Rich

  • Author

Man, sorry.

 

http://www.futureproofdesign.org/stella/HTML/

 

Also, you see I've used that 'background-line-repeat-top.gif' for that thin grey line seperating the header from the main content? How can I create that same effect using an opposite of the image to run along the bottom of the page to seperate the footer from the main content? I've tried using the same 'background-image: url(../images/background-line-repeat-bottom.gif); background-repeat: repeat-x;' in the footer div, but it doesn't work?

Liquid layout are layouts that are based on percentages of the current browser window's size. They flex with the size of the window, even if the current viewer changes their browser size as they're viewing the site. Liquid width layouts allow a very efficient use of the space provided by any given Web browser window or screen resolution. They are often preferred by designers who have a lot of information to get across in as little space as possible, as they remain consistent in size and relative page weights regardless of who is viewing the page.

 

http://css-tricks.com/the-perfect-fluid-width-layout/

 

Ash

  • Author

Ar cool, yeah I know what you mean, like Amazon? But no mate, mine isn't a liquid/fluid layout.

 

Cheers.

Ar cool, yeah I know what you mean, like Amazon? But no mate, mine isn't a liquid/fluid layout.

 

Cheers.

 

 

yep you got it, amazon does use them :)

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.