Log in

View Full Version : Aligning a table



fileserverdirect
06-09-2007, 12:11 AM
Hello,

A Queston that has been bothering me for a while:

I have a table and I want that table to be exactly at 0px to the top. I have tryed a "style", postion:absoulte or somthing, but I can't just put in Top: 0px; I need a "Left" string, but I don't want it to go left, I have a center tag so I don't need the command. Is there any way to do this?

A "Thanks" will be added to any HELPFUL replies.
Thanks

SawnDiddle
06-09-2007, 04:18 AM
You can do in the body tag margin="0"
you can also do something similar in a css style sheet.
If you can't do either, you can do something like <table style="margin:-10px;">
It isn't pretty and it might make things look ugly, but those are some things you can try.

tech_support
06-09-2007, 05:50 AM
You can do in the body tag margin="0"
That's invalid HTML

Try this:


<style type="text/css">
body { margin:0; }
</style>