sorry im a newbie in css, so please dnt be angry at me, i really wanted postion something like this:
taking in mind that the number will grow, so the text has to stay in the middle. if you get what i mean! :))
sorry im a newbie in css, so please dnt be angry at me, i really wanted postion something like this:
taking in mind that the number will grow, so the text has to stay in the middle. if you get what i mean! :))
if you're new to css, here's an exercise for you:
download Firebug for Firefox and sift through StackOverflow's code for how they position their numbers on the front page for things like views and answers. Rather than me telling you how to do it, you will actually learn not only how to use firebug, but some valuable CSS lessons as well :)
To do this, right click on the element you want to dig in to and click "Inspect Element". Then you can view and even edit the CSS to see how everything interacts with the actual document.
I promise you, nay, guarantee you that this will be a lot more helpful to you than if I straight up give you some simple CSS code to help you achieve that simple effect, especially if you plan on doing more CSS work in the future.
In order to centre text:
text-align: center;
As for putting your content horizontally, you have more than one way of doing it.