Re: [css-d] why don't they line up?

2008-03-20 Thread Geoffrey Hoffman
That is a bit odd.

I'm not 100% sure, but when I added borders to both containing divs in
Firebug they jumped down to line up.
I think it has something to do with the automatic top and bottom margin that
H2's get by default.
Try explicitly declaring a top and/or bottom margin for #updt_left h2 and
#updt_main h2 and see if that fixes it.




On Thu, Mar 20, 2008 at 4:21 PM, Rick Pasotto [EMAIL PROTECTED] wrote:

 I hope this is the right list to ask this question on. The page in
 question is: http://charlottetoastmasters.info/acc/s.php

 Why don't the two h2s ('Meeting Date' and 'Schedule for mm/dd/yy') line
 up? Why is 'Meeting Date' lower than 'Schedule for mm/dd/yy'? Firebug
 tells me that the styling is identical for both of them.

 --
 Being an Atheist is nothing to be apologetic about. On the contrary, it
  is something to be proud of, standing tall to face the far horizon, for
  atheism nearly always indicates a healthy independence of mind and,
  indeed, a healthy mind. -- Richard Dawkins
 Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
 __
 css-discuss [EMAIL PROTECTED]
 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/

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] why don't they line up?

2008-03-20 Thread David Laakso
Rick Pasotto wrote:
 I hope this is the right list to ask this question on. The page in
 question is: http://charlottetoastmasters.info/acc/s.php

 Why don't the two h2s ('Meeting Date' and 'Schedule for mm/dd/yy') line
 up? Why is 'Meeting Date' lower than 'Schedule for mm/dd/yy'? Firebug
 tells me that the styling is identical for both of them.

   



Enclosing the content of #main, deleting the margin left on that 
division, and zeroing the margin for h2 /seems/ to bring it in fairly 
close on a local file in compliant browsers, and IE/7 and IE/6.

Try:

h2 {margin: 0;}

div#main {
   overflow: hidden;
   border: 1px solid red/*test*/;
text-align: left;
 
/*margin: 0 0 0 8em; */
/*padding: 0; not needed*/
}



-- 
http://chelseacreekstudio.com/

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] why don't they line up?

2008-03-20 Thread Rick Pasotto
On Thu, Mar 20, 2008 at 08:23:57PM -0400, David Laakso wrote:
 Rick Pasotto wrote:
  I hope this is the right list to ask this question on. The page in
  question is: http://charlottetoastmasters.info/acc/s.php

(That page is now removed.)

  Why don't the two h2s ('Meeting Date' and 'Schedule for mm/dd/yy') line
  up? Why is 'Meeting Date' lower than 'Schedule for mm/dd/yy'? Firebug
  tells me that the styling is identical for both of them.
 
 Enclosing the content of #main, deleting the margin left on that 
 division, and zeroing the margin for h2 /seems/ to bring it in fairly 
 close on a local file in compliant browsers, and IE/7 and IE/6.
 
 Try:
 
 h2 {margin: 0;}

Thanks. That did the trick. Should have thought of that myself.

-- 
When we start with character as a base, our options are virtually
 limitless. -- Zig Zigler
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
__
css-discuss [EMAIL PROTECTED]
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/