www.webdeveloper.com
Results 1 to 2 of 2

Thread: CSS problem in IE

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    90

    CSS problem in IE

    http://www.gula.org.il/wordpress/
    This is a website that I built ion wordpress.

    In both chrome and firefox you see it excellent.

    However in IE the left border of the top left box is partially missing.

    I have checked my css for validation and I found that except from vendor prefix I have no error.

    So my question is what the cause for the problem and if you can suggest me a way to fix it.

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    The floated elements escape the overflow of their parents. There are several ways to bypass that problem. My favorite is to add an last empty div, in order to clear the floats:

    Code:
    <div class="parent">
    	<div style="float:left">something</div>
    	<div style="float:right">something</div>
    	<div style="clear:both"></div>
    </div>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles