Jump to content

Recommended Posts

Posted

This is the oddest thing - I'm working on a website where I'm applying a thin right border to a division via

	border-right: 5px #fff solid;

I did not understand why the border only showed up in FireFox - nothing in IE8, Opera, Safari, or Chrome. I googled and didn't come up with anything useful, so just to see, I changed the #fff to #ffffff - and voila - my white border was visible in all browsers.

 

Has anyone ever heard of a browser-related hex-abbreviation issue?

Posted

That's a new one. Not sure if this makes a difference but typcially, I apply the hex color at the end of the shorthand.

 

border-right: 5px solid #fff;

Posted

Too weird - I just changed it back to 3 - and now I see the border in all browsers. No idea why the heck I didn't the first time.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...