...

View Full Version : Table positioned wrong



arne2
05-30-2007, 02:16 PM
Hi, i'm having a problem.
Just take a look at http://homesinspain.ltd.uk/browse.php?act=details&pid=1.
You'll see that the unique content of the page is put at the bottom of the page (the pictures of the houses,...). Why isn't it put at the top? PLUS why is the text so small sometimes, there are no 'small font' tags or something.

Thanks for the help already!

dudeshouse
05-30-2007, 02:22 PM
Looks to me like the div tag that your table is in is too narrow to fit in the gap, so is being pushed to the bottom of your page. Try reducing the width of that div...

Hope this helps.

arne2
05-30-2007, 03:03 PM
tried that already, didn't help but i'll try again although i think there's another problem, and the question remains, why are the letters so small?

arne2
05-30-2007, 03:18 PM
Ok, i'm sorry. There was indeed a table in the div that had a width that was to long to fit in.

Anyway, i'm still having the problem of the very small font size used.
I don't know where it got this small size from as I can't find a font size specification anywhere.

Any help would be much appreciated!
THANK YOU ALREADY VERY MUCH,dudeshouse!

dudeshouse
05-30-2007, 05:08 PM
You're welcome...

Dude, there is a LOT of errors with your code. I can see (at a quick look) at least 3 <body> and <head> tags and there should only be one... The only thing that appears to be controlling your font size is the table element in your site.css file. Also, there is no mention of the class myTDNormal1 that you've used in that table in your CSS file.

First thing I'd do is tidy up the html...

Cheers.

koyama
06-03-2007, 11:00 PM
Anyway, i'm still having the problem of the very small font size used. I don't know where it got this small size from as I can't find a font size specification anywhere.
You have this:


table{
font-size: 80%;
}
Remember that when you nest tables then the font-size is reduced to 80% for each nested table. That is why the font-size becomes so small for the inner table.

As dudeshouse says, you better fix your coding errors. Check them here (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fhomesinspain.ltd.uk%2Fbrowse.php%3Fact%3Ddetails%26pid%3D1).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum