small withe space between two Divs

Discussion in 'HTML & Website Design' started by cravinho, Dec 19, 2012.

  1. #1
    Hi people,

    I
     
    cravinho, Dec 19, 2012 IP
  2. nixonm

    nixonm Active Member

    Messages:
    40
    Likes Received:
    4
    Best Answers:
    3
    Trophy Points:
    78
    #2
    If your site is online, give us url.
     
    nixonm, Dec 19, 2012 IP
  3. TwitTwit

    TwitTwit Active Member

    Messages:
    117
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    55
    Digital Goods:
    1
    #3
    what's the content of that "banner" div? image? if so, that could be the descender because image is an inline element by default, add this on you CSS:

    #banner img { display: block; }
     
    TwitTwit, Dec 19, 2012 IP
  4. vivekmoyal

    vivekmoyal Member

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #4
    please put the online url for your website than we can check it and let you know about the exact problem
     
    vivekmoyal, Dec 23, 2012 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    given the code that 'space' is the LEAST of your problems -- though it's hard to diagnose without the COMPLETE HTML, you seem to have tables for layout, tables for nothing, multiple UL doing the job of ONE, a lack of a reset or manually stating such values enough, endlessly pointlessly redundant CSS, etc, etc...

    Opening up the URL that's in your code:
    http://www.montevelhoecoretreats.com/

    I see a laundry list of how not to build a website -- both in terms of the inaccessible font choices and illegible color contrasts on many elements, fixed widths, etc -- but also under the hood with the use of inlined presentation, non-semantic markup, and a whole host of other things that make me go to my classic response of: "Throw the whole thing away and start over from scratch, there is NOTHING worth saving here."

    I mean if you don't know what's wrong with:
    
    <body class="body cc-page cc-page-index cc-indexpage cc-pagemode-default cc-content-parent" id="page-1401500295">
    
    <div id="container" class="cc-content-parent">
        <div id="holder" class="cc-content-parent">
            <div id="header">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="17%" height="120">
    
    Code (markup):
    You might want to bring in someone who does.

    Though what have I been saying about HTML 5 being for the people who continue to write HTML 3.2 and for the past decade have been slapping a tranny doctype on it? Well, there it is in the flesh!
     
    deathshadow, Dec 23, 2012 IP