Stuart Foulstone wrote:
But the class attribute (centre) is not css. css is what you apply to that class.CSS classes are for presentation. Content is content. Centering content is presentation. Class names should not use keywords such as "center". "centre" is not a keyword and can be used. The class "centre" can then be used anywhere centering is desired.It is quite easy to remember what this class name does, but if you wish to use some more obscure name, feel free. Markup is markup. Css is css. --
Kind Regards Chris
Price
|
- R: [WSG] Alternative to align = center? Diego La Monica
- Re: R: [WSG] Alternative to align = cent... Stuart Foulstone
- RE: R: [WSG] Alternative to align = ... Essential eBiz Solutions Ltd
- Re: R: [WSG] Alternative to align = ... Svip
- Re: R: [WSG] Alternative to align = cent... Joseph Taylor
- Re: R: [WSG] Alternative to align = cent... David Dorward
- Re: R: [WSG] Alternative to align = cent... Michael Horowitz
- Re: R: [WSG] Alternative to align = cent... IceKat
- Re: R: [WSG] Alternative to align = cent... Stuart Foulstone
- Re: R: [WSG] Alternative to align = cent... Chris Price
- Re: R: [WSG] Alternative to align = cent... Patrick H. Lauke
- Re: R: [WSG] Alternative to align = cent... russ - maxdesign
- Re: R: [WSG] Alternative to align = cent... David Dorward
- Re: R: [WSG] Alternative to align = cent... Joseph Taylor
- Re: R: [WSG] Alternative to align = cent... Joseph Taylor
- Re: R: [WSG] Alternative to align = cent... Stuart Foulstone
- Re: R: [WSG] Alternative to align = cent... Viable Design
- Re: R: [WSG] Alternative to align = ... Andrew Maben