text-align before font?

B

Big Bill

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
 
S

Sid Ismail

: 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
 
J

Jukka K. Korpela

Big Bill said:
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.
 
T

Toby A Inkster

Big said:
div.d3
{font-family: blah blah;}
{font: this;}
{font: that;}

I hope you meant:

div.d3
{font-family: blah blah;
font: this;
font: that;}
 
B

Big Bill

: 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,091
Messages
2,570,605
Members
47,225
Latest member
DarrinWhit

Latest Threads

Top