April 23, 201313 yr I am trying to put a div below the 3 pictures in my homepage so I can create a contact me bar for a free consultation, however it just won't show, ran my page through an html validator but it only shows 2 errors none of which relating to divs at all so not sure what the problem is. Been trying to figure it out for ages so frustrating. I know it won't be anything too major but can't figure out what is wrong? The website is http://www.cherrietestingwebsite.org/
April 23, 201313 yr Try putting a div below your closing content div and above the footer. Im not able to look into this in detail at the moment, but perhaps you need to clear your floats (you can either call a plumber or click here).
April 24, 201313 yr First, I would delete <?xml version="1.0" encoding="UTF-8"?> above the doctype. Anything above the doctype creates problems in IE and isn't necessary. If you have floated divs and want to put another div below, add clear: both; to the id or class of the div below if it's full width or nearly full width, or add your separate div <div style="clear:both;"></div> below the floated divs (or below the container of floated divs if there is one) to break the floats.
Create an account or sign in to comment