Solved

CSS issue - large gap and don't know how to narrow it down

Posted on 2010-11-18
3
318 Views
Last Modified: 2012-05-10
On this site:

http://subastaprlive.auctionserver.net/view-auctions/individual-lots/?key=

Under the word "Estimates" there is an unusually large gap and I'm wondering how I can reduce it.
0
Comment
Question by:SWB-Consulting
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Expert Comment

by:udoobu
ID: 34167486
Hello! It looks like there is a <br> tag right under "Estimates" that's causing the spacing. Are you able to remove that <br> or is it set in a template or something?
0
 

Author Comment

by:SWB-Consulting
ID: 34167573
Yes the br tag is set and it has to be there, but it also appears at other places and doesn't cause such large gaps ...
0
 
LVL 9

Accepted Solution

by:
CCSOFlag earned 500 total points
ID: 34168372
it's because the estimate div that you have is a block element.  Block elements automatically puts a <br /> after the div.  So when you put another one in it adds another line completely.  Then you have another div which is another block which starts another new line.  Removing that <br /. will move the values up beneath the word estimate.

So essentially you have three <br /> there in that spot because of how block elements work.  If you do not want the element to be a block, then change the display attribute to something else.  For example you could do display: inline-block (although IE doesn't recognize this).  If you did this, THEN you would want the <br /> there to force the values to move below the word estimates.
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question