Log in

View Full Version : Possible to remove border shadows?



Chris P. Bacon
01-21-2007, 01:50 PM
Hi,

I want to have a border around some text, that has a certain color. But when I make a border, 1 px, and make it black, it gets kinda grey with a highlighted side and a shadowed side. How can I make it just to be one flat color?

jurgenf
01-21-2007, 02:06 PM
border-collapse: collapse;

in css is a possilble solution

Twey
01-21-2007, 02:45 PM
border: 1px solid black;

Chris P. Bacon
01-21-2007, 05:09 PM
Thanks for the replys, guys. :)

Chris P. Bacon
01-22-2007, 07:23 PM
Hmm, though it got solved, but it didnt. It's showing fine in IE7 where it's just a flat color all way around, but in Firefox the border got a 3d look. Is there any way to turn this off? I tried both of your codes, with no luck.

Here is an example of the diffrence: http://img241.imageshack.us/img241/5233/borderexamples0lj.jpg
They are both set to color #FFFFFF.

If it helps, im working in Dreamweaver.


While im at it, i got a second question:
Is it possible to make dynamically changing background color? Like, if a user have IE7, the background color will change to #FFFFFF, if the user got Firefox, the background color will change to #000000?