Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2012
    Posts
    83
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Getting lost with floats & divs

    Here is the page I'm working on:

    http://174.120.16.66/~thomasse/meet-the-team/#map1

    I'm trying to get the div id "zone" to line up underneath the corporate-sub div, creating a sort of bulleted list look. LMK if you can help me with the css...my head is spinning after this lol.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,746
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Hello cm123077,
    There wouldn't be anything wrong with putting that list in a ul and use those images as the bullets for each li. Kind of like this - http://nopeople.com/CSS%20tips/li_image/index.html

    Or you could try something like this too -
    Code:
    #corporate {
      width: 380px;
      overflow: auto;
    }
    #corporate-zone,
    #corporate-sub,
    #zone {
      margin: 0 0 0 25px;
      clear: both;
    }
    or this
    Code:
    #corporate {
      width: 380px;
      overflow: auto;
    }
    #corporate-zone, #corporate-sub, #zone { clear: both;}
    #corporate-sub, #zone {margin: 0 0 0 50px;}
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    New Coder
    Join Date
    Aug 2012
    Posts
    83
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Thanks. I actually figured it out last night, shortly after I posted this, but I forgot to remove the topic.


  •  

    Posting Permissions

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