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 5 of 5
  1. #1
    New Coder
    Join Date
    Dec 2010
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts

    IE doubles the cellpadding on website

    I am currently creating a website and have a few tables being used. For these tables I have set the cellpadding and it all works perfectly in Firefox, Chrome etc but when using Internet Explorer it doubles the cellpadding, therefore ruining the layout.

    Is there a way to stop this or has anyone had the same problems and found a way around it?

    Any help or suggestions are much appreciated...

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Any help or suggestions are much appreciated...
    Can we have a link to your page?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Dec 2010
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts
    here is a link to the site... http://co-project.lboro.ac.uk/users/cops3/FYP/

    If you compare IE to Chrome you will see the difference in the cellpadding for the main content of the page which is currently set to 10

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Add
    Code:
    *{margin:0;padding:0}
    into your CSS and check again.

    PS: Don't you know why using tables for layout is very bad? I'd recommend you to use something like http://bonrouge.com/2c-hf-fluid%28r%29.php
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    New Coder
    Join Date
    Dec 2010
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts
    ok cheers will give it a go, yea I know its pretty bad but this was just a quite project created by someone else that's been passed on to me so didn't bother changing it.


  •  

    Tags for this Thread

    Posting Permissions

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