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

Thread: doctype error

  1. #1
    New Coder
    Join Date
    Sep 2011
    Posts
    50
    Thanks
    4
    Thanked 0 Times in 0 Posts

    doctype error

    My website is appearing differently in laptop. On desktop monitor(square screen), my website is appearing correctly, but on laptop(rectangular screen), there is added a blank space too, though my page contents are loaded correctly. I think this is due wide size of laptop screen. I have added the doctype to me webpage too, but the same problem. So, please tell me what is the problem and its solution too.

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    We'll need a link to your page to help with this one.

  • #3
    New Coder
    Join Date
    Sep 2011
    Posts
    50
    Thanks
    4
    Thanked 0 Times in 0 Posts
    www.nimrans.com
    Check pls. This is my link. You will notice an extra space in the right side in the laptop if u have a wide screen laptop, but in desktop, you will not see that space.
    Last edited by sunnynosid; 10-01-2011 at 11:32 AM.

  • #4
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,343
    Thanks
    11
    Thanked 288 Times in 287 Posts
    This isn't a "laptop vs desktop" issue. With no "width" defined for your table, it will be just the with necessary to hold the text you've put into it. It looks like you've put in that long string of "......" to make it just the size of your desktop monitor. If you added more "..." it would eventually be the size of your laptop. If you wanted the table to extend to the width of whatever size browser anyone used, you could add: width="100%" to the table tag.

    Dave

  • #5
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    FYI: The use of tables for making layout is very bad!
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #6
    New Coder
    Join Date
    Sep 2011
    Posts
    50
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Thanks for helping me.


  •  

    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
    •