On Sat, 8 Aug 2009 07:53:42 -0400, tedd.sperl...@gmail.com (tedd) wrote:
....
>You don't need the width="210" height="300". For example, this works:
>
><div class="pfm">
>     <img src="Images/Nxxxxx.jpg">
>     <p class="nrmltextn">Yanni Nxxxxx </p>
>     <p class="notetextn">Sally Riordan Scholarship, 2007- </p>
></div>

I have read that if you omit the dimensions you will sometimes see the page 
reshuffle
itself as it loads, because the browser starts loading, then finds the 
dimensions are
incompatible with it's initial assumptions.  I don't know how serious a problem 
this is,
but  if the dimensions prevent it happening I am happy to provide them.
 In my scheme of things <p> has normal paragraph spacing, 'nrmltxtn' has zero 
spacing, and
'notetxtn' is a size smaller, also with zero line spacing.

>Also, if you use first-child, it could be taken down to:
>
><div class="pfm">
>     <img src="Images/Nxxxxx.jpg">
>     <p>Yanni Nxxxxx </p>
>     <p>Sally Riordan Scholarship, 2007- </p>
></div>

Except that line 2 is smaller than line 1.   In my scheme of things <p> has 
normal
paragraph spacing, 'nrmltxtn' has zero spacing, and 'notetxtn' is a size 
smaller, also
with zero line spacing.

I could redefine <p> & <h4> for this class (provided I never want to use the 
normal values
in it), but there is something to be said for having a standard set of fonts, 
and always
knowing what I will get, rather than having <p> mean something different every 
time I use
it.

And, as others have pointed out, a few thousand bytes more or less is totally 
immaterial.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to