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.

Webpage Layout, floating blocks

Featured Replies

Hello people, I have some problems with right and left blocks on my page. When I put less text in the left block the right block become taller than left one and conversely, when I put more text in the left block right one become smaller than the left one. I wanna float them together so they will have same height. Please see attached picture so you will understand everything.

 

Hope someone can help me. Thanks.

post-10803-026886600 1280242271_thumb.jpg

post-10803-073835500 1280242302_thumb.jpg

  • Author

Thanks Josh, but seems I don't understand something. Now my CSS file looks like this but nothing's changed. Columns are still different. Probably I've put it in wrong place.

 

* {

margin: 0px;

padding: 0px;

}

#wrapper {

width: 775px;

border: 1px solid #000;

background-color: #fff;

margin-right: auto;

margin-left: auto;

}

#wrapper #header {

height: 106px;

}

a img {

border-top-style: none;

border-right-style: none;

border-bottom-style: none;

border-left-style: none;

}

#wrapper #navigation {

height: 25px;

}

#wrapper #bodyArea #left {

float: left;

width: 550px;

background: #ccc url(../images/leftcolumn.jpg) repeat-y;

}

#wrapper #bodyArea #right {

float: right;

width: 225px;

background: #ccc url(../images/rightcolumn.jpg) repeat-y;

}

#wrapper #bodyArea #footer {

clear: both;

height: 20px;

background-color: #CFF;

text-align: center;

}

p {

font-family: Arial, Helvetica, sans-serif;

font-size: 14px;

color: #333;

margin: 20px;

}

  • Author

Oh yeh, I've got it. It must be just one image with green colour from the left and brown colour from the right. The width of the image must be same as width of page. In my case is 775px.

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.