Results 1 to 3 of 3

Thread: Need some CSS help with two small issues

  1. #1

    Need some CSS help with two small issues

    Here is the design thus far:

    1. FIXED

    2. FIXED
    Last edited by deronsizemore; 11-11-2006 at 04:32 PM.

  2. #2
    I see mildly ill people. AmbulanceBlues's Avatar
    Join Date
    Aug 2006
    Location
    Houston
    Posts
    119

    Maybe This?

    There is an unnamed div encompassing all of the content in your footer div, which seems to be redundant. Your CSS Says this:

    Code:
    #footer {
    width: 840px;
    text-align: left;
    margin: auto auto;
    clear: both;
    border-top: 1px dotted #999;
    }
    #footer div {
    padding: 10px 5px 0 0;
    }
    The top border is applied to the footer div itself, not the second internal one. So, maybe whatever changes you are trying to make are being applied to the internal unnamed div rather than the actual one. That's what the CSS above would lead me to believe. I don't know if you are hand-coding or using a WYSIWYG editor. I'm no expert - I really just research things like this for my own edification - but itseems that might be where your problem starts.

    Also, I have IE 7 and I think maybe your script was sending me CSS that it shouldn't have, because there were some comments to the effect that this or that was only for IE5, or 6, or 7. Is my browser supposed to interpret that, or is it a server side thing?
    Last edited by AmbulanceBlues; 11-10-2006 at 09:14 PM.
    --> --> --> --> --> -->

  3. #3
    Quote Originally Posted by AmbulanceBlues
    There is an unnamed div encompassing all of the content in your footer div, which seems to be redundant. Your CSS Says this:

    Code:
    #footer {
    width: 840px;
    text-align: left;
    margin: auto auto;
    clear: both;
    border-top: 1px dotted #999;
    }
    #footer div {
    padding: 10px 5px 0 0;
    }
    The top border is applied to the footer div itself, not the second internal one. So, maybe whatever changes you are trying to make are being applied to the internal unnamed div rather than the actual one. That's what the CSS above would lead me to believe. I don't know if you are hand-coding or using a WYSIWYG editor. I'm no expert - I really just research things like this for my own edification - but itseems that might be where your problem starts.

    Also, I have IE 7 and I think maybe your script was sending me CSS that it shouldn't have, because there were some comments to the effect that this or that was only for IE5, or 6, or 7. Is my browser supposed to interpret that, or is it a server side thing?

    I'm hand coding using edit+.

    The extra div is intentional. From everything I've read, this is suppose to be the easiest way to get around the broken box model of IE. Because anytime you are specifying a width explicitly and you also specify padding/margins on the right or left you can run into some problem with browsers interpreting it wrong, so you can create an extra child div to apply padding too, so it stays separate from the attribute with the width applied.

    As far as the extra comments, they are suppose to be there also. They are just small conditional statements that send specific rules to IE browsers only to get by IE's little quirks. I'm not an expert myself and don't know all the little hacks and work arounds for IE, so conditionals I think are the easiest way. From everything I've read they are gaining in popularity. The site works fine in IE 6 and 7 without the extra conditional statements, but IE adds some extra padding/magins in a few places and I just threw in the conditionals so that the site looks exactly the same in Firefox and IE.
    Last edited by deronsizemore; 11-10-2006 at 09:47 PM.

Similar Threads

  1. First go at a fluid layout...few small issues
    By deronsizemore in forum HTML, CSS, Layout, and Design
    Replies: 8
    Last Post: 06-07-2006, 05:50 AM
  2. PHP cookie/sessions expertise wanted small job/good pay
    By LuckyShima in forum The Marketplace
    Replies: 2
    Last Post: 02-09-2006, 01:26 AM
  3. Server Issues
    By Chris in forum Site and Forum Feedback
    Replies: 13
    Last Post: 01-16-2006, 06:35 AM
  4. Small problem with the AWS script
    By chef in forum Advertising & Affiliate Programs
    Replies: 8
    Last Post: 07-25-2004, 01:08 PM
  5. Legal issues with site
    By MattM in forum Business and Legal Issues
    Replies: 2
    Last Post: 03-21-2004, 07:25 PM

Bookmarks

Posting Permissions

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