Looks like you have a couple different approaches going on there, or some invalid HTML. There are some HTML fields with divs and some with improperly closed HTML tags. Please choose one approach (my recommendation would be a div with a class of "aligncenter") and then clean up the invalid HTML. At that point, we should be able to style all the aligncenter fields. I was able center the fields by targeting them by ID, but that's not a good long term solution.
[css]
li#field_12_29 {
display:block;
margin:0 auto;
text-align:center;
}
Better to wrap the whole field in a div and give the div a class you can target.
[php]
<div class="html aligncenter">
Gifts for Gerritsen Beach<br />
C/O Janet Kennedy<br />
P.S. 277 Gerritsen Beach<br />
2529 Gerritsen Avenue<br />
Brooklyn, N.Y. 11229
</div>
Posted 11 years ago on Saturday December 1, 2012 |
Permalink