Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML: border flush against page question

Status
Not open for further replies.

TH22

IS-IT--Management
Jan 13, 2005
28
US
I'm creating an ASP page with a table in it that is to take up the entire width of the page (goal is to be flush with the left and right side margins). However, I have a problem. The table is flush with the left side of the page, but is not flush with the right side of the page.

I have the following listed in the 'body' command to correct this:

<body background="../Images/bluebak.jpg" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" bgcolor="#ffffff">



But it doesnt always work. It will only work correctly after I have hit refresh on the page. Once I hit refresh, the page refreshes and the table is flush on both side.

Any ideas on what I might be doing wrong?

Thanks,
Tim
 
cLFlaVA,
I just tried your recommendation. Initially, it seems like its working.

I'll do a bit more testing. Hopefully this will do the trick.

Thanks!
Tim

 
Tim,

Try this:

<body background="../Images/bluebak.jpg" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0" bgcolor="#ffffff">

Simply adding the rightmargin="0" will work.

Vickie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top