1.

Solve : White space problem?

Answer»

Well, with the background color it's actually a light blue space problem  .  I am doing my first web page for a friend of mine, and cannot figure out how to CLOSE the gap between the first two lines by about a third to a half.  I've searched NUMEROUS places on the web and have run out of luck.  Here's what I first had as the code:


      
          Acme Transport Company
          (905) 123-4567 or (987) 654-3210
      

And I wanted bigger type.  So, somewhere I read to use style SHEETS.  So I did that and that gap appeared.  I realize that there would be a bigger gap because of the bigger sized type, but I don't want the gap as big as it is.  Here's the style sheet coding:
 

      h1 {
         color: black
         font-family: georgia, arial;
         font-weight: BOLD;
         font-style:  italic;
         text-decoration: underline;
         text-align: center;
         font-size: 35pt;
         verticle-align: top;
          }
      h2 (
         color: black
         font-family: georgia, arial;
         font-weight: bold;
         font-size: 20pt;   
         verticle-align: top;
         }      
   
   
   
      
          Acme Transport Company
          (905) 123-4567 or (987) 654-3210
      
   

Any help is appreciated!  The space between the and the ?

Add a "margin-bottom: 0px;" to the h1 CSS.Yes, that's the space I was talking about, and your suggestion WORKED!  Thanks for the help!

Great! you dont have to use hex you know you can say light blue.  Just a tip  Quote from: squall_01 on August 18, 2009, 04:59:25 PM

you dont have to use hex you know you can say light blue.  Just a tip 

Yeah, I know.  I was looking at a color palate with the customer that had hex codes, and this was the color they picked.   you may find it too be better since you can select the light or darkness of a certain color better.


Discussion

No Comment Found