Title: i.e. centering help needed
Last modified: August 19, 2016

---

# i.e. centering help needed

 *  Resolved [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/ie-centering-help-needed/)
 * wordpress newbie here.
 * if you look at my page ([http://www.goldcoastchamber.com/wordpress/](http://www.goldcoastchamber.com/wordpress/))
   in both I.E. and Firefox you’ll notice that in I.E. it’s not centered.
 * i’m assuming i create a second style sheet for IE that contains just the css 
   code to center it but:
 * 1. what is that style code that i apply and what div/element/whatever do i apply
   it to?
    2. in what php page of my theme, and where in that page, do i tell the
   page to reference the IE stylesheet if its an I.E. browser?
 * please please advise. thanks!

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

 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/ie-centering-help-needed/#post-1261379)
 * IE is in quirks mode. Please correct [all the errors](http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.goldcoastchamber.com%2Fwordpress%2F)
   in your xhtml.
 * Peter
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/ie-centering-help-needed/#post-1261446)
 * thanks. i’ve been trying to sort out those errors in another thread but getting
   nowhere.
 * any chance you can explain why the validator says “Unable to Determine Parse 
   Mode!” the explanation makes little to no sense to me.
 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/ie-centering-help-needed/#post-1261452)
 * You have to tell the browser what kind of ‘language’ you’re trying to feed him(
   her?), and act accordingly.
 * For instance, if you’re ‘doing’ xhtml transitional, you have to apply closing
   tags to all xhtml elements.
 * Such a declaration takes place at the very top of each and every page (in case
   of WordPress that would be in header.php), and could look like this (just replace
   the relevant of your header with this):
 *     ```
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
       ```
   
 * EDIT: in your case there’s a statement BEFORE this declaration: a div. This is
   not allowed in the header.
 * Peter
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/ie-centering-help-needed/#post-1261454)
 * thanks. i replaced the first two lines of header.php with the code you provided.
   but should i leave this as the third line: `<head profile="http://gmpg.org/xfn/
   11">`???
 * either way, when i re-ran the validator, the # of errors remained the same. please
   advise. thanks!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/ie-centering-help-needed/#post-1261525)
 * You still have markup above the DOCTYPE:
 *     ```
       <div id="outer_wrapper">
   
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
       ```
   
 * Remove `<div id="outer_wrapper">` and the empty line after it.
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/ie-centering-help-needed/#post-1261556)
 * Two threads going on this issue: [http://wordpress.org/support/topic/326538?replies=8](http://wordpress.org/support/topic/326538?replies=8)
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/ie-centering-help-needed/#post-1261574)
 * sorry, i’ll close this one.

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

The topic ‘i.e. centering help needed’ is closed to new replies.

 * 7 replies
 * 4 participants
 * Last reply from: [goldmember](https://wordpress.org/support/users/goldmember/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/ie-centering-help-needed/#post-1261574)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
