Float Problem

Posted on 2011-05-09
Medium Priority
Last Modified: 2012-06-21
Hi Experts,

I'm having a trouble making post title (class="entry-title") float right next to its date (class="date") in wordpress site I'm testing.

I truly appreciate if someone can take a look at it.

I temporarily uploaded the file here ->Test Blog

Thank you!
Question by:Kokko
LVL 82

Expert Comment

ID: 35725389
Try something like:
<div class="date" style="float:left;width:5em;">Mar<br />22</div>

If it does what you want, then update your .date class in you css

Author Comment

ID: 35725506
Thank you, hielo, for the comment.  But it's not working.
LVL 82

Accepted Solution

hielo earned 2000 total points
ID: 35725702

        <div class="date" style="float:left;width:3em;">Mar<br />22</div> 
		<h2 class="entry-title" style="clear:none;"><a href="http://thedesignerhill.com/blog/2011/03/hi-there/" title="Permalink to hi there" rel="bookmark">hi there</a></h2> 

Open in new window

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 12

Expert Comment

ID: 35725787
hielo has it.

In your style.css file on line 35 h1 through h6 are told to clear: both.  Overriding this in the element style as hielo said should fix it.

Expert Comment

ID: 35726261

I can see the test blog in firefox, that entry title is appearing in right side of date... did you make any changes in the code? if not, please let me know I can provide you best solution,

Author Closing Comment

ID: 35743785
Thank you, hielo!

I thought I accepted yours as the solution on the same day I posted the question, but I guess I didn't do it right.  I'm sorry for the late response.

Again, thank you for the help!

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

840 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