View Single Post
Old 12-31-2010, 11:28 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,103
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by panda6855 View Post
Hi yet again. I'm having problems with alignment. The text I'm wanting to align center uses this in Template:
p.normalcentreblock {
font-family: "Times";
font-weight: normal;
font-style: normal;
font-size: 1em;
line-height: 1.25em;
text-decoration: none;
font-variant: normal;
text-indent: 0em;
text-align: center;
color: #000000;
margin: 0em;

yet it all aligns left instead of centered. And it seems to refuse to change. There seems to be some overriding influence that stops my style working.
Is there a way I can force this template/style onto the paragraph I'm trying to format?

Many thanks
Try sticking a
display: block;
in there

Not that ADE seems to ignore a selector if there is an error.
w3c has a (free) CSS validation service
theducks is offline   Reply With Quote