rather annoying white space between anchor tags!
Posted: Thu Oct 23, 2008 10:02 am
Any ideas how to get rid of the really annoying white space between the anchor tags - I think its a carraige return because if I group all the anchors together it works as i want it to (but then i cant read it code wise)
like this:
But html doesnt render carraige returns/whitespace?
heres the html contained in a php file
and the css
like this:
Code: Select all
<a href="blah" class="change_link">blah</a><a href="blah_two" class="change_link">blah2</a><a href="blah_three" class="change_link">blah3</a>heres the html contained in a php file
Code: Select all
<a href="blah" class="change_link">blah</a>
<a href="blah_two" class="change_link">blah2</a>
<a href="blah_three" class="change_link">blah3</a>and the css
Code: Select all
.change_link {
position:relative;
top:0px;
left:70px;
background-color:#cccccc;
z-index:3;
font-size: 0.8em;
line-height:12pt;
padding:4px 5px 5px;
color:#4b4b4b;
margin:0;
border:1px solid #cccccc;
border-bottom:1px solid #a09f9f;
}