Bug 69654

Christian Robottom Reis kiko at async.com.br
Mon Dec 8 14:25:03 UTC 2003


I'm putting together a guideline text file, which is why I'm going
through all these messages again.

On Sun, Dec 07, 2003 at 04:58:36PM +0000, Gervase Markham wrote:
> >Moving on from the Hx issue, we have the question on naming CSS classes. 
> >It's been suggested that all classes should start with bz_ to avoid 
> >namespace collisions. Theoretically I agree, but are there any namespace 
> >collisions to avoid in practice? Should we care? Having a prefix makes 
> >things more awkward to use.
> 
> Indeed. The only possible reason is user stylesheets - and we can 
> namespace those by having a id="bugzilla" on the <html> element.

Can you summarize the conclusion here so I can add it to a guideline I'm
putting together?

> >Classically, pixels and percentages don't mix. To some extent, mixing 
> >relative and absolute units still causes pain - mostly with IE, whose 
> >font scaling bugs are worth a volume in themselves. It's a lot easier to 
> >use fixed font sizes like "13px" and "17px", but that may not be in the 
> >best interest of the user. Does anyone have a strong opinion on this?
> 
> We've just been round this block with the new www.mozilla.org website. 
> Ideally, we wouldn't scale the user's font size at all.

Ditto -- I'm not entirely sure what you meant by the last phrase. Do you
mean no font-size: specified at all, or relative sizes only, or..?

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331



More information about the developers mailing list