Re: [WSG] opinions on use of css shorthand properties

2004-03-13 Thread russ weakley
A good point! By set these values previously, Mark means set these values further up the document tree. For example, if you set font-weight: bold on a container (like a div element), this will be inherited by elements within that container (like content within a p element). In these particular

[WSG] opinions on use of css shorthand properties

2004-03-12 Thread Neerav
I have noticed an increasing number of sites using shorthand properties for css eg: h1 { font: bold 12pt/14pt Helvetica } however I know that just like actual css implementation, different browsers support some/all/none of the shorthand properties so is it worth using shorthand to create a

Re: [WSG] opinions on use of css shorthand properties

2004-03-12 Thread russ weakley
The first question you need to asks is what browsers you intend to support. That will dictate many things, including the amount of shorthand css you use. For example, if you are including NN4 as one of your target browsers, this will limit the amount of shorthand CSS you can use. Once you have

RE: [WSG] opinions on use of css shorthand properties

2004-03-12 Thread Mark Stanton
I agree with Russ - it's a mostly a matter of personal preference. Initially shorthand can be confusing but with time it becomes the easier option. One more thing: font-variant: normal; font-style: normal; font-stretch: normal; font-size-adjust: none These are all completely