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

Tricks using Tables

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

EXTRA ADVICE: Always make a background such as this 1281 pixels wide so that it does not "repeat" across the page on wide screens. Since 1280 is the maximum width, 1281 does the trick! ALSO: be sure you spell background as BACKGROUND! The most common bug here is to spell it as BACKROUND missing the G!!!

Example

  The left margin on this page is set to 120 pixels. You will probably have to adjust this for your particular needs. This method gives you more control than the percentage method, ie WIDTH=80%.

Source code

<TABLE WIDTH="400" >
<TR>
<TD WIDTH="120">
&nbsp; 
</TD>
<TD>
The left margin on this page is set to 120 pixels. 
You will probably have to adjust this for your 
particular needs. This method gives you more control 
than the percentage method, ie WIDTH=80%.
</TD>
</TR>
</TABLE>

See Also:



Author's URL: Jeff Singer
Browse Pages: << < 4  5  6  7  8  > >>
Learn HTML step-by-step from A to Z or improve your professional skills. More Tutorials: Featured Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

No comments yet...
Add comments to "Tricks using Tables"

Captcha