PDA

View Full Version : Date alignment



Wise Old Man
July 30th, 2010, 11:48
Okay well on my website, in the top right corner I display the date. On my style sheet it says this:
#date {
width:876px;
height:12px;
background-color:#1a1a1a;
}
#date_aligner {
margin-left:737px;
float:left;
background-color:#1a1a1a;
height:100%;
}
But like for different days, they names are shorter, ex:
Wednesday vs. Friday
so the alignment gets off.
Anyone know how to fix this? ;)

Sethy
July 30th, 2010, 11:55
Could you please elaborate?

Wise Old Man
July 30th, 2010, 18:26
Can you add my hotmail.? c9support@hotmail.com

cboy676
July 30th, 2010, 19:20
float:left;
position:left;
solid:center:left;
that might work.
My dad showed me some of that the first 2 the last code there i made up it might work tho.

Wise Old Man
August 5th, 2010, 14:52
Fixed ;d


#date {
width:700px;
height:12px;
background-color:#1a1a1a;
float:right;
}
#date_aligner {
margin-right:8px;
float:right;
position:right;
solid:center:right;
background-color:#1a1a1a;
height:100%;
}