![]() |
text-align before font?
I have the fonts all sorted out in the style-sheet but I can't get the
class to center. So we have div.d3 {font-family: blah blah;} {font: this;} {font: that;} and that's all ok, they do what I tell them. Shoving in {text-align: center;} though has no effect. Any ideas what dumb mistake I'm making here, folks? BB |
Re: text-align before font?
On Thu, 06 Nov 2003 12:18:39 +0000, Big Bill <kruse@cityscape.co.uk> wrote:
: I have the fonts all sorted out in the style-sheet but I can't get the : class to center. So we have : div.d3 : {font-family: blah blah;} : {font: this;} : {font: that;} : : and that's all ok, they do what I tell them. Shoving in : {text-align: center;} though has no effect. Any ideas what dumb : mistake I'm making here, folks? Easier to see if you quote a url. Sid |
Re: text-align before font?
Big Bill <kruse@cityscape.co.uk> wrote:
> I have the fonts all sorted out in the style-sheet but I can't get the > class to center. So we have > div.d3 > {font-family: blah blah;} > {font: this;} > {font: that;} > > and that's all ok, It isn't. > they do what I tell them. Then you're using a broken browser. > Shoving in > {text-align: center;} though has no effect. Yawn. > Any ideas what dumb > mistake I'm making here, folks? 1. Not checking your CSS with a checker. 2. Not posting the URL. 3. Trying to center text, which is _mostly_ unproductive. -- Yucca, http://www.cs.tut.fi/~jkorpela/ Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html |
Re: text-align before font?
Big Bill wrote:
> div.d3 > {font-family: blah blah;} > {font: this;} > {font: that;} I hope you meant: div.d3 {font-family: blah blah; font: this; font: that;} -- Toby A Inkster BSc (Hons) ARCS Contact Me - http://www.goddamn.co.uk/tobyink/?page=132 |
Re: text-align before font?
On Thu, 06 Nov 2003 16:38:05 +0200, Sid Ismail <elsid@nospam.com>
wrote: >On Thu, 06 Nov 2003 12:18:39 +0000, Big Bill <kruse@cityscape.co.uk> wrote: > >: I have the fonts all sorted out in the style-sheet but I can't get the >: class to center. So we have >: div.d3 >: {font-family: blah blah;} >: {font: this;} >: {font: that;} >: >: and that's all ok, they do what I tell them. Shoving in >: {text-align: center;} though has no effect. Any ideas what dumb >: mistake I'm making here, folks? > > >Easier to see if you quote a url. > >Sid S'ok I fixed it ta. BB |
| All times are GMT. The time now is 12:24 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.