Solved

CSS: equivalent of break?

Posted on 2012-04-06
3
172 Views
Last Modified: 2012-04-06
how should i adjust the CSS for (which rule?)
to get the main post content beginning with
Beautiful Bar Harbor
text that is on the right
to begin a "new paragraph" vertically on this  home page:
Vacation Home Rentals in Maine
thanks for your help
0
Comment
Question by:willsherwood
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
designatedinitializer earned 500 total points
ID: 37818042
Have you noticed that you have a syntax error in your PHP?
That very <div> in which is the text you mention, this:

<div class="post-4 type-page status-publish hentry" id="post-<php the_ID(); ?>">

should probably be this:

<div class="post-4 type-page status-publish hentry" id="post-<?php $the_ID(); ?>">
0
 
LVL 7

Assisted Solution

by:designatedinitializer
designatedinitializer earned 500 total points
ID: 37818051
...regarding CSS, you might want to place the following rule at the bottom of your CSS:

h2 {
    clear: both;
}
0
 

Author Closing Comment

by:willsherwood
ID: 37818063
both great points.  many thanks!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now