Responsive Web Design RWD and conditional content

Post Reply
Site Admin
Posts: 184
Joined: Tue Sep 29, 2009 6:25 pm
Location: Moss Norway

Responsive Web Design RWD and conditional content

Post by KBleivik »

1. The mobile revolution.

Take a look at my home page There you see a page with responsive web design and Ken Burns animation from a rafting tour with my family in Sjoa i Norway.
... many users will likely only ever see the mobile version of your site. That’s an astounding revelation isn’t it?

Since drupal is our preferred CMS, you should note the following feature of the next version 8 of drupal that will be released in 2014.

In Drupal 8, all built-in themes are responsive. Even administration pages work much better on mobile devices. Tables shrink properly, and the new toolbar included in Drupal 8 is mobile-friendly from the start.

You can develope advanced sites using drupal as your CMS without knowing HTML, CSS and php, the scripting language used to develope the drupal platform.

Many of the worlds bloggers prefer WordPress as their blogging platform and there are a lot of responsive themes for WordPress.

Smartphones and tablets have changed the way we surf the web, put content on the web, shop on the web and build relationships on social networks. With those new platforms came the need for sites to be user friendly on desktop computers, tablets as well as smart phones. The first solution was to supply at mobile friendly site in a sub folder or on a sub domain The domain name mobi, a top-level domain (TLD) in the Domain Name System of the Internet emerged. Its name is derived from the adjective mobile, indicating it's used by mobile devices for accessing Internet resources via the Mobile Web. A lot of new framework also emerged, Some of the best know will be mentioned in this thread.

KW search: what is .mobi

Related forum threads:

You find most of the content in this post in this excellent video.

Related links: ... obile-web/ ... bile-stats

2. Mobile or content first?

Here is my mobilized :-) mini network. Hopefully in about two years, every site in that network will be responsive. Our marketing site is also mobilized for those that are looking for a great marketing opportunity.
The Reason For The Mobile-First Hype

All of these are reasons why the approach of building mobile first is so hot right now. If you start thinking about your Web experience from a mobile standpoint, you will be forced to devise and create a sharp, focused communications strategy and UX design that cater to multiple interaction mindsets and user goals. Once you have these fundamentals in place, it will be much easier to scale up to other devices, which in turn will inherit this focused thinking, helping to create a One Web that is intelligent, useful and worth experiencing.

Let’s starting thinking about how to create seamless online communications, irrespective of device.
Source: ... -internet/

Related links:,2817,2359752,00.asp

3. Responsive webdesing and CSS3 media queries.

As early as april 07, 2000 John Allsopp wrote this A Dao of Web Design article and it’s more relevant today than ever before.

First of all you should be aware of this article: Media Queries Are Not The Answer: Element Query Polyfill
Extensive use of media queries might be the answer for today, but it is not a viable long-term solution. Media queries do not allow for reusable modules that adapt based on their containers’ size.
There is two important distinctions:
  1. Serving the same content seamless to different platforms.
  2. Serving different content to different platforms.
The two technologies can of course be combined for different parts (pages) of the site. What CSS3 media queries do, can best be illustrated with this site: You should immediately get the idea. If not, here ... out-01.htm is another example. With the help of media CSS queries different styles sheets are delivered to different platforms.
Media queries bring a lot of power to the Web designer's desk and they are supported by the vast majority of mobile devices currently offered for sale. The concept of using media queries to create responsive pages is a hot topic in Web design circles. Everyone, it seems, has written an article. As you read about responsive design and media queries you will find different methods—some of them good, others not so good. While we can't say with certainty that the method we employed for Adaptations is better than any other you might find, we can say for a fact that it's been thoroughly tested on the most popular devices currently available and that it affords a finer level of control than many other methods we've seen.
Source: ... a-queries/

On that example page they use the following media queries that we have included in the following file:


Code: Select all

/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 679px) { ... }

/*Exception rules for Smartphones in Landscape orientation only*/
@media only screen and (max-device-width: 480px) and (orientation : landscape) { ... }

/*2 Column with top spanning menu for Medium Browser Windows and Portrait Tablets*/
@media only screen and (min-width: 680px) and (max-width: 979px) and (orientation : portrait) { ... }

/*Portrait Tablet Exceptions to adjust padding in content areas*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { ... }

/*Additional Rules for Medium Desktop Browser Windows and Landscape Tablets to reflow the inner 3-column structure*/
@media only screen and (min-width: 680px) and (max-width: 979px) and (orientation : landscape) { ... }

/*Landscape Tablet Exceptions to adjust padding and reduce font size*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { ... }

/*3 Column for Medium-Wide Browser Windows*/
@media only screen and (min-width: 980px) and (max-width: 1420px) { ... }
Design is often more art and philosopy than sience, so what is the optimal number of break points (with accomponying style sheets) may vary from site to site and person to person.

External links: ... ts-to-use/ ... eb-design/ ... ve-design/ ... web-design

4. Fluid images, video and the Ken Burns effect

Fluid image combined with the Ken Burns effect get more and more popular on web sites. The Ken Burns effect can also be combined with the well known WOW slider. Some examples are collected on this page.

Video demonstrations: ... ffect&sm=3 ... cut-pro-x/ ... -for-video ... hVideo.php ... tml5-video

5. Media queries or components?
Modular CSS is already hard enough, and media queries provide very little to no help. Truly modular layouts need to respond to the sizes of containers, not just to the viewport’s size.
Source: ... -polyfill/
In web development, a polyfill (or polyfiller) is downloadable code which provides facilities that are not built into a web browser.

http://css-element-query-experiments.ha ... yfill.html ... -Polyfills

6. Fluid grid layout, DreamWeaver and RWD
And I don’t just mean the WYSIWYG editors like Dreamweaver, FrontPage, all these things: it’s easy to pick on them, they’re clearly in the wrong because WYSIWYG as applies to web design doesn’t make sense. But I kind of mean all the visual design tools.

Regarding DreamWeaver CS6 and CC that statement is partly right - since there is new functionality like fluid grid layout, multiscreen view etc.

There has been a discussion on the internet whether it is best to serve one big style sheet or different style sheets for different platforms. Informal tests have been run to see what is most effective, with no final conclusion in my opinion. In Adobes Dreamweaver CS6 it is very fast to bulid responsive web sites that uses one big style sheet. Go to or YouTube and search for:
  • Dreamweaver CS6 fluid grid layout
  • Dreamweaver CS6 responsive web design
and you will see for yourself. You can of course make the same queries on a search engine without the term Dreamweaver CS6 or start on the page You don't need to use Dreamweaver. There are a lot of other free platforms. But since I have used Dreamweaver for about ten years I know how easy it is to make responsive sites using that platforms inbuilt functionality. It is also easy to build sites and hybrid applications using Dreamweavers jQuery mobile and PhoneGap functionality. For years we have known the site that sells excellent DreamWeaver solutions.

Links: ... a-queries/ ... e-designs/ ... rnizr.html ... eries.html ... s-pt2.html

7. Conditional CSS

8. Setting and checking breakpoints. ... lpers.html ... eak-points ... ser_values

KW search: media queries optimal number of breakpoints

9. Matchmedia and RWD with JavaScript ... iaqueries/ ... ylesheets/ ... y-with-js/ ... ve-design/ ... o/rwd.html ... pting.html ... ery-mobile

10. Conditional content.
In terms of mobile web design, this meant that a full, standard website would scale back and gradually remove content and features as the viewport became smaller and the system simpler (no Flash support, etc.).
Source: ... -for-video ... d-content/

11. Resources.

Image optimization for the web:

Video optimization, compression and recovery:

There are two techniques when you compress videos (and images) for the web, looseless and loosy compression. You should know the difference. With looseless compression you keep the same quality as the original video, but the files gets bigger than with loosy compression the as the name indicates reduces the quality but at the same time the file size more than with looseless compression.

Java Script libraries:

Other resources: ... worklight/ ... worklight/

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest