Bear in mind I am not an avid coder. I'm trying to learn HTML and CSS hands-on by coding a simple one page eBay auction listing template for a product I'm trying to sell on eBay. How do I style the div containing content box and paragraph with in-line css? Please point out to me where I am making mistakes. Thanks I appreciate everyone's guidance. <div id="content_box"> <div style=""> <p> <h3>Contact us</h3> <br> <ul style="list-style-type:disc"> <li>Please contact us through eBay Messaging system before leaving a neutral or negative feedback. We try our best to ensure every buyer is treated as our only customer and that consumer is completely satisfied with their purchase. We can not resolve buyer's issues or freight shipping issues if they are left unknown to us.</li> <li>Please leave five stars in all feedback areas. We will do the same and leave buyer feedback once buyer confirms receipt of item and there's no further complaints.</li> </p> </div> </div> Code (markup):
Hai, You should use external css for this html. Because After sometime, you can easily moderate your style. /* --- html here --- */ <div id="content_box"> <div class="contact"> <h3>Contact us</h3> <br><ul> <li>Please contact us through eBay Messaging system before leaving a neutral or negative feedback. We try our best to ensure every buyer is treated as our only customer and that consumer is completely satisfied with their purchase. We can not resolve buyer's issues or freight shipping issues if they are left unknown to us.</li> <li>Please leave five stars in all feedback areas. We will do the same and leave buyer feedback once buyer confirms receipt of item and there's no further complaints.</li> </ul> </div> </div> /* -- css here --- */ #content_box { width:auto; /* you can change the size for your design. */ height:auto; float:left; } #content_box .content { width:5oopx; height:300px; float:left; } #content_box .content ul { margin:0px; padding:0px; } #content_box .content ul li { list-style-type:disc; float:left; width:auto; line-height:18px; } #content_box .content h3 { font-size:13px; font-family:arial; } All the best...