Title: Page HTML alignment problem
Last modified: August 19, 2016

---

# Page HTML alignment problem

 *  [cooljoe289](https://wordpress.org/support/users/cooljoe289/)
 * (@cooljoe289)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/page-html-alignment-problem/)
 * I used photoshop to slice an image and export HTML for article content on my 
   homepage. After I entered the HTML (and using the RAW HTML plugin) and placed
   the images on my server, everything shows up correctly, except that the table
   of images is aligned left. I would like it to be centered.
 * After messing with the stylesheet, the html code, viewer alignment settings, 
   and everything else I can think of (including inspecting the elements in Google
   Chrome) I still can’t get the images to align center.
 * Does anyone have an idea of hoe to fix it? You can see the preview [here](http://www.dwellingsdelivered.com/?page_id=307&preview=true).

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/page-html-alignment-problem/#post-2036282)
 * previews don’t work outside of your admin area;
 * you probably need to publish the problem page and post a link to it here.
 *  Thread Starter [cooljoe289](https://wordpress.org/support/users/cooljoe289/)
 * (@cooljoe289)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/page-html-alignment-problem/#post-2036284)
 * Sorry about that. Here is a [permanent link](http://www.dwellingsdelivered.com/hometest/).
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/page-html-alignment-problem/#post-2036287)
 * you seem to have copied this code together with your table:
 *     ```
       <html>
       <body bgcolor="#FFFFFF" class= "alignleft" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
       <!-- ImageReady Slices (dwel del homepage.psd) -->
       ```
   
 * try and remove it (you can leave the html comments)
 * also remove the corresponding closing elements after the table:
 *     ```
       </table>
       <!-- End ImageReady Slices -->
       </body>
       </html>
       ```
   
 *  Thread Starter [cooljoe289](https://wordpress.org/support/users/cooljoe289/)
 * (@cooljoe289)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/page-html-alignment-problem/#post-2036289)
 * I tried it and it doesn’t seem to have made any change to the alignment. Any 
   ideas of how to get it to align center?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/page-html-alignment-problem/#post-2036311)
 * maybe i was not absolutely clear what you were supposed to remove;
 * you seem to have deleted the `<table>` html tags as well; try to add them back.
 *  Thread Starter [cooljoe289](https://wordpress.org/support/users/cooljoe289/)
 * (@cooljoe289)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/page-html-alignment-problem/#post-2036619)
 * I put the table code back in and tried to add align=”center” code, but didn’t
   work. I think it is being over ridden by css, but can’t find where.
 * Sorry for the late response. Long weekend.
 *  Thread Starter [cooljoe289](https://wordpress.org/support/users/cooljoe289/)
 * (@cooljoe289)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/page-html-alignment-problem/#post-2036621)
 * Update: After placing the `tablealign="center"` code into the table html, I noticed
   that the table is centering properly in IE 7, but not in either Chrome or Firefox.
 * This leads me to think that the problem really is in the Style.css
 * Any ideas?

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

The topic ‘Page HTML alignment problem’ is closed to new replies.

## Tags

 * [align](https://wordpress.org/support/topic-tag/align/)
 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [center](https://wordpress.org/support/topic-tag/center/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [photoshop](https://wordpress.org/support/topic-tag/photoshop/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [cooljoe289](https://wordpress.org/support/users/cooljoe289/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/page-html-alignment-problem/#post-2036621)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
