<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link type="text/css" rel="stylesheet" href="divedit.css">
</head>
<body>
<div class="survey_title">
<div class="inner">
<h1 class="title_content cke_editable cke_editable_inline cke_contents_ltr cke_show_borders" contenteditable="true" tabindex="0" spellcheck="false" style="position: relative;" role="textbox" aria-label="false" aria-describedby="cke_34">标题dsdfd><br><br><br></h1>
</div>
</div>
</body>
</html>
-------------------------------------------------------------------
divedit.css
* {
background-repeat: no-repeat;
}
div {
display: block;
}
.survey_title {
border-top: 2px solid transparent;
border-bottom: 2px solid transparent;
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
-ms-word-break: break-all;
word-break: break-all;
}
.survey_title .inner {
margin-left: auto;
margin-right: auto;
max-width: 710px;
}
.title_content {
padding: 10px 0;
font-size: 24px;
color: #333333;
font-weight: normal;
margin: 0;
word-break: break-word;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
}
.cke_editable {
cursor: text;
}