Topic: Table Border problem Pages that link to <a href="https://ozoneasylum.com/backlink?for=11092" title="Pages that link to Topic: Table Border problem" rel="nofollow" >Topic: Table Border problem\

 
Author Thread
Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

IP logged posted posted 11-02-2003 01:57 Edit Quote

Hi, guys. How are you?
Please help me.
I have a table. I set border: 1px solid #eee;
But some reason, the bottom of border never be shown on the screeen.
I don't know why. I tested IE5 and IE6. Neither of them doesn't show.
My stylesheet is:

code:
#study_grape {
width: 50%;
position: absolute;
top: 15%;
left: 20%;
border: 1px solid #999;
border-collapse: collapse;
font-family: verdana, arial, sans-serif;
font-size: 12px;
color: #555;

}



And in body:

[code]

<table id="study_grape">
<tr><td>content1</td><td>content2</td></tr>
<tr><td>c3</td><td>c4</td></tr>
<tr><td>c5</td><td><c6/td></tr>
</table>[code]

Do you know what I mean? Please help!

Hiroki Kozai

ozphactor
Maniac (V) Inmate

From: California
Insane since: Jul 2003

IP logged posted posted 11-02-2003 04:00 Edit Quote

Can you show us the page? I did a quick test in IE5, and I can see borders on all four sides of the table...

Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

IP logged posted posted 11-02-2003 21:12 Edit Quote

Hi, thanks for your reply.
Here is link.
As you can see, I cannot get the bottom border.
I don't know why.
Please help!

Hiroki Kozai

SPyX
Bipolar (III) Inmate

From: College Station, TX
Insane since: Aug 2002

IP logged posted posted 11-02-2003 22:02 Edit Quote

Try adding a margin to the bottom of the div.

Edit: no, that doesn't work. The reason I thought it might is because the border IS generated when the text doesn't extend to the bottom of the window. Is there a reason this text needs to be in a table?

[This message has been edited by SPyX (edited 11-02-2003).]

Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

IP logged posted posted 11-02-2003 23:19 Edit Quote

Yeah, becase that table inludes picutre and text.
There are two colums and 3 rows.
It is easy to use table to hold same sort of things.

Hiroki Kozai

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 11-03-2003 00:08 Edit Quote

You should really be coding with a doctype. I doubt this particular problem is caused by the lack of a doctype, but even if it isn't, any solution you come up with isn't guaranteed to work when a doctype is added later on. You should always use a doctype right from the beginning when you make a page.

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 11-03-2003 00:32 Edit Quote

And for something this simple, and non-tabular, you really shouldn't be using a table.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu