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.

Skeleton framework 4 columns structure breaks down

Featured Replies

I folks,

 

i just started to build my first RWD site with skeleton framework.

 

On my index page i have just navigation and under it 4 column structure using skeletons "four columns class". Now for some reason

my columns breaks down in tablet size when i resize browser..(last column on right drops down)..everyting else work well.

 

here's my html:

 

<div class="container">



<header><!-- Header osuus -->

<div class="four columns"> <a href="http://www.nhl.com"><img src="images/logo.png" width="220" height="33" class="scale-with-grid" style="margin-top: 119px;"></a></div>

<!-- Navikaatio -->

<div class="eleven columns offset-by-one">
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><a href="#">Yritys</a></li>
<li class="nav-item"><a href="#">Työkalut</a></li>
<li class="nav-item"><a href="#">Ylläpito</a></li>
<li class="nav-item"><a href="#">Kehitys</a></li>
<li class="nav-item"><a href="#">Pilvi</a></li>
</ul>
</nav>
</div>

</header><!-- Header päättyy -->


<div class="section">

<div class="four columns">
<div class="inner">
dfdfgdfgdf dfg dfg dfg dfg dfg dfgdfgd dfg dfg dfg dfgdfgfdgdf
</div>
</div>

<div class="four columns">
<div class="inner">
dfdfgdfgdf dfg dfg dfg dfg dfg dfgdfgd dfg dfg dfg dfgdfgfdgdf
</div>
</div>

<div class="four columns">
<div class="inner">
dfdfgdfgdf dfg dfg dfg dfg dfg dfgdfgd dfg dfg dfg dfgdfgfdgdf
</div>
</div>

<div class="four columns">
<div class="inner">
dfdfgdfgdf dfg dfg dfg dfg dfg dfgdfgd dfg dfg dfg dfgdfgfdgdf
</div>
</div>

</div>


</div><!-- container -->

 

 

************************************************************

 

css for inner class:

 

.inner {
height: 339px;
background-color: #707070;
margin-top: 105px;
text-align:left;
}

 

 

// Mika

post-58242-0-66797600-1380261832_thumb.png

post-58242-0-13976500-1380261842_thumb.png

Set your first column to the 'alpha' class and the last column to 'omega' class. This will keep all columns within the row without breaking. You'll find more in the Skeleton documenation.

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.