TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

tables problem

Page: 1 Reply
Nov 29th 2001#21834 Report
Member since: Nov 24th 2001
Posts: 66
Ok, I have a little stupid tables problem here. I thought I'd run it past you all- The problem I have is, when I have a table at 100% width, it will be 100% until I go to the page from another page. Then there will be a small gap at the right. Also, It will appear at 100% again if I refresh. here's an example- http://www.geocities.com/tinysuperbug2/table1.html -click on the 'here' hyperlinked text to see what I mean. (you'll have to get rid of the banner a couple of times, sorry!)

I hope this communicates what I am trying to say.
Reply with Quote Reply
Nov 29th 2001#21836 Report
Member since: Mar 20th 2001
Posts: 3367
try removing the indentation on the source html

and add this to the body tag
leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"

and this to the table tag
border="0" cellspacing="0" cellpadding="0"

should help it..
Reply with Quote Reply
Nov 29th 2001#21837 Report
Member since: Mar 20th 2001
Posts: 3367
just noticed something.... whats that trans.gif?? maybe thats the culprit
Reply with Quote Reply
Nov 29th 2001#21840 Report
Member since: Mar 27th 2001
Posts: 2237
Add

onresize="window.location.reload()"

to the <.body> tag


ymmm, or is it just "location.reload()" ????


ahhh well.... if one doesn't work.... try the other
Reply with Quote Reply
Nov 29th 2001#21844 Report
Member since: Nov 24th 2001
Posts: 66
Ok, this is wierd'n me out. In the process of thinking this problem through, I remembered that I had another page that used the 100% width with no side affects. So, I proceeded to figure out why. For some reason, I've narrowed It dow to the scrollbar styles property. I added the scrollbar property to the table test page, and for some reason it no longer has that problem.

Anyone know why?:confused:


edit: ok, so that doesn't solve it unless you put the styles after the table in the body. Hmmm. . .
Reply with Quote Reply
Nov 29th 2001#21908 Report
Member since: Nov 24th 2001
Posts: 66
Ok, I figured It out.

I stuck this up in the body tag. rightmargin=0

Go figure.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum