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.