1.

Solve : Front Page stretch all the way across the screen help?

Answer»

In the attachment image, is it possible to stretch the table all the way across the browser so that there won't be any gaps on the sides or on the top.

[Saving space, attachment deleted by ADMIN]Are you using any cellspacing or cellpadding in your table?  If so, removing it will help.  But, I believe the best solution is to use border-collapse in a CSS declaration.  Nope...CELL spacing and cell padding is set to 0.

When I increase the width of the table only the right side stretches and leaves STILL leaves a gap on the left of the table.It actually has nothing to do with the table.

Add this to the head.
Code: [Select]<style type="text/css">
  html, body {
    padding: 0;
    MARGIN: 0;
  }
</style>
Oh ok! There it goes!

So if I wanted to use CSS again, would I insert that only in the head?Or PUT it all in a seperate file, called for example style.css.

Then link to it like this (in the head):
Code: [Select]<link href="style.css" rel="stylesheet" type="text/css" />Thanks for your help.

I really appreciate that.No problem!



Discussion

No Comment Found