×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Table cell padding

Table cell padding

Table cell padding

(OP)
Hi,

I need to add padding to one table cell.  When I change the 'spacing to contents' in 'table format', every cell in the table gets the padding.

How do you add different paddings to table cells?  I would have thought there would be a way to highlight a cell and choose properties to change the padding.

Thanks for any help!

Darth Slurpee

RE: Table cell padding

You can define a new style based on the "table contents" style, customise the style as desired, including adjusting spacing, and apply that style to the desired cells.

RE: Table cell padding

(OP)
Hi,

I'm not sure how to create a new style.  I opened the 'styles and formatting' window and tried to create a style but it disappeared the next time I opened the window.  When a style is created how do you change the settings?

Thanks!

Darth Slurpee

RE: Table cell padding

I assume you're using OOo 2, but I think the procedure is identical with 1.x.

Press F4 to show the Styles window. Right-click the "table contents" item, and select the "new" item to start creating a new style based on the "table contents" style. Pick a suitable name for the new style, like "padded cell". Make whatever adjustments you want, like "spacing to contents" (you will probably have to define a white border first), and click OK. The new style is then added to the list of styles. Select the cells you want to apply the new style to, and double-click the new style in the list, to apply it to the cells.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close