Fruitless attempts at understanding CSS layouts

After working on the WP-Gallery2 plugin for some time, I got another idea for a plugin that I wanted to write, this time involving jQuery and some interesting effects. A [...]

After working on the WP-Gallery2 plugin for some time, I got another idea for a plugin that I wanted to write, this time involving jQuery and some interesting effects. A big part of the plugin would be it’s layout and how the different elements are positioned according to each other. I had done a little CSS coding before and I understood the basics so I decided that I’d just go right ahead into the prototyping stage.

Unfortunately, after playing with the stylesheet for a couple of hours, I could never get the layout exactly as I wanted it. So, I went ahead and turned to Google for wisdom. Smart as it is, Google did give me nice results and my education began.

The first document that I found was 6 Keys to Understanding Modern CSS-based Layouts. That page gave a nice 10,000 foot overview of the basic principles behind CSS layout but it wasn’t really what I was looking for. I knew the basics. What I wanted to find was a document that would explain how the different CSS layout attributes would change the interaction of the elements.

I got a bit closer to my goal by reading through the following few pages: Understanding CSS Positioning part 1, Understanding CSS positioning part 2, and Floatutorial but now matter what document I could find I could never get a clear picture of how things interact with the different attributes and the CSS 2.1 spec is not a very good place to get a quick understand of things.

So, the current situation is that, while I have most of the plugin thought through in my head and I have the basic design done, I am stuck and can’t proceed until I figure out the CSS. I am guessing that, eventually, I will have to turn to the spec and read through some of it’s chapters. If anyone knows of a good place for CSS information, please, let me know?

VN:F [1.9.13_1145]
Rating: 5.0/5 (1 vote cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)
Fruitless attempts at understanding CSS layouts, 5.0 out of 5 based on 1 rating