Title: improper css declaration
Last modified: August 19, 2016

---

# improper css declaration

 *  [samueldiener](https://wordpress.org/support/users/samueldiener/)
 * (@samueldiener)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/improper-css-declaration/)
 * I am trying to fix my ie styling….. However, not all of the proper IE declarations
   are being used:
 * The source of the page that loads in IE starts with…..
    <!DOCTYPE HTML PUBLIC“-//
   W3C//DTD HTML Strict//EN”><META http-equiv=”Content-Type” content=”text/html;
   charset=utf-8″> <HTML lang=”en-US” dir=”ltr” xmlns=”[http://www.w3.org/1999/xhtml”><BODY](http://www.w3.org/1999/xhtml”><BODY)
   class=”custom ie ie7″> <DIV id=”container”><DIV id=”page”><UL id=”tabs”><LI class
   =”page-item-1″>
 * Therefore, I can tell that is grabbing my IE.css file, which contains:
 * BODY.ie { FONT-SIZE: 125%}.ie #container { FONT-SIZE: 50%; MARGIN-LEFT: 50px}.
   ie .full_width { FONT-SIZE: 50%; MARGIN-LEFT: 50px}.ie UL#tabs { WIDTH: 100%}.
   ie INPUT.form_submit { OVERFLOW: visible; WIDTH: auto}.ie6 #content { OVERFLOW:
   hidden}.sidebar.ie6 { OVERFLOW: hidden}.ie6 DL#comment_list DD { BORDER-BOTTOM:#
   bbb 1px dotted}.ie6 DL#comment_list DL.children DD { BORDER-BOTTOM-WIDTH: 0px}
 * However, IE does not seem to be using the proper #.ie container as the style 
   used for <DIV id=”container”>is not consistent with the IE style sheet. What 
   might be wrong? I assume I can fix my issue if I get this correct….

Viewing 1 replies (of 1 total)

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/improper-css-declaration/#post-1255898)
 * You must use lower case letters in tagnames in XHTML
 * Validate your page at [http://validator.w3.org/](http://validator.w3.org/)

Viewing 1 replies (of 1 total)

The topic ‘improper css declaration’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/improper-css-declaration/#post-1255898)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
