Hi all,
I'm using line-height and a background with an <a>. This styles fine in the Canvas but the small view has the line-height removed everytime. I've tried to enter it in a style block and inline with no luck. It also works fine when I view the code by itself in a browser.
Any ideas?
My simple code is below:
CODE
<style type="text/css">
#myhome-yahoo-wrapper{margin: 0 auto;}
#myhome-yahoo{position:relative;width:385px;font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;}
#myhome-yahoo img{border:medium none;}
#myhome-yahoo a#residential{background:url("http://www.bjmarine.net/yahoo/homepage/button-sprite.png") no-repeat scroll 0 0 transparent;top:125px;}
#myhome-yahoo a#lettings{background:url("http://www.bjmarine.net/yahoo/homepage/button-sprite.png") no-repeat scroll 0 -90px transparent;top:185px;}
#myhome-yahoo a#residential:hover{background-position:0 -44px;}
#myhome-yahoo a#lettings:hover{background-position:0 -134px;}
#myhome-yahoo a#residential,#myhome-yahoo a#lettings{color:#FFFFFF;display:block;font-size:18px;font-weight:900;height:45px;[u][b]line-height:44px;[/b][/u]padding-left:3px;position:absolute;text-align:center;text-decoration:none;width:119px;left:20px;}
</style>
<div id="myhome-yahoo-wrapper">
<div id="myhome-yahoo">
<img src="http://www.bjmarine.net/yahoo/homepage/myhome-yahoo-bg.jpg?v=1.1" />
<a href="http://www.myhome.ie/residential/search" id="residential" style="[u][b]line-height:44px;[/b][/u]">For Sale</a>
<a href="http://www.myhome.ie/lettings/search" id="lettings" style="[u][b]line-height:44px;[/b][/u]">To Rent</a>
<a href="http://www.myhome.ie/" id="myhome-logo-link"><img src="http://www.bjmarine.net/yahoo/homepage/myhome-yahoo-logo.gif?v=1.1" alt="MyHome.ie Logo" title="MyHome.ie Logo" /></a>
</div>
</div>