HighDots Forums  

CSS * question

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS * question in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nancy O
 
Posts: n/a

Default CSS * question - 06-05-2008 , 04:29 PM






Calling all CSS gurus,
I have a form & script that uses this line of code in it's CSS.

* { font-family:verdana; font-size:14px; line-height:150%}

Am I to assume the asterisk is some sort of CSS wildcard? I haven't seen
this used before, but it sure messed up my page. When I commented it out,
page reverted back to normal.

--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com

A child of five would understand this. Send someone to fetch a child of
five.
-- Groucho Marx (1890 - 1977)






Reply With Quote
  #2  
Old   
kim
 
Posts: n/a

Default Re: CSS * question - 06-05-2008 , 04:33 PM






Yes... the asterisk is a wildcard. It's very much use to zero out all
margins and padding like this * {marhin:0;padding:0;}

Nancy O skrev:
Quote:
Calling all CSS gurus,
I have a form & script that uses this line of code in it's CSS.

* { font-family:verdana; font-size:14px; line-height:150%}

Am I to assume the asterisk is some sort of CSS wildcard? I haven't seen
this used before, but it sure messed up my page. When I commented it out,
page reverted back to normal.

--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com

A child of five would understand this. Send someone to fetch a child of
five.
-- Groucho Marx (1890 - 1977)






--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #3  
Old   
kim
 
Posts: n/a

Default Re: CSS * question - 06-05-2008 , 04:33 PM



Yes... the asterisk is a wildcard. It's very much use to zero out all
margins and padding like this * {marhin:0;padding:0;}

Nancy O skrev:
Quote:
Calling all CSS gurus,
I have a form & script that uses this line of code in it's CSS.

* { font-family:verdana; font-size:14px; line-height:150%}

Am I to assume the asterisk is some sort of CSS wildcard? I haven't seen
this used before, but it sure messed up my page. When I commented it out,
page reverted back to normal.

--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com

A child of five would understand this. Send someone to fetch a child of
five.
-- Groucho Marx (1890 - 1977)






--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #4  
Old   
Nancy O
 
Posts: n/a

Default Re: CSS * question - 06-05-2008 , 05:32 PM



Thanks, Kim. :-)

--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com

A child of five would understand this. Send someone to fetch a child of
five.
-- Groucho Marx (1890 - 1977)


"kim" <kim (AT) removegeekministry (DOT) com> wrote

Quote:
Yes... the asterisk is a wildcard. It's very much use to zero out all
margins and padding like this * {marhin:0;padding:0;}

Nancy O skrev:
Calling all CSS gurus,
I have a form & script that uses this line of code in it's CSS.

* { font-family:verdana; font-size:14px; line-height:150%}

Am I to assume the asterisk is some sort of CSS wildcard? I haven't
seen
this used before, but it sure messed up my page. When I commented it
out,
page reverted back to normal.

--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com

A child of five would understand this. Send someone to fetch a child of
five.
-- Groucho Marx (1890 - 1977)







--
Kim
---------------------------
http://www.geekministry.com




Reply With Quote
  #5  
Old   
Nancy O
 
Posts: n/a

Default Re: CSS * question - 06-05-2008 , 05:32 PM



Thanks, Kim. :-)

--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com

A child of five would understand this. Send someone to fetch a child of
five.
-- Groucho Marx (1890 - 1977)


"kim" <kim (AT) removegeekministry (DOT) com> wrote

Quote:
Yes... the asterisk is a wildcard. It's very much use to zero out all
margins and padding like this * {marhin:0;padding:0;}

Nancy O skrev:
Calling all CSS gurus,
I have a form & script that uses this line of code in it's CSS.

* { font-family:verdana; font-size:14px; line-height:150%}

Am I to assume the asterisk is some sort of CSS wildcard? I haven't
seen
this used before, but it sure messed up my page. When I commented it
out,
page reverted back to normal.

--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com

A child of five would understand this. Send someone to fetch a child of
five.
-- Groucho Marx (1890 - 1977)







--
Kim
---------------------------
http://www.geekministry.com




Reply With Quote
  #6  
Old   
Michael Fesser
 
Posts: n/a

Default Re: CSS * question - 06-10-2008 , 11:31 AM



..oO(Nancy O)

Quote:
Calling all CSS gurus,
I have a form & script that uses this line of code in it's CSS.

* { font-family:verdana; font-size:14px; line-height:150%}

Am I to assume the asterisk is some sort of CSS wildcard? I haven't seen
this used before, but it sure messed up my page. When I commented it out,
page reverted back to normal.
Just for completeness:

http://www.w3.org/TR/CSS21/selector....ersal-selector

Micha


Reply With Quote
  #7  
Old   
Michael Fesser
 
Posts: n/a

Default Re: CSS * question - 06-10-2008 , 11:31 AM



..oO(Nancy O)

Quote:
Calling all CSS gurus,
I have a form & script that uses this line of code in it's CSS.

* { font-family:verdana; font-size:14px; line-height:150%}

Am I to assume the asterisk is some sort of CSS wildcard? I haven't seen
this used before, but it sure messed up my page. When I commented it out,
page reverted back to normal.
Just for completeness:

http://www.w3.org/TR/CSS21/selector....ersal-selector

Micha


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.