WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] IE display problems with CSS and Div's (3 posts)

  1. bjwhealo9239
    Member
    Posted 7 years ago #

    I am having some trouble with my content being displayed in IE and I am at a loss for what to do. I know that the content is being read because it appears when printed. Firefox displays just how I would expect it to. If you can take a look at it I would really appreciate it.
    the only page it effects is my portfolio page because I am using a separate template.

    http://www.bradywhealonphotography.com/?page_id=8

    Thanks in advance...

  2. jackosh
    Member
    Posted 7 years ago #

    This is a very common problem. Try running a search here and on google.

    You basically need to find the div in the CSS that is messing things up, and under it use the * html hack to change it in IE.

    For example if your div looks like:
    div#example{ padding:20px; float:left;}
    and it's the padding that is messing everything up, add this:
    div#example{ padding:20px; float:left;}
    * html div#example{ padding:10px;}

    This will change the padding to 10px in IE only. (Not that padding is the problem, but if it is, this would be how to change it only in IE.)

    Again, this is a very common problem that could be solved doing a few searches.

    Good luck!

  3. bjwhealo9239
    Member
    Posted 7 years ago #

    Could the padding cause all of the text and some of the divs to just not display at all? It seems like It should be another problem but I will check again :) Thanks for your help

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags