Jump to content

IE 8 Border on <th>


unemployment

Recommended Posts

I can't get my borders to show up correctly in IE8. IE7 and firefox handle it perfectly. Some how the background color is going on top of my borders.

 

table.search_results thead th{
padding: 6px 6px 4px;
color: #363636;
height:5px;
width: 1%;
white-space: nowrap;

/* Opera */
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iZ3JhZGllbnQiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdHlsZT0ic3RvcC1jb2xvcjpyZ2JhKDI0NSwyNDUsMjQ1LDEpOyIgLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0eWxlPSJzdG9wLWNvbG9yOnJnYmEoMjI3LDIyNywyMjcsMSk7IiAvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IGZpbGw9InVybCgjZ3JhZGllbnQpIiBoZWlnaHQ9IjEwMCUiIHdpZHRoPSIxMDAlIiAvPjwvc3ZnPg==);

/* Firefox */
background: -moz-linear-gradient( top, rgba(245,245,245,1), rgba(227,227,227,1) );

/* Chrome & Safari */
background: -webkit-gradient( linear, left top, left bottom, color-stop( 0, rgba(245,245,245,1) ), color-stop( 1, rgba(227,227,227,1) ) );

/* IE5.5 - IE7 */
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#FFF5F5F5,EndColorStr=#FFE3E3E3);

/* IE8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#FFF5F5F5,EndColorStr=#FFE3E3E3)";
}
table.search_results thead th.first{
border-left: 1px solid #cdcdcd;
}
table.search_results thead th.last{
border-right: 1px solid #cdcdcd;
}

Link to comment
https://forums.phpfreaks.com/topic/230245-ie-8-border-on/
Share on other sites

  • 3 weeks later...

Outline? well that is the last thing i would think of with a question like:

I can't get my borders to show up correctly in IE8. IE7 and firefox handle it perfectly. Some how the background color is going on top of my borders.

..since outlines do not take up any space.

 

Link to comment
https://forums.phpfreaks.com/topic/230245-ie-8-border-on/#findComment-1195241
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.