Solved

CSS: equivalent of break?

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
align Linkedin sign to the right page 5 55
Menu Selected on Chrome for Windows 13 22
Customizing jQuery UI Accordion CSS 3 28
Bootstrap 3 - Style a dropdown 1 12
When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…

828 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