Ask Experts Questions for FREE Help !
Ask
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member
     
    #1

    Mar 24, 2006, 12:07 PM
    Cell Border Color: Firefox vs. IE.
    Here I've colored the cell border Red (FF0000).

    In IE it is the candy apple red that I want it to be
    But
    In FF, it's an odd two toned color and includes a "bevel".

    I love the bevel that FF shows but hate the color.

    Anyone know how I can have the best of both worlds?:
    1. Have it appear more like candy apple red in FF, and
    2. Show the bevel in IE?

    Thanks!
    LTheobald's Avatar
    LTheobald Posts: 1,051, Reputation: 127
    Ultra Member
     
    #2

    Mar 27, 2006, 05:45 AM
    Quote Originally Posted by rickj
    1. Have it appear more like candy apple red in FF
    Try this:
    Code:
    <table align="center" style="border: 10px solid #FF0000; width: 90%;">
    Quote Originally Posted by rickj
    2. Show the bevel in IE?
    Just change the "solid" to either "inset" or "outset" (depending on what way round you want the darker/lighter shades.

    Code:
    <table align="center" style="border: 10px inset #FF0000; width: 90%;">
    <table align="center" style="border: 10px outset #FF0000;  width: 90%;">
    Links:
    More on the "border" attribute
    More on border styles
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member
     
    #3

    Mar 27, 2006, 05:51 AM
    I'll try that one. Just yesterday I found this one, which designates a color for each "wall" of the table:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    <table width="90%" border="10" align="center" bordercolor="#FF0000">
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table>
    
    </body>
    </html>
    LTheobald's Avatar
    LTheobald Posts: 1,051, Reputation: 127
    Ultra Member
     
    #4

    Mar 27, 2006, 08:44 AM
    Rick, I think you posted the wrong code - that's the code for the original example. Nothing to do with a colour for each wall :)
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member
     
    #5

    Mar 27, 2006, 08:59 AM
    Oops. I see!

    Here it is:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    <table width="90%" align="center" style="border: 10px solid; border-color: #FF0000 #B22222 #FF0000 #B22222">
      <tr>
        <td style="border: 1px solid" bordercolor="000">&nbsp;</td>
      </tr>
    </table>
    
    <p>&nbsp;</p>
    <p>Note, colors are designated for each border...this gets a beveled look in
      IE. </p>
    </body>
    </html>

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Need name of older movie [ 2 Answers ]

It most probably was on television late 70's early 80's. There was a woman who cured the sick by touching them. I remember one scene in which she stopped a little girl's nosebleed. I know it's not much, please help if you can. Thanks!!

Border size in CSS and Firefox [ 2 Answers ]

This syle: Width:111px; border-top-width:1px; border-left-width:1px; border-right-width:1px; border-bottom-width:1px; border-color:#B0C6EB; border-style:solid; Works good in IE but has wrong height in Firefox. What I can do? http://www.mightybook.com

Mountain chains that border great mid-continental basin [ 1 Answers ]

What are the two major mountain chains that border the great mid-continental basin drained by the Mississippi River system?

Black Border Around Monitor [ 6 Answers ]

Using 98 SE---I have this black border on the left and right of each web page about an inch wide--how to I get rid of this and go back to full screen--? --Thank you--

Runny eye in Border Collie [ 1 Answers ]

My 8 yr old Border Colie has got a very runny eye (clear discharge) and some localised hair loss around the eye. I was hoping someone could help me regarding what the problem might be.


View more questions Search