Jak przywrócić komentarze i sprawić by to wszystko wyglądało jak na drugim screenie?

Dobrze:

Podam część kodu i oba style.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> $(document).ready(function() { $("#container p").not("#container li:first").slideUp("slow"); $("#container h2 img").click(function() { $("#container p:visible").slideUp("slow"); $(this).parent("#container h2").next("#container p").slideDown("slow"); }); }); </script> </head> <body> <div id="container"> <ul class="ulowyklas"> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse nunc dolor, pellentesque nec, hendrerit ut, vehicula eget, arcu. Nullam porttitor tortor eget magna varius varius. Nunc at nisl. Nullam vulputate tincidunt enim. Mauris condimentum arcu. Nulla est pede, ullamcorper eget, venenatis at, dictum a, ipsum. Integer dolor. Phasellus aliquam fermentum arcu. Phasellus nec ipsum a tortor vehicula eleifend. Nam porttitor nulla. </p> </li> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse nunc dolor, pellentesque nec, hendrerit ut, vehicula eget, arcu. Nullam porttitor tortor eget magna varius varius. Nunc at nisl. Nullam vulputate tincidunt enim. Mauris condimentum arcu. Nulla est pede, ullamcorper eget, venenatis at, dictum a, ipsum. Integer dolor. Phasellus aliquam fermentum arcu. Phasellus nec ipsum a tortor vehicula eleifend. Nam porttitor nulla. </p> </li> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse nunc dolor, pellentesque nec, hendrerit ut, vehicula eget, arcu. Nullam porttitor tortor eget magna varius varius. Nunc at nisl. Nullam vulputate tincidunt enim. Mauris condimentum arcu. Nulla est pede, ullamcorper eget, venenatis at, dictum a, ipsum. Integer dolor. Phasellus aliquam fermentum arcu. Phasellus nec ipsum a tortor vehicula eleifend. Nam porttitor nulla. </p> </li> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse nunc dolor, pellentesque nec, hendrerit ut, vehicula eget, arcu. Nullam porttitor tortor eget magna varius varius. Nunc at nisl. Nullam vulputate tincidunt enim. Mauris condimentum arcu. Nulla est pede, ullamcorper eget, venenatis at, dictum a, ipsum. Integer dolor. Phasellus aliquam fermentum arcu. Phasellus nec ipsum a tortor vehicula eleifend. Nam porttitor nulla. </p> </li> </ul> </div> </body> </html>
* { margin : 0; padding : 0; } html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset, input { margin : 0; padding : 0; } body { background : #f7f7f7; font-size : 12px; font-family : Tahoma, Arial, Helvetica, sans-serif; color : #333; text-align : left; } h1, h2, h3, h4, h5, h6 { font-family : Georgia, "Times New Roman", Times, serif; font-weight : bold; } h1 { font-size : 24px; line-height : 30px; } h2 { font-size : 20px; line-height : 26px; } h3 { font-size : 16px; line-height : 24px; } h4 { font-size : 14px; line-height : 20px; } h5 { font-size : 14px; line-height : 20px; } h6 { font-size : 14px; line-height : 20px; } small { font-size : 10px; line-height : 16px; } dl { font-size : 12px; } #header { z-index : 1; position : relative; margin : 30px auto 0; height : 60px; } #header h1 { float : left; padding : 0 0 0 10px; font-size : 28px; font-family : Georgia, "Times New Roman", Times, serif; } #header h1 a { color : #222; line-height : 30px; } #header h2 { float : left; height : 20px; overflow : hidden; line-height : 18px; padding : 10px 0 0 20px; color : #222; font-size : 12px; font-weight : normal; } #rss { position : absolute; bottom : -10px; right : 120px; } .entry ul, .entry ol { margin : 0 30px 18px; } .entry li { line-height : 18px; } .entry hr { display : block; } .entry p { line-height : 18px; margin : 0 0 18px 0; } .entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 { margin : 0 0 18px 0; color : #555; } .entry { font-size : 13px; overflow : hidden; padding : 0 10px; } .entry a { color : #333; text-decoration : underline; } .entry a:hover { color : #4a630f; text-decoration : none; } .entry img { background : #fff; border : 1px solid #ddd; padding : 5px; } .entry table { background : #fff; border : 1px solid #ccc; border-width : 2px; border-collapse : collapse; margin : 5px 0 10px; } .entry th, .entry td { border : 1px solid #ccc; padding : 3px 10px; text-align : left; vertical-align : top; } .entry .entry tr.even td { background : #f7f7f7; } .entry th { background : #edeff0; } .entry blockquote { color : #555; padding : 10px; margin : 0 0 20px; border : 1px solid #ddd; background : #eee; } .entry code { background : #333; color : #ddd; } .entry pre { font-size : 12px; width : 95%; line-height : 16px; overflow : auto; font-family : "Courier New", FixedSys; color : #555; background : #fafafa; border-top : 1px solid #ccc; border-bottom : 1px solid #ccc; border-left : 15px solid #ccc; border-right : 1px solid #ccc; padding : 0 5px 16px; margin : 0 0 20px; } .entry p.read-more a, .entry p a.more-link { display : inline; font-weight : bold; color : #4a630f; text-decoration : none; background-position : 0% -20px; } .entry p a.more-link { display : block; margin-top : 18px; } .entry p.read-more a:hover, .entry p a.more-link:hover { color : #999; }
i ostatni:
#container { width : 630px; margin : 0 auto; font : 11px tahoma, verdana, sans-seriff; color : #908673; line-height : 15px; margin : 0; padding : 0; border : 0; list-style : none; } #container div { width : 630px; margin : 0 auto; font : 11px tahoma, verdana, sans-seriff; color : #908673; line-height : 15px; margin : 0; padding : 0; border : 0; list-style : none; } ul.ulowyklas { list-style : none; margin : 0; padding : 0; border : 0; } #container li p { padding : 4px; margin : 0; border : 0; } img.ulowyklas { border : 0; padding : 0px; }
Style się kłócą, mimo klas i id, dalej to samo. jak z tego wybrnac?
Cały ten kod jest w divie z klasą entry jak widać.
Jak sobie z tym poradzić?
@edit
zrobione. milion prob na stylach i sie udało.