Topic: Netscape and the td tag (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10627" title="Pages that link to Topic: Netscape and the td tag (Page 1 of 1)" rel="nofollow" >Topic: Netscape and the td tag <span class="small">(Page 1 of 1)</span>\

 
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 11-14-2001 20:19

I have a table and I am wanting the page to be nice and liquid. I am having problems getting the left table data to remain at 10% width in Netscape.

here is what I am doing:

code:
<table border="2" cellpadding="0" cellspacing="0" colspan="5" width="100%">
<tr>
<td cols="1" width="10%">TABLE DATA ONE</td>
<!--Spacer-->
<td cols="1" width="5%">&nbsp;</td>
<td cols="3" width="85%">MAIN BODY OF TEXT GOES HERE</td>
</tr>



This doesn't work for shit in NN4.7. Anyone got a solution?

Thanks,
C:\


Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-14-2001 20:38

CPrompt: I suspect this is the old NS4.x problem that it can't hold the cell to the right size without content (or something like that). I suspect your only solution is you want it that way is to use the transparent single gif trick (or a <br /> or a non-breaking space) to hold the column at the right width.

I think that is the solution you are looking for - whether you use it is another thing (I'd only do so if I really had to).

Emps


You're my wife now Dave

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 11-14-2001 20:52

Emps,

thanks for the reply. There is supposed to be a "&nbsp;" in the second table data. That is fine. NN actually handles that fine. It is the first table data that is giving me problems. It is making it too wide. It doesn't handle the table width at 10%.

I'll try to find something that works without having to go with a specific size (ie 120px)

Thanks,
C:\

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-14-2001 21:40

CPrompt: There are a couple things: you might have a non-breaking space (which is not showing up here) in one of your table cells but do you have one in all the empty cells? Also, and this might be due to only being given part of the code, you seem to have colspan="5" in your table which may or may not be wrong but could be the cause of your problems.

Emps


You're my wife now Dave

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 11-14-2001 22:15

Yeah the non-breaking space is not showing up here. No I don't have one in the first cell, just the second one. The first cell should have text with the width being 10% and a col=1. When I go home I am going to change it and check it on NN4. I don't have it at work.

Maybe it is because I have the colspan=5 and then there are only 3 cells??!!??
It may work better if I just specify having 3 colspan and then set the width for the three cells.

Thanks,
C:\

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-14-2001 22:34

CPrompt: Do you even need colspan in the table?

Emps


You're my wife now Dave

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 11-15-2001 03:26

Nope Just forgot to take it out really. Still didn't work when I took it out. Could I be missing some type of word wrap? Not really sure here, I'm just grasping for straws.

Thanks anyway

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-15-2001 04:02

CPrompt: I'd need to see some more code or, preferably, the site.

Emps


You're my wife now Dave

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 11-15-2001 14:52

OK. I'll upload it and let you know when I do so you can take a look at it.

Thanks,
C:\

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 11-15-2001 22:41

Nevermind. I fixed it. Thanks for all your help.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-16-2001 02:34

CPrompt: As long as its fixed!! For future reference could you let us know what the problem was?

Emps


You're my wife now Dave

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 11-16-2001 02:55


LOL I've been following this waiting for the solution. Now I've got to wait even longer.

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 11-20-2001 05:24

Guy's I am so sorry. I tried to edit my post and it kept telling me that I was trying to hack the topic
So I got frustrated and then I was going to come back and post it but I forgot about the freaking thing!

anyway I don't know why it wasn't working before but this is basically what I did:

code:
<table border="2" cellpadding="0" cellspacing="0" width="100%">	
<tr>
<td width="10%">this table data cell thingy should stay at a 10% ration of the entire cell.
this will enable me to have one cell that is very short. I do like to have an additional cell
that will act as a sapcer for the third cell so they are not too close and I don't have to
use cellpadding.
</td>
<!--Spacer-->
<td width="5%">
 <!--Nonbreaking space here-->
</td>
<td width="85%">THIS IS A SHORT DATA CELL :)</td>
</tr>
</table>





[This message has been edited by CPrompt (edited 11-20-2001).]



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


« BackwardsOnwards »

Show Forum Drop Down Menu