i have made a text area, added a text editor but when i view the text area on the page the bullet points are sitting outside the DIV
i am using php mysql and using
<textarea name="landlordsTXT" id="landlordsTXT" style="width: 610px; height: 200px"><?php echo nl2br($row_Recordset1['landlordsTXT']); ?></textarea>
<script>
$('#landlordsTXT').wysihtml5();
</script>
<script src="lib/js/wysihtml5-0.3.0_rc3.js"></script>
<script src="lib/js/jquery-1.7.1.min.js"></script>
<script src="lib/js/prettify.js"></script>
<script src="lib/js/bootstrap.min.js"></script>
<script src="src/bootstrap-wysihtml5.js"></script>
thanks in advance
Bullet placement is controlled with CSS margins & padding on unordered lists <ul> <li>.
If you use a CSS reset, you may need to add margins & padding to your lists.
ul li {
margin-left: 45px; /**text indent**/
padding-left: 18px; /**space from bullet**/
}
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
<div ="DivName">
<h3>Heading text goes here...</h3>
<ul>
<li>list item</li>
<li>list item<li>
<li>list item</li>
</ul>
</div>
CSS:
#divName h3 {margin:0; padding:0;}
#divName ul li {margin-left: 45px; padding-left: 18px}
Nancy O.
Message was edited by: Nancy O. Make that margin-left and padding-left.
Hello Jonathan,
you could have a look at my bullets test page, where I've "played" a little bit with different spacing variants. Here is the link:
http://hansgd.de/AdobTest/bullets/bulletsAbstandNur.php
Hans-Günter
North America
Europe, Middle East and Africa
Asia Pacific