HighDots Forums  

h1 tag problem? why?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss h1 tag problem? why? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: h1 tag problem? why? - 12-19-2003 , 12:55 PM






"Neal" <neal (AT) spamrcn (DOT) com> wrote:

Quote:
But doesn't the UA only use the largest margin of the two when
vertically aligning block elements?
Not always. When a bottom margin is -5px and the next element's top
margin is 15px, the effective margin is 10px.

Quote:
So as long as you have a margin
of 0, the margin that occurs will be the one set or default for the
other element (in this case, a p seemingly)?
Yes, if is zero or positive. But not when it is negative.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


Reply With Quote
  #12  
Old   
Neal
 
Posts: n/a

Default Re: h1 tag problem? why? - 12-19-2003 , 06:05 PM







"Jukka K. Korpela" <jkorpela (AT) cs (DOT) tut.fi> wrote

Quote:
"Neal" <neal (AT) spamrcn (DOT) com> wrote:

But doesn't the UA only use the largest margin of the two when
vertically aligning block elements?

Not always. When a bottom margin is -5px and the next element's top
margin is 15px, the effective margin is 10px.

So as long as you have a margin
of 0, the margin that occurs will be the one set or default for the
other element (in this case, a p seemingly)?

Yes, if is zero or positive. But not when it is negative.
Wow. That's a little counter-intuitive. But thanks.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.