[WSG] css snippet
I tried pasting this code 1. |* {| 2. | padding:0;| 3. | margin:0;| 4. |}| to my css and get and error when I try to validate it. Am I just dense? :o) -- Get Firefox Browser http://www.spreadfirefox.com/?q=affiliatesamp;id=6908amp;t=58 Bennie's MIDI Page http://bennieshepherd.com/ Athens, Georgia, Relay For Life http://www.athensrelay.net/ Montrose, Colorado, Relay For Life http://montroserelay.com/ Grand Junction, Colorado, Relay For Life http://grandjunctionrelay.org LZ Friendly Veterans Org http://lzfriendly.org ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] css snippet
Did you paste it in exactly as you show below? If so, your sample would not have worked as you had some odd characters in the rule set. Try this (whitespace and line breaks are up to the individual as they are ignored anyway): * { padding:0; margin:0; } It might be worthwhile reading some basic info about rule sets to get you started: http://css.maxdesign.com.au/selectutorial/rule.htm The * in this case is the universal selector: http://css.maxdesign.com.au/selectutorial/selectors_universal.htm HTH Russ 1. |* {| 2. | padding:0;| 3. | margin:0;| 4. |}| ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] css Snippet
Guess when I copied the code from the site I got more than the code.. :o) It worked fine after copying the snippet from the email. Thanks for the help and links. Did you paste it in exactly as you show below? If so, your sample would not have worked as you had some odd characters in the rule set. Try this (whitespace and line breaks are up to the individual as they are ignored anyway): * { padding:0; margin:0; } It might be worthwhile reading some basic info about rule sets to get you started: http://css.maxdesign.com.au/selectutorial/rule.htm The * in this case is the universal selector: http://css.maxdesign.com.au/selectutorial/selectors_universal.htm HTH Russ 1. |* {| 2. | padding:0;| 3. | margin:0;| 4. |}| -- Get Firefox Browser http://www.spreadfirefox.com/?q=affiliatesamp;id=6908amp;t=58 Bennie's MIDI Page http://bennieshepherd.com/ Athens, Georgia, Relay For Life http://www.athensrelay.net/ Montrose, Colorado, Relay For Life http://montroserelay.com/ Grand Junction, Colorado, Relay For Life http://grandjunctionrelay.org LZ Friendly Veterans Org http://lzfriendly.org ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] css snippet
On Tue, 19 Oct 2004 04:44 , Bennie Shepherd [EMAIL PROTECTED] sent: Am I just dense? :o) Think you answered the question you self fella... Ive never known it possible to use a wildcard (*) to select all elements, it would be nice but i dont think its possible Mark Harwood -- Phunky.co.uk / Xhtmlandcss.co.uk / Zinkmedia.co.uk ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **