I have a couple of questions regarding CSS. Perhaps someone on this forum can give some answers.
I have been asked to make a website for a hotel in Cambodia. The client wants the site to be modeled on the "banyantree" so I checked out the site and the site's CSS.
And the CSS is amazing. Here is a direct link to the CSS file, http://www.banyantree.com/themes/bt/css/screen.css.
My question is simple. Is this what people mean when they talk about CSS frameworks? And if so, what on earth is the point of it? I've really never seen anything like it.
I'm currently redesigning a FOREX site. It's a bummer of a job because the CSS is so awful.
I mean, when I write CSS I ALWAYS write it consistently. But with this FOREX site, sometimes the background part comes first and sometimes it comes right at end. In other words, there is no logic or consistency, and it is this that slows me down.
So ... is there any sort of accepted convention which states that properties (or rules) ought to be defined in a specific order?
I personally have my own order and I always adhere to it. And I also write all my rules on a single line. If I don't don't, I end up with CSS files approximately 3.7 miles long.
But perhaps I am doing things wrong.
Should all that background-image stuff come first, or should it come last? Then again, should it sit fairly and squarely in the middle and enjoy the company of a flirtatious piece of padding on the left and a sexy little z-index on the right?