Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134560

tmeche87 on "I can't get css float to work!"

$
0
0

Hey!

I created a custom template called "Projects". It is listing the content that I typed for a project using the function the_content().
I created a CSS class called "bibliography". This is the code for my CSS class:

.bibliography {
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid black;
    float: right;
    font-size: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-top: 0;
    padding: 10px 5px 0 10px;
    width: 250px;
}

I am using the CSS class "bibliography" to display some text that is related to the project. This related text is supposed to float on the side of the project text. However, the project text is only being displayed either above or below the "related text". I have tried many approaches, but I can't seem to fix the problem.

Can anybody help me!?!

Thank you!


Viewing all articles
Browse latest Browse all 134560

Trending Articles