the_content() not working with css
-
hi there i have a problem with the get_content() function in my loop. Why isn’t the text returned by the_content() being styled when the get_time() function is styled just fine. the syntax is exactly the same…
<div> <p class="NewsPostContent"><?php the_content();?> </div> <div> <p class="NewsPostDate"><?php the_time('F j, Y');?> </div>} .NewsPostBody { margin-top:2px; margin-bottom: 5px; margin-left: 20px; margin-right: 20px; font-family: "Arial"; font-size: 14px; color: #888; } .NewsPostDate { margin-left: 20px; margin-right: 20px; margin-top: 7px; font-family: "Arial"; font-size: 14px; color: #666; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘the_content() not working with css’ is closed to new replies.