Webform Table Width

  • Thread starter Thread starter Dave Cook
  • Start date Start date
D

Dave Cook

Hi

I would like to create a table that uses the whole width of IE. I have set
the table width to 100% and the right margin to 0 on the document but still
the table is displayed about 50 pixels short of the window edge. Can
anybody help me ?

Thanks.
 
Remember, there are margin properties on the body tag (leftmargin,
rightmargin, topmargin, bottommargin, marginheight, marginwidth). Set them
all to 0, and you should be ok. You can also create a css style body{
margin: 0px;}.
 
Allready tried both but thanks for your reply. It seems strange that it is
only the right margin that is affected. the left top and bottom are fine.
 
Its ok, found the problem. what i forgot to mention was that the document
was in a frame. the frame had scrolling set to 'on'. when i turn scrolling
off, the table fits right to the edge of the window as i told it to.

the problem now is that I need scrolling on.
 
Why is it that setting scrolling to auto produces a right margin to allow
for the scroll bar even when the scroll bar is not displayed ?

What i have now is 3 frames: top, middle and bottom.
I require my middle frame to scroll vertically (on the odd occasion)
The middle frame pages contain color that matches the top and bottom frame

The problem: the middle frame page contains white space where a scrollbar
would normally be, leaving a long vertical strip
down the right hand side of the page.

As an alternative, is there perhaps some sort of panel control that i could
use that provides scrolling ?

Thanks.
 
Dave,

trying adding cellpadding=0 cellspacing=0 to the table.

what is the value of your border attribute of <table>?

cheers!
rajiv. r
rajspace.org
 
Back
Top