1 reply [Last post]
romaincaisse159's picture
Last seen: 6 years 21 weeks ago
Timezone: GMT+5.5
Joined: 2016-06-20
Posts: 1
Points: 2

I am new to website design. Anyone help me to find the solution of my question ?

gary.turner's picture
Last seen: 1 year 39 weeks ago
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Every grid system is worse than the next

The grid system is derived from methods of old-fashioned photo-typesetting for offset printing. It is based on fixed size paper and is totally inappropriate for the web.

In grid systems, ID and CLASS tokens are non-semantic and are presentational, a Bad Thing. Further, multiple tokens on an element are endemic. If you need to apply more than two classes to an element, you don't know what you're doing and the developers of the various grid systems do not know what the hell they're doing. For example:

<body class="single single-post postid-148839 single-format-standard custom-background mp6 customizer-styles-applied group-blog highlander-enabled highlander-light">

This is an example of the type of markup that indicative of poor coding. It is a common example (I took it more or less from a random WordPress site) of grid and WP theme devs' lack of understanding of the html, css and javascript troika, that is, separation of structure, presentation and behavior; specifically, semantic html, the css cascade, and unobtrusive javascript.

Since you are new to the web, go to the htmldog site for their tutorials. They teach best practice. Do not pollute your mind with that grid crap. Once you know what you're doing, you may look into grids, if only so that you can maintain or debug the crap work of others.



If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.