HTML and PHP, Creating an HTML Email with two columns

dwelry

New Member
Okay, so my issue is I want two columns. I want information about the current schools headmaster and some other people's titles and their names on the left with the actual letter on the right. However, all the people's titles and there names are displaying above the letter instead of the left. I was wondering if someone can look over my code and tell me what I missed. I think it is probably a dumb syntax error or I forgot to declare a line but I just can't see it.Thanks\[code\] These are the headers:$headers .= "MIME-Version: 1.0\r\n";$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";And this is the message:$message = "<HTML><HEAD><STYLE type=\"text/css\">body {margin-top: 0px;margin-left: 0px;}#page_1 {position:relative; overflow: hidden;margin: 169px 0px 121px 34px;padding: 0px;border: none;width: 782px;}#page_1 #id_1 {float:left;border:none;margin: 98px 0px 0px 0px;padding: 0px;border:none;width: 182px;overflow: hidden;}#page_1 #id_2 {float:left;border:none;margin: 0px 0px 0px 0px;padding: 0px;border:none;width: 600px;overflow: hidden;}.ft0{font: bold 13px 'Times New Roman';text-decoration: underline;color: #47744c;line-height: 15px;}.ft1{font: bold 12px 'Times New Roman';text-decoration: underline;color: #47744c;line-height: 14px;}.ft2{font: bold 12px 'Times New Roman';color: #47744c;line-height: 15px;}.ft3{font: bold 12px 'Times New Roman';text-decoration: underline;color: #47744c;line-height: 13px;}.ft4{font: italic bold 12px 'Times New Roman';color: #47744c;line-height: 14px;}.ft5{font: italic bold 12px 'Times New Roman';color: #47744c;line-height: 15px;}.ft6{font: 16px 'Times New Roman';line-height: 19px;}.ft7{font: italic 12px 'Times New Roman';line-height: 15px;}.ft8{font: 15px 'Arial';line-height: 17px;}.p0{text-align: left;margin-top: 0px;margin-bottom: 0px;}.p1{text-align: left;margin-top: 13px;margin-bottom: 0px;}.p2{text-align: left;margin-top: 1px;margin-bottom: 0px;}.p3{text-align: left;margin-top: 12px;margin-bottom: 0px;}.p4{text-align: left;margin-top: 11px;margin-bottom: 0px;}.p5{text-align: left;margin-top: 2px;margin-bottom: 0px;}.p6{text-align: left;margin-top: 25px;margin-bottom: 0px;}.p7{text-align: left;padding-right: 384px;margin-top: 73px;margin-bottom: 0px;}.p8{text-align: left;margin-top: 16px;margin-bottom: 0px;}.p9{text-align: left;padding-right: 123px;margin-top: 18px;margin-bottom: 0px;}.p10{text-align: left;padding-right: 123px;margin-top: 33px;margin-bottom: 0px;}.p11{text-align: left;margin-top: 53px;margin-bottom: 0px;}.p12{text-align: left;margin-top: 54px;margin-bottom: 0px;}.p13{text-align: left;padding-right: 131px;margin-top: 17px;margin-bottom: 0px;}.p14{text-align: left;margin-top: 0px;margin-bottom: 0px;white-space: nowrap;}.p15{text-align: left;padding-left: 29px;margin-top: 0px;margin-bottom: 0px;white-space: nowrap;}.td0{padding: 0px;margin: 0px;width: 115px;vertical-align: bottom;}.td1{padding: 0px;margin: 0px;width: 103px;vertical-align: bottom;}.tr0{height: 17px;}.tr1{height: 22px;}.t0{width: 218px;margin-left: 96px;margin-top: 17px;font: 15px 'Arial';}</STYLE></HEAD><BODY><DIV id=\"page_1\"><DIV><DIV id=\"id_1\"><P class=\"p0 ft0\">Board of Trustees</P><P class=\"p1 ft1\">REDACTED</P><P class=\"p6 ft4\">
 
Back
Top