Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    2
    Member #
    16953
    Is there an html code for makeing a table or image 100% the size of browsers display?

  2.  

  3. #2
    Senior Member diddy's Avatar
    Join Date
    Jun 2008
    Location
    Sydney, Australia
    Posts
    502
    Member #
    16955
    Quote Originally Posted by Nds15
    Is there an html code for makeing a table or image 100% the size of browsers display?
    hey, Nds15JIs

    I'm diddy and this is my first post. Just answering your question, there is a html code that does make a table 100% of the browsers display.
    Normaly, your table code will look like this:
    <table bgcolor="#000000" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td>
    </td>
    </tr>
    </table>

    Just add the following attributes to the table tag:
    width="100%" height="100%"
    So your code will now look like this:
    <table bgcolor="#000000" border="0" cellpadding="0" cellspacing="0" width="100% height="100%">
    <tr>
    <td>
    </td>
    </tr>
    </table>

    Obviously the cellpadding cellspacing border and bgcolor you can change to suit your needs.


    Also, to make images 100% of browser window, you can do it using CSS i think but I will get back to you on that one.


    Hope this helps

  4. #3
    Junior Member
    Join Date
    Jun 2008
    Posts
    2
    Member #
    16953
    thank you for your help i got the problem

  5. #4
    Senior Member diddy's Avatar
    Join Date
    Jun 2008
    Location
    Sydney, Australia
    Posts
    502
    Member #
    16955
    glad that helped


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:34 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com