e22jolleyp Posted October 6, 2007 Share Posted October 6, 2007 I have recently used a contribution to fix my site centrally and add a border, however when I enter the code it does not work. I am using Dreamweaver and below is how it diplays the faults with the highlighted ones being underlined. BODY { text-align: center; background: #ffffff; color: #000000; margin: 0px; } .fixcentre { width: 758px; border: solid; border-width: 1px; background: #ffffff; color:#000000; margin: auto; margin-top: 20px; text-align: left; Help appreciated.. Regards Paul Link to comment Share on other sites More sharing options...
Guest Posted October 6, 2007 Share Posted October 6, 2007 You need to change the border declaration to border-style and also add a border colour for it to display properly. I personally prefer to declare all border properties in one statement. eg: border: 1px solid #000000; Link to comment Share on other sites More sharing options...
e22jolleyp Posted October 6, 2007 Author Share Posted October 6, 2007 Cheers, I will give it a whirl!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.