PDA

View Full Version : Table Refuses To Change Width


Gigadestroyer
04-14-2003, 11:32 PM
Ok, this is most likely user error, but I cannot get my table to change sizes. The table stays at 75% of the screen no matter what I try.
I'm attaching the table below:

<TABLE WIDTH=95% ALIGN=CENTER CELLPADDING=0 CELLSPACING=0 BORDER=1>
<TR>
<TD><IMG SRC="image1.jpeg" WIDTH=75%></TD>
<TD ROWSPAN=2><IMG SRC="image2.jpeg"></TD>
<TD>&amp;nbsp;</TD>
</TR>
<TR>
<TD>&amp;nbsp;</TD>
<TD><IMG SRC="image3.jpeg" WIDTH=50%></TD>
</TR>
</TABLE>

it's to make this:

----------------------------------
|&nbsp;Image&nbsp;&nbsp;1&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
------------&nbsp;&nbsp;Image&nbsp;2&nbsp;------------
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;Image&nbsp;&nbsp;3&nbsp;|
----------------------------------

(hopefully this comes out right when it's posted)

My screen resolution is 1024x768 and the image sizes are very small.
Image 1 - 296x177 (at 75%)
Image 2 - 220x195
Image 3 - 291x224 (at 50%)

It's driving me nutz too! Please, someone help me, I'd be sooo thankful...

~ Gigadestroyer

missing-score
04-14-2003, 11:56 PM
Make use of the colspan attribute. I think that might help.

Nightfire
04-15-2003, 12:07 AM
<table>
<tr>
<td rowspan="3"><img src="image1.gif"></td>
<td colspan="2">&amp;nbsp;.</td>
</tr>
<tr>
<td rowspan="2"><img src="image2.gif"></td>
<td>&amp;nbsp;</td>
</tr>
<tr>
<td><img src="image3.gif"></td>
</tr>
</table>


Might work, hard to tell as I've spent all day and night celebrating :)

missing-score
04-15-2003, 12:18 AM
No Nightfire, that wont work, cos you have 3 <tr>'s, hence 3 table rows.

<thought> You mentioned you were celebrating, so you obviously want someone to ask you why. </thought>

What are you celebrating nightfire? :D

Nightfire
04-15-2003, 12:39 AM
God, can;t believe I posted that :D LOL Ignore my post :)

Actually celebrating a new life I've been given. In a month or so, I will be moving to Debai (sp?) next to suadi arabia in my very own villa, bills free, job, etc all paid for by a very "famous" ex-simply red mangager :D

famous is in quotes coz I don't know his name, but he's apparantly famous in the 'pop-chart' world, as he managed groups such as simply red.

Gigadestroyer
04-15-2003, 12:52 AM
Hey, it took me a little while, but I figured it out, after MANY stressful hours.
Turns out that IE doesn't like it when image tags have % used to define width & height. But thanx anyways to those who posted...

~ Gigadestroyer

Nightfire
04-15-2003, 01:43 AM
You can get away with using width="100%" or height="100%" or whatever percentage you want, but using both together makes IE act strangely. I use width="100%" and don't include the hieght in the banner image at http://wcreations.co.uk/sites/blinded (if I've not deleted the site, that is), and it seemed to work in all versions of IE, and I think it works in Mozilla, although I haven't checked in the latest version

mattover-matter
04-15-2003, 04:01 AM
a new life? He is paying for you your entire life? I am going to skin you and wear you as a suit, I want that life! You lucky duck, you! How did you get this? He robbed a bank, and he gives you this to make sure you keep your lips sealed? :D

missing-score
04-15-2003, 07:33 AM
Hmmm. I have always found that IE seems to support % pretty well.

Lucky you :thumbsup::(


Missed the word image.

Yeah, IE dies when you use % for images.

brothercake
04-15-2003, 02:35 PM
Originally posted by Nightfire
famous is in quotes coz I don't know his name, but he's apparantly famous in the 'pop-chart' world, as he managed groups such as simply red.
What's his name?

missing-score
04-15-2003, 02:48 PM
[quote]
famous is in quotes coz I don't know his name
[quote]

Doesnt that me he doesn't know his name? :D

ASAAKI
04-16-2003, 12:00 AM
Originally posted by Nightfire
God, can;t believe I posted that :D LOL Ignore my post :)

Actually celebrating a new life I've been given. In a month or so, I will be moving to Debai (sp?) next to suadi arabia in my very own villa, bills free, job, etc all paid for by a very "famous" ex-simply red mangager :D

famous is in quotes coz I don't know his name, but he's apparantly famous in the 'pop-chart' world, as he managed groups such as simply red.

welcome to the middle east!! :D

btw u spell it Dubai.:p

Nightfire
04-16-2003, 12:04 AM
I'll know his name when he phone's up again, or if me dad can remember his name :p

esntric
04-16-2003, 12:19 AM
This is an unrelated question, I just didnt think it was worth creating a new thread for it since it's so basic.

I see everyone using & nbsp; but I use & #160;. Is there a difference between these? If so, what is it? Which is recommended?

redhead
04-16-2003, 09:46 AM
Originally posted by esntric
I see everyone using & nbsp; but I use & #160;. Is there a difference between these? If so, what is it? Which is recommended? &amp;nbsp; is easier to remember ;)

ASAAKI
04-16-2003, 12:04 PM
yea, i remember it by thinking
nothing but space. :D