Link to home
Start Free TrialLog in
Avatar of JonMny
JonMny

asked on

CSS issue in IE /Chrome

I have this code for adding a rounded edge to a tab

   
background: transparent url('images/tab_right.gif') no-repeat right top;
    padding-left: 0px;
	padding-right: 7px;
	margin: 0px;
    line-height: 23px;
    white-space: nowrap;
  	display: inline;
	position: relative;
    border-bottom: 1px solid black!important;
    overflow: hidden;
    height: 23px;

Open in new window


it works in IE but in chrome in safari it only works if I add

float:right


the only problem is that if I add that then It messes up IE is there a way I can have other browsers ignore this?
SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JonMny
JonMny

ASKER

Thanks for your input