Results 1 to 5 of 5

Thread: Possible to remove border shadows?

  1. #1
    Join Date
    Aug 2006
    Location
    The land of vikings
    Posts
    37
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Possible to remove border shadows?

    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?

  2. #2
    Join Date
    Jan 2007
    Location
    [nl] kwadendamme
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    border-collapse: collapse;

    in css is a possilble solution

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Code:
    border: 1px solid black;
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Aug 2006
    Location
    The land of vikings
    Posts
    37
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the replys, guys.

  5. #5
    Join Date
    Aug 2006
    Location
    The land of vikings
    Posts
    37
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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/5...xamples0lj.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?
    Last edited by Chris P. Bacon; 01-22-2007 at 07:34 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •