Webform Table Width

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.
 
F

Fadi El-Eter

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;}.
 
D

Dave Cook

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.
 
D

Dave Cook

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.
 
D

Dave Cook

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.
 
R

Rajiv R

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top