Table CSS with Code:
<style type="text/css">.border {
border-style: solid;
background-color: #434343;
border-top-style: outset;
border-top-color: #7BB5C6;
border-top-width: 7px;
}
</style>
<div class="border" style="font-size:20px;color:white;"> Styles & Materials</div>
<div style="margin-left: 40px;">Your text data here.</div>
<style type="text/css">.border {
border-style: solid;
background-color: #434343;
border-top-style: outset;
border-top-color: #
<style type="text/css">.border2 {
border-style: solid;
background-color: #6F6F6F;
border-top-style: outset;
border-top-color: #EAA708;
border-top-width: 7px;
}
</style>
<div class="border" style="font-size:20px;color:white;"> Styles & Materials</div>
<div style="margin-left: 40px;">Your text data here.</div>
;
border-top-width: 7px;
}
</style>
<div class="border2" style="font-size:20px;color:white;"> Styles & Materials</div>
<div style="margin-left: 40px;">Your text data here.</div>
TIP: If you want your borders to look sharp on high-resolution displays you can use thin
instead of 1px
:)