PDA

View Full Version : Centering Date & Time Stamp in Postbit Header


Amaury
01-11-2013, 05:25 AM
Is it possible to center it within the area of the red box?

http://i101.photobucket.com/albums/m62/AmauryGarcia/Damestamp_zps2ccc479e.png

WorldCraft
01-11-2013, 06:53 AM
A bit crude, but it works. This is for additional.css. Tweak the left:35px until it is centered to your liking.

Note: If you change the width of your userinfo box, you'll need to change this as well. All this is doing is nudging the datestamp 35 pixels to the right.


.posthead .postdate
{
position: relative;
left: 35px;
}

Amaury
01-11-2013, 06:29 PM
A bit crude, but it works. This is for additional.css. Tweak the left:35px until it is centered to your liking.

Note: If you change the width of your userinfo box, you'll need to change this as well. All this is doing is nudging the datestamp 35 pixels to the right.


.posthead .postdate
{
position: relative;
left: 35px;
}

How does this look? Does it look centered for the most part or exactly centered?

http://i101.photobucket.com/albums/m62/AmauryGarcia/PostbitHeader_zps5e54c983-1_zps305d3cc5.jpg

Shadow
01-11-2013, 06:33 PM
That looks centered enough :)

WorldCraft
01-11-2013, 06:35 PM
Looks pretty darn close to me. :)

Amaury
01-11-2013, 07:50 PM
That looks centered enough :)

Looks pretty darn close to me. :)

For the reference, I went with 38px.