View Full Version : Width Issues


SarahBara
07-15-2003, 01:45 AM
I want to use tables in an inline frame in order to seperate my links from my main stuff. I used the code found under HTML Help-->Tables-->How do I set widths for my tables? and edited the width values to 30% and 70% but nothing happened. Am I doing something wrong or what? How do I make this work?

Thanks,
Sarah

shekki510
07-15-2003, 02:11 AM
can I see your code? im pretty sure I can help if I understand and see what your talking about

SarahBara
07-15-2003, 02:14 AM
It's almost exactly how it is on this site...

<table border="0" cellpadding="5" cellspacing="10" width="200">
<tr>
<td bgcolor="white" width="30%" height="245">Cell 1</td>
<td bgcolor="white" width="70%" height="245">Cell 2</td>
</tr>
</table>

And thanks in advance :)

shekki510
07-15-2003, 02:48 AM
hmm, well from what I can see, i see nothing really wrong with the code and dont know why it wont work, but you said something about an inline frame.. is it possible if i can see your site so i can look at the whole source?

SarahBara
07-15-2003, 02:53 AM
No, sorry. It's not online (I write my HTML in Notepad) and I'm in the process of switching hosts so I can't exactly put it there...

I put both values at 900 (just messing around trying to get it to work) and they were tiny but the same size. They just won't go very far out into the rest of the frame...

Could I just could paste everything into here? OR I could email the .txt file... *shrugs* Ugh this is so frustrating lol :p

shekki510
07-15-2003, 03:23 AM
hey yeah, heh stupid tables im having trouble with one at my site too at http://www20.brinkster.com/dementedtofu/home1.html
yeah sure, ill give it a try... cant promise you anything though =)
.. if i can't do it, you should wait for a moderator or something... do you have aim? if you want to email it to me im at johnj_88@hotmail.com ... btw are you on the east coast? cauz this forum thing says 3AM and stuff, and were the only ones posting... its only 11"30 here :D

pb&j
07-15-2003, 04:23 AM
Originally posted by SarahBara
It's almost exactly how it is on this site...

<table border="0" cellpadding="5" cellspacing="10" width="200">
<tr>
<td bgcolor="white" width="30%" height="245">Cell 1</td>
<td bgcolor="white" width="70%" height="245">Cell 2</td>
</tr>
</table>

And thanks in advance :)
considering you used a fixed pixel width for your table tag, that should carry on in your td tags too.
change your 30% and 70% into 60 and 140.

SarahBara
07-15-2003, 04:51 AM
Thankya pb&j that was my problem hehe. The frame is 600 wide. I have no clue why the table code said 200 lol. I changed it to 100% and the cell widths appropriately and voila. :D

Sarah