sepoto Posted February 12, 2011 Share Posted February 12, 2011 As is the usual case with CSS it does not work for me on the first attempt or the second or the third and sometimes not even on the 50'th but I think I will eventually figure it out. Black border around my <div> I know it is possible I have even done it before. Thanks for any help. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd"><html><head><title>Drupal Home</title><style>body {width: 1002px;margin-left: auto;margin-right: auto;border-style: solid;border-color: black;border-width: 1px;border-top-width: 0px;border-bottom-width: 0px;}.fortbox {display: table-cell;width: 600px;height: 600px;max-width: 600px;max-height: 600px;overflow: hidden;border: 1px;border-style: solid:border-width: 1px;}</style></head><body><div class="fortbox"></div></body></html> Link to comment Share on other sites More sharing options...
sepoto Posted February 12, 2011 Author Share Posted February 12, 2011 It would really help out if that were a ';' not a ':'. Lol... stupid me. Link to comment Share on other sites More sharing options...
shadowayex Posted February 19, 2011 Share Posted February 19, 2011 It would really help out if that were a ';' not a ':'. Lol... stupid me.You could simplify that to border: 1px solid black; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.