jasonc Posted October 28, 2010 Share Posted October 28, 2010 below is a large border version to show what i mean. the border seems to be 3d like, jumping up from the page. how do i get this using CSS <table width="100%" height="100" border="30"> <tr> <td> </td> </tr> </table> Link to comment https://forums.phpfreaks.com/topic/217091-how-to-get-same-effect-as-table-border-using-css/ Share on other sites More sharing options...
michaellunsford Posted November 1, 2010 Share Posted November 1, 2010 It's just a simple border - you could do this with just about anything, and with any width border. Here's an approximation to the way my browser renders your code. /* css stylesheet */ .threedborder { width:100%; height:100px; border: 30px solid #CCCCCC; border-bottom-color: #5A5A5A; border-right-color: #5A5A5A; } <table class="threedborder"> <tr> <td> </td> </tr> </table> Link to comment https://forums.phpfreaks.com/topic/217091-how-to-get-same-effect-as-table-border-using-css/#findComment-1128976 Share on other sites More sharing options...
nano Posted November 2, 2010 Share Posted November 2, 2010 I think he is after the border-style property. Different options can be seen here: http://www.w3schools.com/css/css_border.asp You may be after the following: border: inset 1px #000; Good luck Link to comment https://forums.phpfreaks.com/topic/217091-how-to-get-same-effect-as-table-border-using-css/#findComment-1129423 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.