From Wikipedia, the free encyclopedia

Testing

Joseph A. Spadaro

Test box

Joseph A. Spadaro
Joseph A. Spadaro

Test

Joseph A. Spadaro
Joseph A. Spadaro
Joseph A. Spadaro
Joseph A. Spadaro
Joseph A. Spadaro
Joseph A. Spadaro
Joseph A. Spadaro
Joseph A. Spadaro
Joseph A. Spadaro
example 7
This user tries to do the right thing. If they make a mistake, please let them know.

More boxes

This user is ranked 608 on the list of most-active Wikipedians by number of "recent" edits (as of September 2013).
This user's favourite novel is To Kill a Mockingbird by Harper Lee.
1,217As of last count, this user is #1,217 of active Wikipedians.
Good evening! This user loves films by Alfred Hitchcock.

interests ... crime / law / education ...

by degrees / colleges / alumni

list of books / films / poems / short stories / actors / directors / etc.

list of articles I created ... edited most / etc.

Testing

IDContent
IdentContent Side
John 3:16For God so loved the world, as to give his only begotten Son; that whosoever believeth in him, may not perish, but may have life everlasting.
John 3:16For God so loved the world, as to give his only begotten Son; that whosoever believeth in him, may not perish, but may have life everlasting.
John 3:16For God so loved the world, as to give his only begotten Son; that whosoever believeth in him, may not perish, but may have life everlasting.
John 3:16For God so loved the world, as to give his only begotten Son; that whosoever believeth in him, may not perish, but may have life everlasting.

Centering a user box

Is there a way to get this user box below centered horizontally on this page? Thanks. ( Joseph A. Spadaro ( talk) 00:52, 17 April 2011 (UTC))

Joseph A. Spadaro
Yes, you can set "width" to "100%", which I have just done. Reaper Eternal ( talk) 01:10, 17 April 2011 (UTC)
Joseph A. Spadaro
Thanks. But, that was not what I had intended. What I meant was the same box as above (the first box on top) ... just centered on the page. So, it would look like this: about 2 inches of blank white space on the left side of the page ... then the blue User Box centered in the page ... then about 2 inches of blank white space on the right side of the page. That was what I meant. So, I really want the blue box to be centered (same size as it is originally), but with some white margins on either side. I don't want the blue box elongated / stretched out. Is that do-able? Thanks. Note: Also, I found this example (below) on the following Wikipedia page, Wikipedia:Userboxes, way towards the bottom of the page ... but I was not able to figure out how to incorporate that code with my present code. I tried various things, and I just could not get it to work. Thanks. ( Joseph A. Spadaro ( talk) 01:33, 17 April 2011 (UTC))
Sample code to center a User Box:
{| style="margin: 1em auto 1em auto"
|+ example 7
|-
| {{User:Saoshyant/Userboxes/User oops}}
|}
... produces this ...
example 7
This user tries to do the right thing. If they make a mistake, please let them know.

Answer from Chzz

<table style="margin: 1em auto 1em auto">
<td>
<div style="float: left; border: 9px solid grey; margin: 3px; float: left" class="wikipediauserbox">
{| cellspacing=0 style="background-color: navy; color: grey; width: 918px"
| 
! style="padding: 0pt; font-size: 28pt; line-height: 2.75em" | Joseph A. Spadaro
|}
</div></td>
</table>

...gives...

Joseph A. Spadaro

 Chzz   ►  02:04, 17 April 2011 (UTC)