Why doesn't Mozilla and Opera recognize div border styles when IE does?
Hi, wondering why Mozilla and Opera don't seem to recognize div borders. Here's an example. Is there a border all three recognize? Thanks!
background-color: rgb(204, 0, 0);
border-left: 5px #FF0000; border-top: 5px #FF0000; border-right: 5px #A90000; border-bottom: 5px #A90000;
try-----> border: 1px solid #666;
It has to do with the order in your css. border-style:solid will pick up on a solid color of the previous spec. So try placing that after your border-left, etc. and see if it works. I'm pretty sure the standard is written that way.
is the long way if you choose that as well
i think you can do this as well
those will over-riide the existing border color but the width will be the same i think.
border:solid 5px #666;
Man, you were both right. Perfect! Thank you very much!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)