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.

Responsive Web Design - StackLayout

Featured Replies

I'm just starting a new web project that needs to work on ipads and iphones as well as desktop browsers so I'm thinking of going down the RWD route to avoid having to build a separate mobile website and get my head around media queries instead. So I've read 'Responsive Web Design' by Ethan Marcotte and looking into Grid systems, but really don't fancy the complexity of a lot of the grid systems available as I don't need so much of the elements provided by these systems and I also find them so confusing. I don't think the book really explains the basics of using grids or the available grid systems out there - it just presumes you know what they are and how to use them which I found really annoying about the book.

 

I've been thinking of just creating my own framework to work from as the site isn't complicated, it's just large (as in 50+ pages) and I need it to start off as a three column website and scale down to two columns and then one column depending on the device being used, but also need a little help to get going so been looking around for simplified no nonsense grids. Today I came across StackLayout and thinking of giving it a go - it's not a grid system as such, but I like the way it works and the site provides lots of examples to get me started.

 

http://stacklayout.com/

 

Has anyone use it before?

ps, I know what your mean with regards to some of the grid systems available. Some of them can be overkill - so if you can get your head around the principles involved you can use the bits you need and forget the rest.

  • Author

I'd rather start simple and build up from that, instead of working with congested code and having to strip out all the stuff I don't need - don't need half the stuff these grid systems offer so don't see the point it trying to get my head around them.

I'd rather start simple and build up from that, instead of working with congested code and having to strip out all the stuff I don't need - don't need half the stuff these grid systems offer so don't see the point it trying to get my head around them.

 

 

Ok have fun.

 

I would be very wary of using anything that has been made by someone who doesn't know the difference between semantic and sematic. Also try resizing the site. I noticed a lot of undesirable effects. Also, that site isn't 'reponsive' at all anyway, it's an alternative approach altogether (and not a very good one).

  • Author

what would you recommend?

  • Author
that site isn't 'reponsive' at all

it is - it changes when the browser size changes.

  • Author

I've generated a fluid grid using this site: http://csswizardry.com/fluid-grids/ as I thought it would provide me with a really simple starting point but there are no instructions on how to get started with it and how to code the HTML - so I ditched that. very annoying that there is zero documentation.

it is - it changes when the browser size changes.

 

Yeah true, I just meant it wasn't 'responsive' in the full meaning of the term being banded around these days.

 

Although technically you are right.

As far as I know 'fluid' and 'responsive' are two alternative approaches to solving the problem.

 

Responsive takes some getting your head around. The idea is in fact a very clever one. I have dug my heals in about it for quite a while myself but I am forced to admit defeat. The guy who cam up with RWD as an approach to the whole various browser type problem is quite a clever chap.

  • Author

mmm... frameless - not for me - also don't want to try and get my head around LESS right now so that rules the GGS out as well.

I must admit, I cannot settle on which one a like best at the moment, I have been trialing them all.

 

I still think the whole responsive web design isn't quite there yet.

 

Joni Korpi seems to be coming up with some nice ideas though at the moment and is someone to keep your eye on imo.

  • Author

yeah i've got to started on this project and need a solution now... I'll keep on looking.

mmm... frameless - not for me - also don't want to try and get my head around LESS right now so that rules the GGS out as well.

 

 

..and why are you ruling them all out again, just out of interest?

  • Author

I don't have time to learn how to use LESS...

I'd rather start simple and build up from that, instead of working with congested code and having to strip out all the stuff I don't need - don't need half the stuff these grid systems offer so don't see the point it trying to get my head around them.

 

..this bit. I've done a few RWD (combining fluid w/ responsive elements) as a client wanted it done-and I started by doing what you did (going through Ethan M's book and his respond script)-really good stuff. I did download some template grids like the 1140 just to see what things were doing/how to handle things, but never used it. The only thing I still use from them is their 1140 grid psd template to design in Photoshop, so when you do start coding it's very easy to work with (ie., working out perfect margins, as everything is pretty much done in percentages for containers/em for fonts etc).

 

I could see how doing an existing site not RWD would be a nightmare to change-but if starting from scratch it's pretty sweet. As suggested by Ethan M. use min-width/max-width in pixels for the outer most container-then everything within these wrapper(s)-then everything within this can be worked out in % (which is where the usefulness of the psd grid comes in). Then eventually use media queries to target the specific size/orientation you want and change the size/% of the containers to the sizes you want it to look like on mobile. Some suggest doing it from mobile 1st -which I haven't tried but either way it seems to work fine. Don't forget that important meta tag with device width!(it's all in the book really). Good luck! :)

 

p.s. you can start coding your html like normal (wrapper as max-width:960px;/2 columns within this would be both float left then 48% each etc)-i.e., get the skeletal structure down in block colors, then change them into % in css to see what happens.

Edited by francine87

  • Author

have you got any example sites I could look at?

  • Author

I've seen that site - I was actually looking for examples of the sites you've built.

I've seen that site - I was actually looking for examples of the sites you've built.

01

02

03 < messy as it was a group project, but oh well.

04 < working on currently

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.