label1: 1 2 3 4
label2_is_longer: 1 2 3 4
such that they line up on the : or even the space between label and links.
They are just within a div, as a header and footer, but there has become more than 1 row on a specific page and thus i want to align them.
(this is not my choice on how to do it, it's a stupid, stupid assignment)
anyway i can't use tables... not that i'd want to, and inline css is not allowed either.
This is what i currently have on my header, the question is if i run this on more than one subheader, is there any way to align on a point that is not based on the side of the browser, but instead on the text itself?
.subheader {
white-space:nowrap;
text-align:center;
word-spacing:6pt;
margin:0;
margin-top:1px;
margin-bottom:3px;
padding-bottom:3px;
border-bottom: 2px solid #000000;
color:#000000;
}
.subheader a:hover {
background-color: red;
}
*If they are aligned right they look the way i'm aiming for, but then i run into resizing issues if i base it on that.

New Topic/Question
Reply



MultiQuote






|