1
Warren
Equivalant of cellpadding
  • 2004/11/30 14:47

  • Warren

  • Just popping in

  • Posts: 7

  • Since: 2004/10/17


I am using the phpkaox theme on one of my websites and have a custom block for my main entry page text. I didn't want all the text centered but could not find anything in the css to fix it, so I enclosed the text in p align=left tags and that worked. I wanted a little more spacing at the margins so I tried putting everything in a table to control it with cellpadding. Just using the table made it move a few pixels but more cellpadding does nothing. I also tried setting the width of the table as 85% and that did nothing.

How can I adjust this margin?

2
coopersita
Re: Equivalant of cellpadding

Change your paragraph from

<p align=left>

to

<p align="left" style="padding: 5px">

Change the 5 to whatever number you like. You may also adjust it per side:

<p align="left" style="padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;">

You can use all four, or just one, or two, or three... you get the idea.

Hope this helps

3
Warren
Re: Equivalent of cellpadding
  • 2004/12/4 4:40

  • Warren

  • Just popping in

  • Posts: 7

  • Since: 2004/10/17


Thanks a bunch, that worked fine. I also went a step further and discovered you can include all kinds of inline CSS tags by wrapping the block in a set of div tags with the CSS embedded in them.

Login

Who's Online

208 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits