|
-
Jul 6th, 2004, 10:07 PM
#1
Thread Starter
Hyperactive Member
HTML Tables
I have a little issue that I need to resolve. When I create a table that takes up most of the screen from top to bottom, there is always a small space, approx. .25 of an inch at the top and bottom of the screen. What do I need to do to get ride of this space at the top and also at the bottom of the screen.
Second issue is when I put 2 tables on a page back to back. Meaning I create on table then after the closing tag I open up another table and keep going. When viewing this on the screen I see a space between the 2 tables, but I never put a break there. What needs to be done to have both of the table right on top of each other.
Help is greatly appreciated.
Thanks
-
Jul 7th, 2004, 04:21 AM
#2
CSS Styling required for your page
1) Body { margin:0; padding: 0 }
2) Table { margin: 0; padding:0 }
Something like the following
Code:
<head>
<style type='text/css'>
Body {
margin:0;
padding: 0;
}
Table {
margin: 0;
padding:0;
}
</style>
</head>
Best if you read up on it, no guarentees that it will work, or work properly - depends on browsers...
Vince
Last edited by Ecniv; Jul 7th, 2004 at 04:30 AM.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jul 7th, 2004, 09:36 AM
#3
Thread Starter
Hyperactive Member
Thanks Vince,
Exactly what I was looking for.
-
Jul 9th, 2004, 05:44 AM
#4
Frenzied Member
Originally posted by mrstuff68
Thanks Vince,
Exactly what I was looking for.
If you're using tables for layout, you might reconsider, and use CSS instead... Really makes everything easier
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|