...

View Full Version : Problem - floating tables and paragraph/header text



haydskies
11-14-2011, 08:18 AM
Hi all

Moderate beginner building an organisation's website using wordpress.

I am putting images and captions in tables on a few of the site's pages. I am using the style="float:right" code to make the table float above paragraph text.

However I have an issue in that when I switch from paragraph to header text (e.g. < h3 >), the table will not float above the different text type; rather it forces the text down.

Have a look what I mean:

http://timorharii.org/our-programs

The large space before 'Drop-in Centres' breaks the flow and is ugly.

Any suggestions for how to make a table float above both paragraph text and header text?

Excavator
11-14-2011, 08:24 AM
Hello haydskies,
You put a clear: both; on all your heading tags here -
h1, h2, h3, h4, h5, h6 {
clear: both;
color: #111111;
font-family: Helvetica,Arial,"Lucida Grande",Verdana,sans-serif;
}

Remove that and see what happens.

CSS clear property (http://www.w3schools.com/cssref/pr_class_clear.asp).

haydskies
11-14-2011, 08:29 AM
Legend! A million thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum