PDA

View Full Version : [HTML]



helpmeplease
09-11-2008, 11:38 AM
I have a table and I want it right up in the top left corner. I've done
it before, it's something like <table leftmargain/border="0" topmargin/border="0"> but i can't remember. HELP!!!

Jackboy
09-11-2008, 12:44 PM
<style>
table {
margin: 0 auto;
}
</style>

That shud work. I replied in your other thread aswell lmao

L?KE
09-11-2008, 04:54 PM
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
table {
width: whatever px;
height: whatever px;
margin: 0;
padding: whatever.
top: 0;
left: 0;
}

Should work?

Jackboy
09-11-2008, 05:30 PM
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
table {
width: whatever px;
height: whatever px;
margin: 0;
padding: whatever.
top: 0;
left: 0;
}

Should work?

I put body originally but i wern't sure ;)

See i am a trial and error person :)

Want to hide these adverts? Register an account for free!