Tables dont squish?

Started by Jek, March 21, 2010, 03:25:48 pm

Previous topic - Next topic

Jek

In my website, GameCraft, I have a small issue. When you restore down the browser size, it squishes the two tables showing my affiliates marquee and my Random Monster Generator(tm).
Is there a way to keep them from going smaller when you size down the browser?

Aqua

March 21, 2010, 03:46:24 pm #1 Last Edit: March 21, 2010, 03:54:12 pm by Elite Four Aqua
It squishes because of the empty space around those cells.

I think...
Didn't really play around with it too much XP

Blizzard

Don't use relative table width (as in 80%, 100% or something like that), but use absolute width (as in 400px, 500px, etc.).
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Aqua

That's what I was going to say first, but I don't think he does...

Unless width="200" means it's relative o.o

Blizzard

It doesn't have to be the PHP or HTML. It could be in the CSS.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Jek

 <td background="http://gamecraft.ucoz.org/RMG.jpg"; width="205">
That would be the HTML im using for the Random Monster Generator cell.

Blizzard

You need to edit the CSS for td or for table.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

fugibo

No offense, but there's really no reason to be using tables when CSS is easier and simpler.