Web design process with CSS - during or after?
Posted
by SyaZ
on Stack Overflow
See other posts from Stack Overflow
or by SyaZ
Published on 2010-04-21T14:48:19Z
Indexed on
2010/04/21
15:03 UTC
Read the original article
Hit count: 285
Which is the better practice?
Add CSS during web designing you can see the result (or close) as early as possible and make required changes. You also know how many divs or spans you might need (eg to make curved cross-browser hover background). But as you add more and more components to the page sometimes things get hack-ish as you need to patch here and there to get the exact design required.
Add CSS after finishing page design you can see the page overall structure as it is well, without styles. You get to see how accessible your site is, and modify it right away if it's not good enough (unlike the former case where you may break multiple CSS rules). Plus after you finished it, you only need to spend most of the time to alter only the CSS file, which is good to get the momentum going.
Granted I have never tried the latter approach, but am seriously considering it for my next project if I can see convincing reasons -- or if it's no good at all.
Thanks.
© Stack Overflow or respective owner