On 1/21/07, ~davidLaakso <[EMAIL PROTECTED]> wrote:
> Christopher Blake wrote:
> > http://www.neilp.newwavemedia.co.uk/europe.html
> > http://www.neilp.newwavemedia.co.uk/stylefile/style1.css
> >
> > The capitalize has been added to h1. I can turn it off and do the
> > capitals freestlye but was wondering if there was a simple solution
> > to this i.e. without using <span> for 1 letter!
> >
> Try:
> h1{
> /*text-transform: capitalize;*/ <<< delete
> text-transform: lowercase;<<< add
> }
> And add this ruleset to you css:
> h1:first-letter {
> text-transform: uppercase;
> }

Which would (in supporting browsers) capitalize the first letter of
the heading, but not the first letter of each word the way
text-transform:capitalize should.

By the way, which browsers exhibit the error? Looks fine in Opera
(unless you've changed the markup)

-- 
Richard Grevers, New Plymouth, New Zealand
Hat 1: Development Engineer, Webfarm Ltd.
Hat 2: Dramatic Design www.dramatic.co.nz
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to