Click here to Skip to main content
14,422,877 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi there,

Please help me with table width setting.

I used a table to put a banner on my website and I set the banner width to 100% so that it can be touching both side of my table.
I also set the table width to 100% but when I compile and run my site the table does not exactly touch the extreme side end of my browser.

Instead there is a small space left on both sides, which I don't want.
Please tell me how can I go about changing this?

Please visit this site to see the results I would like to achieve: http://www.mak.ac.ug

Thanks in advance
Yours faithfully

Martin
Posted
Updated 27-Aug-10 2:36am
v2
Comments
Dalek Dave 27-Aug-10 7:36am
   
Edited for Grammar and Readability.
Rate this:
Please Sign up or sign in to vote.

Solution 1

If you found a site that does what you want, why not look at the source and copy it ?
   
Comments
Simon_Whale 27-Aug-10 11:01am
   
Reason for my vote of 5
thats the way i've learnt most of my html / css skills
Rate this:
Please Sign up or sign in to vote.

Solution 2

Why use a table for a banner?
Would not a DIV be better?

There is more control, and it is the more modern approach.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100