|
hzarabet -> RE: Another newbie question (4/27/2004 16:29:10)
|
So this is proper for a style sheet? .middle-head{ font-size: 140%; font-family: Arial, Helvetica, sans-serif; font-weight: normal; vertical-align: top; } .middle-head-small{ text-align: center; font-size: 80%; font-family: Arial, Helvetica, sans-serif; font-weight: normal; vertical-align: top; } .middle-head-center{ text-align: center; font-size: 140%; font-family: Arial, Helvetica, sans-serif; font-weight: normal; vertical-align: top; } To me it seems so redundant. I would have thought that you would just use: .middle-head{ font-size: 140%; font-family: Arial, Helvetica, sans-serif; font-weight: normal; vertical-align: top; } and control the font size and alignment in the HTML instead of essentially rewriting this 3 times. If you folks could give me a nod of approval that writing it 3 times is proper I will move on to "2 + 2" [;)] Thanks!!!!
|
|
|
|