CSS: Width of a link
Posted: Thu Nov 27, 2008 10:34 pm
I'm a bit stuck here with my CSS.
#blabla a {
width: 150px;
}
<div id="blabla">
<a href="#">fgdfg</a>
</div>
But the link won't be 150px wide. I've tried span, p, tt and so on, but it won't help. The link is inside a list, but I've got other styling for the list, so that won't work.
#blabla a {
width: 150px;
}
<div id="blabla">
<a href="#">fgdfg</a>
</div>
But the link won't be 150px wide. I've tried span, p, tt and so on, but it won't help. The link is inside a list, but I've got other styling for the list, so that won't work.