s it possible to do code highlighting with CSS. Something similar to putting the [ vbcode] tags on here. At the moment all I have is #code { background-color: #c0c0c0; font-family: "Courier New"; font-size: 12px; } Code (markup): Are there styles to set the top and left borders of a region to black and the right and bottom borders to grey? This would give the slightly raised look to the region that the [ vbcode] tags do.
Here you can do one thing border-top:black;border-left:black; border-buttom:grey; That is your css code will be like this #code { background-color: #c0c0c0; border-top:black; border-left:black; border-buttom:grey; font-family: "Courier New"; font-size: 12px; }
#code { background-color: #c0c0c0; font-family: "Courier New"; font-size: 12px; border: 1px inset #000; }