-
Hi
I have tried the css coding and it ddn t work...I also tried the HTML margintop, left ="0" that didn t work either....could it be that the cell spacing is overriding the css.....if this is the cas, how can I still keep the space between cells but have 0 left and top margin.....
Thank you again
Scarlet
------------------
http://www.learning2earn.com
-
Hi all
I am having a problem with my left margin....I want the red table with the links to have 0 margins so the black behind it will only show between the cells of the red table...not to the left or on top....does anyone know how to fix it...
Thanks
Scarlet
------------------
http://www.learning2earn.com
-
The CSS code for margins is:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-right: 0px;
[/code]
That would give margins of 0 pixels, if you were going to do all of them as 0 pixels or all the same value then it is easier to use:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
magin: 0px;
[/code]
------------------
Karl Austin
KDA Web Services
"Everyone has a photographic memory. Some just don't have film."
-
The full code would be:
[code]
<style>
body { margin:0;}
</style>
[code]
Place it in your head tag. If your using external style sheets just add the body {margin:0;} to your style sheet.
------------------
Wayne Luke - Sitepoint Moderator/Internet Media Developer
Digital Magician Studios - Making Magic with Web Applications
wluke@digitalmagician.com
-
If you're not into CSS, this HTML might work (not sure...worth a try, though):
<body topmargin="0" leftmargin="0">
Hope this helps.
------------------
Chris Bowyer
MyCoding.com: Join our mailing list for launch notification!
"I'm not an insomniac, I'm a web designer."
-
I'd re-arrange your tables so that the ones without spacing are seperate from the others...then from there it's easy.
------------------
Chris Bowyer
MyCoding.com: Join our mailing list for launch notification!
"I'm not an insomniac, I'm a web designer."