Padding Question: Newbie

He has: 19 posts

Joined: Feb 2006

Hello,

I'm putting together a simple website for a friend and was curious if someone could help with a bit of a situation I am having. I cannot seem to set the padding right on this website and the text is running right into the edge of the table and it looks crappy. I'd like to have a little space in-between the text and the edge of the table itself.

Any ideas how to fix this? The website is available at http://www.okwaho.com/t_zone (test zone) Thanks!

Wind to thy wings,
Bryce / SakimaOak

Wind to thy wings,
Bryce / SakimaOak

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

You'll want to add padding to separate elements using CSS. So you'd add something like this to your stylesheet:

p {padding: 15px}

Assuming you wanted all paragraphs to have padding. Alternately you could add padding to the conting div's, so you'd have #intro, #supportingText etc. in your stylesheet with padding: 15px (or whatever you decide is good).

Did you use a template for this or something? The coding is really well done. Not that I'm doubting your abilities - you said you're a newbie Smiling

He has: 19 posts

Joined: Feb 2006

Hello,

Nope, didn't code that myself. It's actually from a Google.com board, found on a Webmasters board, I liked its original look and snagged the css, edited some bits and took it as mine, with authors permission of course.

Thank you for your quick response! I'll probably be jumping in more often from here on, since another board I use to go to back in the day, turns out to now be charging for memberships (I'm choked!) and so hopefully you guys will be my new Home Away from Home!

Wind to thy wings,
Bryce / SakimaOak

Wind to thy wings,
Bryce / SakimaOak

He has: 19 posts

Joined: Feb 2006

Hello,

Just wanted to say thank you! It worked perfectly and now the page looks MUCH better than it had before. I appreciate your quick assistance!

Wind to thy wings,
Bryce / SakimaOak

Wind to thy wings,
Bryce / SakimaOak

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.