Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Tricks using Tables
Your Ad Here

Tricks using Tables

Browse Pages: << < 3  4  5  6  7  > >>

Example

Okay, so you just spent $12 million on Van Gogh's Starry Night and can't afford a frame. Here is one we can build very quickly using economical recycled electrons.

The idea is to nest one table inside another. The outer table forms the frame and maroon matting, while the inner table is the black matte.

Note: although the effect will be similar in Netscape and MSIE, they will be different. If you have both browswers, be sure to take a peek!

Sample Picture

source code

<TABLE BGCOLOR="#990B00" BORDER="5" CELLPADDING="5" 
    CELLSPACING="5">
  <TR ALIGN="CENTER">

   <TD>
    <TABLE BGCOLOR="#000000" BORDER="0" CELLPADDING="10" 
         CELLSPACING="10">
     <TR ALIGN="CENTER">
      <TD>
       <IMG SRC="/dimages/starry.jpg" WIDTH="127" 
            HEIGHT="105" BORDER="0">
      </TD>

     </TR>
    </TABLE>
   </TD>
  </TR>
</TABLE>
</CENTER>

See Also:



Author's URL: Jeff Singer
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
Browse Pages: << < 3  4  5  6  7  > >>
print this page subscribe to newsletter subscribe to rss

HTML is Hyper Text Markup Language that is used to make hypermedia and hypertext documents for the Web. More HTML and CSS: Most Popular Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

Add comments to "Tricks using Tables"

Only registered users can write comment

No comments yet...