Hi Angela,
The total image width (and height) is 70px (image) + 3px + 3px (paddings) +
1px + 1px (borders) = 78px.
To align text to the bottom set: #div.boardcontainer p { margin-bottom:0;
}
Off Topic: The images dimensions are 90x90px and are around 20K in weight.
I suggest edit images and set 70x70px as well as reduce the weight (around
2k each one).
Regards
MaurĂcio Samy Silva
http://maujor.com
http://facebook.com/maujor
@maujor
-----Mensagem original-----
De: [email protected]
[mailto:[email protected]] Em nome de Angela French
Enviada em: quinta-feira, 16 de maio de 2013 18:09
Para: css-d ([email protected])
Assunto: [css-d] trouble aligning text at bottom of container
... First off my image is 70px tall, yet I had to make the parent container
in which it sits 78px to look as tall (I have colored the background yellow
so the parent container can be seen for this example. What accounts for the
8px different?
Second, I can't get my text to align to the bottom of the container. The
only way I can force it down is to give a negative value to the bottom of
the <p> tag. Right now it is bottom:0px; As there is not padding-bottom on
the container I can't figure out why the text won't go to the bottom.
Thanks for any help.
...
Angela French
Internet Specialist
State Board for Community and Technical Colleges
360-704-4316
[email protected]
http://www.checkoutacollege.com/
http://www.sbctc.edu
______________________________________________________________________
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/