forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diwaker Gupta <diwa...@apache.org>
Subject Re: [jira] Created: (FOR-652) CSS Style Sheets need cleanup and optimization
Date Sun, 28 Aug 2005 17:30:23 GMT
On Sunday 28 August 2005 5:55 am, Gavin (JIRA) wrote:
> The current CSS implementation needs a bit of a cleanup, some tweaking and
> optimization. It needs to be improved and some styles converted to % in
> order to cater for different browsers and user resolutions. A more fluid
> design needs to be the outcome. The overall style and look and feel of the
> current pelt skin is to largely remain the same where possible whilst
> implementing these improvements. The style sheets are to remain CSS1 valid
> and aim for CSS2 valid. When XHTML2 is implemented perhaps CSS3 can be
> achieved.

Lets not rush into %ages. %ages are *not* a good way to create a fluid design. 
The biggest problem with %ages is that they cascade across elements, which 
makes the math slighly difficult. ems and px are both immune to cascading.

For more details, check out:
o http://css-discuss.incutio.com/?page=UsingFontSize
o http://alistapart.com/topics/design/typography/

That said, there _are_ some very good uses for %ages -- for instance, if you 
want to restrict a box's width relative to its parent.

I've looked at the diff in this issue -- it'll be good if you can describe 
exactly what problem they fix (like a browser screenshot or something).

Also, since we will be moving to the views-based Pelt rewrite, we are probably 
better off focusing our CSS efforts into that CSS rather than the old Pelt's 
CSS :-)

Diwaker
-- 
Web/Blog/Gallery: http://floatingsun.net

Mime
View raw message