k0r54
06-04-2009, 05:56 PM
Hi,
I have searched around but have been unable to find anything relevant
My HTML code is below
<a href='linkurl'><div class="CLIndent"> </div>Link</a>
What i need is the CLIndent height to be the same as the anchor. The anchor height will grow if the text is wider than what I set it too.
I have had to make the URL like this and put the div inside the anchor because the way my php app is running.
#catmenu1_container a {
position:relative;
float:left;
outline:none;
padding:3px 0 3px 15px;
background:#fee29f;
width:135px;
border-bottom:1px solid #FFF;
line-height:13px;
}
#catmenu1_menuitems a div.CLIndent {
position:relative;
float:left;
margin:-3px 15px -3px -15px;
width:15px;
background:#FFF;
border-right:1px solid #F93;
}
Any ideas?
Thanks
k0r54
[/CODE]
I have searched around but have been unable to find anything relevant
My HTML code is below
<a href='linkurl'><div class="CLIndent"> </div>Link</a>
What i need is the CLIndent height to be the same as the anchor. The anchor height will grow if the text is wider than what I set it too.
I have had to make the URL like this and put the div inside the anchor because the way my php app is running.
#catmenu1_container a {
position:relative;
float:left;
outline:none;
padding:3px 0 3px 15px;
background:#fee29f;
width:135px;
border-bottom:1px solid #FFF;
line-height:13px;
}
#catmenu1_menuitems a div.CLIndent {
position:relative;
float:left;
margin:-3px 15px -3px -15px;
width:15px;
background:#FFF;
border-right:1px solid #F93;
}
Any ideas?
Thanks
k0r54
[/CODE]