Title: can&#8217;t fix css problem
Last modified: August 19, 2016

---

# can’t fix css problem

 *  [ke vinritt](https://wordpress.org/support/users/ke-vinritt/)
 * (@ke-vinritt)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-fix-css-problem/)
 * I need help with a css issue – the sidebar on my site [here](http://xaddx.org/cms/)
   looks fine in Firefox but not IE – can anyone look at it and see any issues?
   
   Thanks

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

 *  Thread Starter [ke vinritt](https://wordpress.org/support/users/ke-vinritt/)
 * (@ke-vinritt)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-fix-css-problem/#post-1518498)
 * here’s the code I’m using for the sidebar `#rightcol{
    float:right; width:260px;
   padding:10px; }
 * .sidebox{
    float:left; width:240px; padding-top:0px; font-size:11px; font-family:
   Arial, Helvetica, sans-serif; margin-bottom:15px; overflow:hidden; } .sidebox
   ul { list-style-type: none; margin: 0px ; padding: 0px; }
 * .sidebox li{
    list-style-type: none; margin: 0px ; padding: 0px; }`
 *  [Edward Caissie](https://wordpress.org/support/users/cais/)
 * (@cais)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-fix-css-problem/#post-1518502)
 * Your theme width is 900px;
 * Your content width is 600px with 10px padding; your sidebar is 260px width with
   10px padding. The “older” IE box models do not calculate those numbers correctly…
   try reducing the padding in the `#rightcol`.
 * PS: The site looks fine in IE8 but “breaks” under compatibility mode.
 *  Thread Starter [ke vinritt](https://wordpress.org/support/users/ke-vinritt/)
 * (@ke-vinritt)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-fix-css-problem/#post-1518512)
 * Thanks Cais,
    eliminated padding altogether in the #rightcol but problem persists
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-fix-css-problem/#post-1518523)
 * Code errors and an unecessary `</div>` after the `</html>` in footer.php: [[Invalid]Markup Validation of xaddx.org cms – W3C Markup Validator](http://validator.w3.org/check?uri=http%3A//xaddx.org/cms/&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator/1.654).
   Scroll down in the validation report to see line numbers and source code.
 *  [Edward Caissie](https://wordpress.org/support/users/cais/)
 * (@cais)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-fix-css-problem/#post-1518595)
 * Short of [@songdogtech](https://wordpress.org/support/users/songdogtech/)’s recommendation
   to correct the “code errors”, eliminating padding (and margin) has often pointed
   to the issue in similar cases as yours.
 *  Thread Starter [ke vinritt](https://wordpress.org/support/users/ke-vinritt/)
 * (@ke-vinritt)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-fix-css-problem/#post-1518604)
 * error free [ here ](http://validator.w3.org/check?uri=http%3A%2F%2Fxaddx.org%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.654)
   but same problem. I’ll go in and look at each id/ class again and see if there’s
   padding/ margin issues
 * Thanks for the help
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/cant-fix-css-problem/#post-1518605)
 * “Code errors” like missing `</div>'s` are the leading cause of out-of-place sidebars
   aroud these forums.
 * Looks fine in IE8; you might need a cc style sheet just for IE6/7 with padding/
   margin changes: [quirm.net: WordPress and Conditional Comment CSS](http://quirm.net/2009/06/29/wordpress-conditional-comment-css/)

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

The topic ‘can’t fix css problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/cant-fix-css-problem/#post-1518605)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
