CHAPTER 2

image

CSS Layout Bootcamp

“I tried to use CSS for my layouts but gave up and used tables instead.” This is a common sentiment. If you have been in web development long, you’ve probably heard this. You might have even said this yourself, I know I have many times. But it doesn’t need to be this way. Once you understand a few things about how browsers lay out elements, CSS layouts become doable. Eventually they actually become easy.

On the one hand, doing CSS-based layouts is about web development, both mobile and desktop. It has nothing to do in particular with mobile web development. But if you are going to do responsive layouts, it is important ...

Get Mobile ASP.NET MVC 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.