Re: [css-d] What can I do to improve this CSS?
trevor bayliss wrote: http://tinyurl.com/clg668 I would be very greatful if someone could have a look and advise me what to do, Thank you, Regards, Trev Apply some shorthand and combined selectors, maybe, to reduce the amount of redundant styling. For instance... .nav { padding-right : 0; padding-left : 0; padding-bottom : 0; margin : 0; padding-top : 0; list-style-type : none; } .nav * { padding-right : 0; padding-left : 0; padding-bottom : 0; margin : 0; padding-top : 0; list-style-type : none; } ...can be shortened to... .nav, .nav * { padding: 0; margin : 0; list-style-type : none; } regards Georg -- http://www.gunlaug.no __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] What can I do to improve this CSS?
Hi all, This is my latest attempt at css, the xhtml validates, I feel though that although it works fine it could be made a lot cleaner and maybe I am missing some important concepts: http://tinyurl.com/clg668 I would be very greatful if someone could have a look and advise me what to do, Thank you, Regards, Trev __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] What can I do to improve this CSS?
Thanks Gunlaug, Val and David really appreciated __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] What can I do to improve this CSS?
trevor bayliss wrote: Hi all, This is my latest attempt at css, the xhtml validates, I feel though that although it works fine it could be made a lot cleaner and maybe I am missing some important concepts: http://tinyurl.com/clg668 I would be very greatful if someone could have a look and advise me what to do, Thank you, Regards, Trev You might consider validating the CSS and checking your page cross-browser. __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/