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.

Please Help! Three Column CSS for all browsers question

Featured Replies

Please help!

 

I desperately need to set up a three column design with header and footer. I need something that works for all common browsers.

 

Here is where I'm stuck. I found some good examples of sites that work, like this one: http://www.strictlycss.com/examples/three-...mn-layout-6.asp It has three fixed columns (I need fixed middle for sure), and footer that stays in place. My problem is that I need different size. My header picture is 865px and that cannot be changed. I also need the side bars to be more than 160px (that's the size of adsense boxes that go in on some of the pages). I tried to do the math and adjust numbers in that layout, but I can't figure out what's what.

 

Can anyone help me?

 

Again, specific requirements are -- header picture has to fit in, and it's 865px wide and 183px tall. The design has to be centered on the page. The width of all columns has to be fixed (not expandable). Left and right columns have to have at least 160px space for inserts, so with padding and just in case it should be about 170 pixels. And a footer in the bottom (for short menu and copyright notice).

 

Thanks!

 

PS: I'm not necessarily fixated on that particular template. It's just the only one I found that worked in all browsers I tested. But the sizes do not fit my site...

Change

 

  1. #mainContainter to have a width of 865px; and change it to have a single solid background color, #F00 or #00F are often used for testing.
  2. Remove width from #right
  3. Change #footer width to 865px
  4. change #content to a width of 520px;
  5. change #float-wrap to a width of 682px;
  6. change .inner to a width of about 650px;

 

That should work, only tested in FF mind.

  • Author
Change

 

  1. #mainContainter to have a width of 865px; and change it to have a single solid background color, #F00 or #00F are often used for testing.
  2. Remove width from #right
  3. Change #footer width to 865px
  4. change #content to a width of 520px;
  5. change #float-wrap to a width of 682px;
  6. change .inner to a width of about 650px;

 

That should work, only tested in FF mind.

 

OK, I tried these changes. The right column remained narrow though, for some reason. And if the text is too long, it gets bumpted down :( (The left column and the middle work fine -- no bumping down) Can the right column be made wider somehow? which numbers do I tweak?

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.