Solved

CSS: equivalent of break?

Posted on 2012-04-06
3
176 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

749 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