Reply LinkBack Thread Tools Search this Thread
Old 25-06-2007, 08:33   #21 (permalink)
freelancr
Senior Member
 
freelancr's Avatar
 
Join Date: Oct 2006
Posts: 2,152
Quote:
Originally Posted by herkalees
That is just poor css writing really, nothing to aspire to.

Where is that code from? Never seen something used like that before, especially considering there is no logic to it, and it just doesn't validate. Never heard of "clean" before.
  Reply With Quote
Old 25-06-2007, 08:35   #22 (permalink)
funkyprem
For all your goober needs
 
funkyprem's Avatar
 
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,528
__________________
Time is really the only capital that any human being has, and the one thing that he can’t afford to lose. - Thomas Edison

prem ghinde
  Reply With Quote
Old 25-06-2007, 08:37   #23 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,126
I don't care who wrote it; it's bad css writing.
__________________
  Reply With Quote
Old 25-06-2007, 08:43   #24 (permalink)
freelancr
Senior Member
 
freelancr's Avatar
 
Join Date: Oct 2006
Posts: 2,152
all faith lost in yahoo then, thank god i never bothered with their API/Apps, but saying that none of the big boys bother with standards.
  Reply With Quote
Old 25-06-2007, 09:04   #25 (permalink)
cam
vague™
 
cam's Avatar
 
Join Date: Mar 2004
Location: Glasgow
Posts: 5,489
Yahoo!'s developer CSS libraries are setup specifically with developing with standards in mind. You can be sure if they're using that specific technique there's a damn good reason for it (consider how much traffic the Yahoo network of sites receive compared to your own traffic) - saying you've lost faith in them because a few lines of CSS don't validate is laughable.

Remember they're trying to offer a one-file solution for people to use. They don't have the luxury of adding their non-validating or browser-specific code into seperate files, to be included via CC's.
__________________
  Reply With Quote
Old 25-06-2007, 09:30   #26 (permalink)
freelancr
Senior Member
 
freelancr's Avatar
 
Join Date: Oct 2006
Posts: 2,152
Quote:
Originally Posted by cam
Remember they're trying to offer a one-file solution for people to use. They don't have the luxury of adding their non-validating or browser-specific code into seperate files, to be included via CC's.

They should promote the use of relative font sizing and CCs then, there are no limitations in teaching the correct method. You mention they are standards aware, seems to me from that last block they just don't care.

They are using CCs and the above code block on yahoo.com, most of the coding is invalid and the css/js is inline too.

Quote:
Originally Posted by cam
Consider how much traffic the Yahoo network of sites receive compared to your own traffic

There is no correlation between web standards and traffic, MySpace has proved this unfortunately.
  Reply With Quote
Old 25-06-2007, 10:01   #27 (permalink)
cam
vague™
 
cam's Avatar
 
Join Date: Mar 2004
Location: Glasgow
Posts: 5,489
Quote:
Originally Posted by freelancr
They should promote the use of relative font sizing and CCs then, there are no limitations in teaching the correct method.

They are using relative font-sizing you tool, setting the body to 13px gets them a base-size from which the fonts are relatively sized. Have you even read their documentation?

Also, since when is it Yahoo's responsibility to 'teach the correct method'? They're targeting the largest cross-section of browsers (and their high traffic means they're exposed to possibly the largest selection of browsers of any one site) and are doing so in the most standard supporting way they deem possible.

It's easy to sit on the oustide and criticise, but they're doing it for real, and more than that - they actually properly test their code too.

Anyway, we're probably going to go round and round here. Agree to disagree and all that.
__________________
  Reply With Quote
Old 25-06-2007, 10:16   #28 (permalink)
freelancr
Senior Member
 
freelancr's Avatar
 
Join Date: Oct 2006
Posts: 2,152
Fair enough. I see your point about them having to support and test for every browser that they see on their stats, which probably leads to hacks/invalid code being the fix. Theoretically the code is wrong, but in reality the code does the job.
  Reply With Quote
Old 25-06-2007, 11:14   #29 (permalink)
hawken
Cornish Pasty
 
hawken's Avatar
 
Join Date: Nov 2003
Location: Tokyo, Japan
Posts: 2,670
Send a message via MSN to hawken
I build all my sites on 8 / 16 px grids anyway, so the default if fine for me then use ems from there on in. 100% should really be 16px, if you are coming from a readability standpoint. why crane your neck to read the internet?
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8