Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Nested selectors possible?


webapp - 11:44 pm on Mar 23, 2005 (gmt 0)


Thanks for confirming.. I have started using multiple stylesheet for different sections of the site, but I'd like to be able cut down on file size even further. Some page IDs that I use are long:

#pageidsectionsubsectionfunction selector.class { width: 200px; }
#pageidsectionsubsectionfunction selector2.class2 { color: red; }
#pageidsectionsubsectionfunction selector3.class3 { etc: etc; }
#pageidsectionsubsectionfunction selector4.class4 { etc: etc; }

I probably should have abbreviated more, but I have been using filenames for 'simplicity' and descriptive class names. Maybe it's time to start copying Google's and Yahoo!'s practice of using two letter classes and short IDs.


Thread source:: http://www.webmasterworld.com/css/5947.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com