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?
LVL 9
JonMnyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris StanyonWebDevCommented:
Can't really tell what's going on from that. You'd need to give us some context - i.e. show us the HTML and any styles that may cascade down. The easiest way to do this is to show us a page that demonstrates your problem. A CSS block doesn't work in isolation!

If you want rounded edges, have you considered using the border-radius option in your CSS.
0
COBOLdinosaurCommented:
Depends on the versionof IE.  The old junk does not support border-radius, so I suspect it is in quirksmode which beats up chrome sometimes.

We need a link to the page so we don't spend our time making guesses.

Cd&
0
JonMnyAuthor Commented:
ok well I was able to solve it, I added float:inherit and it worked in both.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JonMnyAuthor Commented:
Thanks for your input
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.