Previous Message
Next Message

Old HTML guy takes a beating...

Sent by Christian Montoya on 29 November 2005 01:01


>
> 1. How do I get rid of the space under the thumbs so the text is right underneath each
> image?
>

* { margin:0; padding:0; } applied to the images, maybe?

> 2. How can I center each image in each float? They only seem to left align

If you have a float, and what is contained is in another container,
you could apply display:block to that container, and then
text-align:center. That is, if the images are inline, then
text-align:center should work on them.

>
> 3. When it wraps there is no vertical space between what amounts to then "two rows" or
> images and text where should I add margin, to the bottom of the paragraph?

Yes.

>
> 4. How can I center all the images within the main container so they all group together in
> the middle instead of left aligning and leaving a large, unsightly. blank space at the far
> right when there is not enough room to show another thumbnail? Or can the container center
> and scale with the page?

Maybe text-align:center would be the best way? If you float something,
you can't center it. Using display:inline with text-align:center might
work.
>
> I could have done this in my sleep in about 10 min with a simple table

cheating never takes very long

> and feel very
> sheepish asking for help

but I live for this stuff! ask away!

--
--
Christian Montoya
christianmontoya.com ... rdpdesign.com ... cssliquid.com
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: