ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

CSS Rendering Question

January 25, 2012 4:40pm

Subscribe [2]
  • #1 / Jan 25, 2012 4:40pm

    johnciccolini

    25 posts

    Hi all,
    I’m creating my second site with ExpressionEngine and I’m having a problem getting my css to render on the following page: http://www.maleintellect.com/EE/index.php?/reviews

    I created the site without EE and you can see how the reviews on the page are supposed to look here: http://maleintellect.com/pressreviews.html

    Here is the code I’m using:

    <div id="reviewswrapper"> 
     {exp:channel:entries channel="reviews" limit="12"}
     
     {review_logo}
       {review_text}
     
                <hr>
                {/exp:channel:entries}    
               
       
              </div>

    Here is the css:

    #reviewswrapper {
     width: 840px;
     margin: 0 auto;
     padding: 0;
     font-family: "Times New Roman", Times, serif;
     font-size: 16px;
     line-height: 19px;
    } 
    
    
    #reviewswrapper p.review {
     font-weight: bold;
     padding: 30px 0;
     width: 90%;
     text-align: left;
    }
    
    p.review img {
     float: left;
     margin: -5px 15px 0 0;
    }

    I can’t see what the problem is.  Any help would be greatly appreciated.

  • #2 / Jan 25, 2012 5:52pm

    e-man

    1816 posts

    There are extra p tags wrapping the context inside your .review paragraph. Check the formatting for your {review_text} custom field and make sure it’s set to none.

  • #3 / Jan 25, 2012 6:02pm

    johnciccolini

    25 posts

    That was it!  Very much appreciated!  I’ll look at the rendered code from now on.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases