On 31.7.2010 23:04, Brian M. Curran wrote:
> Hello,
>
> I'd like to add a breadcrumb trail sub header on all of my pages, like it is
> done here:
>
>
>
> http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112
> <http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112 
> <http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112&id=13988778> 
> &id=13988778>
> &id=13988778
>
>
>
> Could someone tell me why there is a gap between my #header and #subheader
> on this test page:
>
>
>
> http://www.drafting services.com/testindex.html
>
>
>
> Please just copy and paste the link, removing the space between the words
> drafting and services. I pasted the link in my email this way because when I
> paste a direct links into my emails, I end up getting backlinks to my
> website from the css-discuss pages.
>
>
>
> Sincerely,
> Brian

 

On Sat, Jul 31, 2010 at 1:15 PM, Ville Viklund <ville.vikl...@gmail.com> wrote:

Hi!

Your p tags have 13px margin-top and bottom, which create the gap
between #header and #subheader. You might want to read about css reset
http://meyerweb.com/eric/tools/css/reset/ or you can just set #subheader
p{margin: 0;}

Ville

 

 

In the future, a great debugging tool to use is Firebug 
<https://addons.mozilla.org/en-US/firefox/addon/1843/> . It can tell you all 
the layout properties of any element on the page, and allows you to edit them 
on-the-fly.

 

Hope this helps,

Alex Mitchell

http://gumware.com

 

 

 

 

 

Thanks!! While I was at removing the margin for that p tag,  I also decreased 
the size of the font, in order to annoy David Laakso. :-P

 

 

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to