Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Aug 2006
    Posts
    181
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Table positioned wrong

    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!

  • #2
    New Coder
    Join Date
    Nov 2006
    Location
    Bristol, UK
    Posts
    85
    Thanks
    6
    Thanked 6 Times in 6 Posts
    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.
    Never argue with an idiot... they'll bring you down to their level and beat you with experience...

  • #3
    Regular Coder
    Join Date
    Aug 2006
    Posts
    181
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #4
    Regular Coder
    Join Date
    Aug 2006
    Posts
    181
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!

  • #5
    New Coder
    Join Date
    Nov 2006
    Location
    Bristol, UK
    Posts
    85
    Thanks
    6
    Thanked 6 Times in 6 Posts
    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.
    Never argue with an idiot... they'll bring you down to their level and beat you with experience...

  • #6
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by arne2 View Post
    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:
    Code:
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •