Reply
Need help with padding in table
Old 03-06-2008, 01:28 PM Need help with padding in table
Junior Talker

Posts: 1
Name: Name
I have a page on my web site that I am having trouble with. It was done in tables (which I don't like), but the words and the picture need a little bit of space between them. I have tried a few things, and nothing seems to work without breaking the table. Can someone help and tell me what do add? Please?

Thanks!


<link href="rrmc_styles.css" rel="stylesheet" type="text/css">

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="15">

<tr>

<td class="yellowBIG">RRMC Excursions:</td>

</tr>

<tr>

<td align="left"><span class="whitext"><strong>Overnight Bivouack</strong></span>
<br>

<p class="greytext" align="left"><div class="img-shadow"><img src="images/sunset.jpg" width="300" height="225" border="0" align="right"><p class="greytext">The sunset pictured at right is an actual picture of the sunset that we watched during our last bivouack excursion. Going on a bivouack is a lot of fun, and helps bridge the gap between youth and nature. There's something about sleeping out underneath the open starry sky that you just can't replicate anywhere else.</p> </div></p>


<p class="greytext">It's quite an experience to fall asleep to the coyotes yipping, the crickets chirping and the great horned owls hooting. Some recruits find it challenging to fall asleep, but at RRMC, most of us consider these sounds to be a peaceful lullaby.<br>

</p>

<p class="greytext">Captain Vickie is always happy to join us on this excursion, and help keep watch over our recruits while they rest.<br>

</p>



<p class="greytext"><a href="index.php?pid=excursions" class="Yellowtext"><< Click Here to Return to Camp Excursions</a><br>

</p><br>

<br>

</p> </td></tr>

</table>
OreoThief is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-06-2008, 01:40 PM Re: Need help with padding in table
VirtuosiMedia's Avatar
Webmaster Talker

Posts: 683
Here are a few suggestions, but I don't know what you've tried so far, so this is just a shot in the dark.

Try using CSS for your table settings. You can also apply classes to your text and images too. You can apply multiple classes if you need to (like class="class1 class2"). I'd suggest playing around with the CSS margins and padding for each element.
VirtuosiMedia is online now
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 03-07-2008, 02:53 PM Re: Need help with padding in table
Gilligan's Avatar
Dead Like Me

Posts: 1,608
Name: Stefan
Location: London, UK
try adding style="padding:10px;" to the element you want.

Its hard to tell what problem you're having, without seeing the CSS code
Gilligan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need help with padding in table
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12744 seconds with 13 queries