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 framework gumby 2: How to set columns next to each other?

Featured Replies

Hello.

 

I'm new to css frameworks and I have troubles to understand how I can place my colums next to each other in websites.

 

My code:

 

<div class="row">

<div class="push_eight six columns">
placeholder 1
</div>

<div class="push_two six columns"> 
placeholder 2
</div>

</div>

How to get placeholder 2 next to the left side of placeholder 1?

  • Author

I attach a screenshot to explain it better:

http://puu.sh/3o1G2/db49cd8fe0.png

 

I want to have placeholder 2 on the same height as placeholder 1. Placeholder 1 is a stat monitor which needs some height and width. And next to it (on the left side, where placeholder 2 is) I want some other placeholders too, like placeholder 2 up to placeholder 5.

Edited by Kolix

It's the push_eight and push_two that seem to be causing it. Can you just do this:

 

<div class="row">

<div class="six columns">
placeholder 1
</div>

<div class="six columns"> 
placeholder 2
</div>

</div>
  • Author
<div class="row">

<div id="div1" class="five columns">
	<iframe src="http://teamspeak3/ts3/tsviewpub.php?skey=0&sid=1&showicons=right&bgcolor=ffffff&fontcolor=000000">No iFrame support.</iframe>
</div>

<div id="div2" class="five columns"> 
	placeholder 2
</div>

</div>

The problem is that it's too big to fit into the column and so browsers add a scrollbar. I want to make sure that my iframe is displayed without scrollbars, fitting into the column.

Edited by Kolix

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.