Grow your CSS skills. Land your dream job.

main copy slides down

  • # March 30, 2009 at 12:07 pm

    I recently rebuilt our companies website, http://www.carboncountynews.com and am having problems with internet explorer. The main copy in the middle keeps sliding down under my floats on the left and right side. Can anyone help me with this. I don’t have any margins or padding setup and I have used the same coding for two other sites and don’t seem to have a problem with them. The site of course looks just fine in other browsers.

    # March 30, 2009 at 2:05 pm

    iframes, tables, errors, oh my!

    http://validator.w3.org/check?uri=http% … omatically)&doctype=Inline&group=0

    Remove height:2200px; from your left and right divs, there is no reason for that to be there.

    Try changing your main content table to this:

    <table width="500" align="center" cellpadding="0" border="0">

    Also, if you have only just recently rebuilt the site, I’d recommend rebuilding it again using proper standards for today’s web browser.

    # March 30, 2009 at 2:07 pm

    I have not tested this but try adding these styles to your mid content.

    Code:
    float: left;
    display: inline;
    width: table_width_here px;
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".