www.webdeveloper.com
Results 1 to 9 of 9

Thread: [RESOLVED] Odd spacing in IE

  1. #1
    Join Date
    May 2013
    Posts
    10

    resolved [RESOLVED] Odd spacing in IE

    Hey everyone,

    I am new to the forums and this looks like a great place to build and learn.

    The thing I am having a problem with is when you open my MAIN page here:http://www.benjaminvilina.com/hab/ in Internet Explorer there is this huge gap between my div buttons.

    Open it in firefox, chrome, safari and it works perfect.

    Any ideas guys/girls?

  2. #2
    Join Date
    Sep 2008
    Location
    Akron, OH
    Posts
    1,129
    Your markup is rendering extra markup between your line1 and line2 divs. Open it in Chrome Debugger to check. Here's what it's putting:

    <div id="line1">...</div>
    <a href="price.html">

    </a>
    <div id="line2">...</div>
    I'm always up for networking with fellow web professionals. Connect with me on LinkedIn if you like!

  3. #3
    Join Date
    May 2013
    Posts
    10
    hmmm, I wonder why it is doing this...

  4. #4
    Join Date
    May 2013
    Posts
    10
    Ahhh, I fixed it. Thanks @cbVision for bringing it to my attention in that area.

    It was a stupid minor fix that I should have seen.

    <a href="why.html"><div class="m2" id="mCont2"><h1 id="pric" class="cent">WHY AMP?</h1></div></a>
    <a href="price.html"><div class="m3" id="mCont"><h1 class="cent" id="pric">OUR PRICING</h1></div></a>


    Were missing their end "</a>" tags...

    lol but cheers!

  5. #5
    Join Date
    Mar 2011
    Posts
    1,144
    You've got some mark-up errors that need correcting, like enclosing <div>s in <a>nchor tags. Validate your code and see if that helps.
    Rick Trethewey
    Rainbo Design

  6. #6
    Join Date
    Sep 2008
    Location
    Akron, OH
    Posts
    1,129
    Perfect! Glad you got it straightened around!
    I'm always up for networking with fellow web professionals. Connect with me on LinkedIn if you like!

  7. #7
    Join Date
    Apr 2013
    Posts
    378
    I also face problem when I open my site in IE, the right sidebar shows in bottom, what is the main problem here?

  8. #8
    Join Date
    May 2013
    Posts
    10
    Quote Originally Posted by Hanasons View Post
    I also face problem when I open my site in IE, the right sidebar shows in bottom, what is the main problem here?

    do you have a link to the site that has the problem buddy?

  9. #9
    Join Date
    Feb 2013
    Location
    USA
    Posts
    40

    Re:

    Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles