Title: Table / cell padding problem
Last modified: August 20, 2016

---

# Table / cell padding problem

 *  [lindaleefleming](https://wordpress.org/support/users/lindaleefleming/)
 * (@lindaleefleming)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/)
 * I edited a page in my site that uses ‘Template Name: Template Content Page’ I
   edited the HTML and added a table because I wanted two columns (a picture on 
   one side and text on the other). I added cellpadding to my HTML in the Table 
   on the page.
 * When I preview the page it looks great!
 * When I view it from my site the cell padding is gone. What is overwriting my 
   settings? I don’t see anything obvious in the stylesheet.
 * Thanks!
    Linda

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * (@crondeau)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557357)
 * Please provide a link to your site.
 *  Thread Starter [lindaleefleming](https://wordpress.org/support/users/lindaleefleming/)
 * (@lindaleefleming)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557361)
 * It happens on the Faculty and Staff page when I try to put the picture beside
   the words. Thanks!
 * [http://www.beaconacademy.org/dev-wpbeacon/wordpress/about-beacon/leadership/](http://www.beaconacademy.org/dev-wpbeacon/wordpress/about-beacon/leadership/)
 *  [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * (@crondeau)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557367)
 * What happens if you insert the image at the beginning of the paragraph and just
   float the image to the right or left? The text should wrap around the image and
   you would need a table at all. Tables shouldn’t be used for that.
 *  [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * (@crondeau)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557370)
 * Looks like whoever made the theme had given you a style for the bio section, 
   but it’s no longer applied or it’s not for that page… Not sure.
 * It also looks like there’s no style for floating the images left or right.
 * I would add the following to the stylesheet:
 *     ```
       .alignleft {
       	display: inline;
       	float: left;
       	margin: 0px 10px 10px 0;
       }
       .alignright {
       	display: inline;
       	float: right;
       	margin:0px 0 10px 10px;
       }
       ```
   
 * Once/if you do that, make sure you look at all of the pages. Hopefully that won’t
   mess things up everywhere.
 *  Thread Starter [lindaleefleming](https://wordpress.org/support/users/lindaleefleming/)
 * (@lindaleefleming)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557372)
 * Christine, Once I add that to my stylesheet, how to I specify the image should
   float? I am looking at the <img> tag and don’t see that option. Thanks! Linda
 *  [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * (@crondeau)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557373)
 * In the html view, the code for the first image is this:
 * `<img class="size-medium wp-image-3413 aligncenter" title="nepal_120110-2056"
   src="http://www.beaconacademy.org/dev-wpbeacon/wordpress/wp-content/uploads/2012/
   01/nepal_120110-20562-198x300.jpg" alt="" width="198" height="300" />`
 * Change aligncenter to alignright or alignleft
 *  Thread Starter [lindaleefleming](https://wordpress.org/support/users/lindaleefleming/)
 * (@lindaleefleming)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557379)
 * Christine. Thank you. I changed the style sheet and my img tag. However, i don’t
   see any change in my page. Do I need to refresh it somehow? Can you take a look?
   You have been very helpful! Linda
 *  [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * (@crondeau)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557380)
 * I just refreshed it I can see that Cindy Laba is on the right, but she’s also
   on the bottom.
 * You might need to clear your cache to see the change, and delete her picture 
   from the bottom too. 😉
 *  Thread Starter [lindaleefleming](https://wordpress.org/support/users/lindaleefleming/)
 * (@lindaleefleming)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557385)
 * Beautiful! THANKS! Can you help me with 2 more formatting things?
    1. How can
   I top align the text next to the picture? 2. How can I ‘justify’ the text like
   a newspaper column? Linda
 *  Thread Starter [lindaleefleming](https://wordpress.org/support/users/lindaleefleming/)
 * (@lindaleefleming)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557390)
 * I noticed one more thing. The picture is overlapping into the 2nd banner. How
   can I control that? Thanks! Linda
 *  Thread Starter [lindaleefleming](https://wordpress.org/support/users/lindaleefleming/)
 * (@lindaleefleming)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557497)
 * Christine, I opened a new thread on my last two questions because this one was
   getting too long. Thanks for you help. Linda

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Table / cell padding problem’ is closed to new replies.

## Tags

 * [cellpadding](https://wordpress.org/support/topic-tag/cellpadding/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 2 participants
 * Last reply from: [lindaleefleming](https://wordpress.org/support/users/lindaleefleming/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/table-cell-padding-problem/#post-2557497)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
