| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 20
|
css optimization
Hey guys, my boss just told me to "clean up" the CSS for a website. I am new to this job (only about a month) and the CSS is a COMPLETE mess. A lot of the styles make little to no sense. I don't think there is any possible way to clean up the code in its current state unless the website went through a complete redesign and I had to start from scratch. Additionally the website is horribly coded. It doesn't follow the ideal MVC approach, so changing the CSS would require in many cases to alter HTML and PHP. On top of that, website is run amok with inline styles and tables >.< Do you guys have any ideas/tips on what I can do to at least even fool my boss into thinking that something has been optimized? |
|
|
|
|
|
#5 (permalink) |
|
FUNKTION GALLERY
Join Date: Jun 2008
Location: Toronto
Posts: 2,279
|
Not really the entire site, but thats assuming you have a solid HTML structure to work from, if the HTML is as fucked as the CSS is, you're better to redevelop completely, or you could spend weeks trying to molest a piece of crap into a diamond-studded piece of crap. Try deleting all the CSS first, and just recoding at least the CSS from scratch.... |
|
|
|
#6 (permalink) |
|
Non Stop Pop
|
Here's another good article all about CSS optimization I just found today: 7 Principles Of Clean And Optimized CSS Code | CSS | Smashing Magazine |
|
![]() |
|