Easy spacing question

He has: 688 posts

Joined: Feb 2001

I'm being lazy and don't want to make a blank spacer.gif (plus I don't like having to resort to usig a graphic for that). I've been spacing out table cells horizontally using this bad - but functional code.

<?php
stuff
</td><td>&nbsp; &nbsp;</td><td>stuff
?>

Is there an easy tag code to add to either or to make the table cells space more horizontally - but NOT vertically (such as would be the case if I used either cellpadding or cellspacing tags)?

Thanks in advance.

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

err... what about useing ?

He has: 688 posts

Joined: Feb 2001

For a specific situaton I needed the surrounding cells to be non-fixed width so I couldn't use width=. This is why in the middle/blank cells in the first place, but then my brain was stuck in that way of thinking. I still can't use it on the surrounding cells but there's nothing stopping me from using it on the 'spacer cell'. Stupid brain freeze! Sorry. I was trying to find a more complicated way around something that I didn;t even need to work around in the first place.

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

Funny how sometimes the brain just wont work something out until you post the question and then it all tumbles into place by itself!

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

yeah, it called being human lol Sticking out tongue

He has: 296 posts

Joined: May 2002

Happens alot to me. And it gets on my nerves >< At least I know I'm not the only one that does it ^_^

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.