jcjones0421
08-04-2003, 09:42 AM
Looking for some info on determing number of pixels in an HTML break. I know it scales with font size but just trying to get an idea.
thanks in advance.
thanks in advance.
|
Click to See Complete Forum and Search --> : Pixels in HTML Break<br> jcjones0421 08-04-2003, 09:42 AM Looking for some info on determing number of pixels in an HTML break. I know it scales with font size but just trying to get an idea. thanks in advance. nkaisare 08-04-2003, 01:27 PM <br> is a line break. Do not use it to get spacing between adjecant elements. Use CSS instead. For example: <h1 style="margin-bottom: 25px">Some heading</h1> <p style="margin-top: 10px">This is a paragraph that follows the header. Its located 25 px below the header, not 35px. Note that vertical margins collapse and the spacing is equal to the largest among the two. Negative values are allowed in margins. Negative values are subtracted before spacing is determined.</p> PeOfEo 08-04-2003, 11:51 PM <br> should be used for just that breaking a line, not spacing. pyro 08-05-2003, 07:27 AM Sounds like an echo of what Nicket just said: Originally posted by nkaisare <br> is a line break. Do not use it to get spacing between adjecant elements. PeOfEo 08-05-2003, 03:11 PM Originally posted by PeOfEo <br> should be used for just that breaking a line, not spacing. If we reapeat things like this enough people might get the point.... just trying to drive it in lol. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |