unemployment Posted March 10, 2011 Share Posted March 10, 2011 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 More sharing options...
cssfreakie Posted March 11, 2011 Share Posted March 11, 2011 May i assume you have a valid doctype? if so, your css for IE 8 contains an error, got a live site to see it? Link to comment https://forums.phpfreaks.com/topic/230245-ie-8-border-on/#findComment-1185941 Share on other sites More sharing options...
unemployment Posted March 31, 2011 Author Share Posted March 31, 2011 May i assume you have a valid doctype? if so, your css for IE 8 contains an error, got a live site to see it? FYI I fixed this using outline Link to comment https://forums.phpfreaks.com/topic/230245-ie-8-border-on/#findComment-1195192 Share on other sites More sharing options...
cssfreakie Posted March 31, 2011 Share Posted March 31, 2011 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.