我在我的 html 代码 css 属性 float left 属性中使用 syncfusion pdf 报告,我应用在 div 上的属性不起作用请给出任何建议
这是我的代码
"<div name=\"divname\" style=\"width: 450px; float: left; text-align: right; height: 30px;\">"+
"<div style=\"width: 100px; text-align: right; height: 30px; float: left; position: relative;\">"+
"<span>Client Name: </span>"+
"</div>"+
"<div style=\"width: 325px; padding-left: 10px; text-align: left; height: 30px; position: relative; float: left;\">"+
"1233"+
"</div>"+
"</div>"+
"<div name=\"divcompany\" style=\"width: 450px; float: left; text-align: right; height: 30px;\">"+
"<div style=\"width: 100px; text-align: right; height: 30px; float: left; position: relative;\">"+
"<span>Company: </span>"+
"</div>"+
"<div style=\"width: 325px; padding-left: 10px; text-align: left; height: 30px; position: relative; float: left;\">"+
"1233"+
"</div>"+
"</div>"+