Previous Message
Next Message

trying to center an image

Sent by Linda H on 2 July 2005 23:11


Hi,

I can't figure out why I can't get an image to center (actually it doesn't 
work when I replace the image with text either). I am using a div with a 
class that has an attribute 'margin: auto;'. My understanding is that div 
uses the box model, so I don't understand why margin: auto doesn't work.

The page is at http://tinyurl.com/7ly2d . The pertinent css is embedded. 
but it also references another stylesheet at http://tinyurl.com/degwy

Help is appreciated.

Linda Hobbet  

______________________________________________________________________
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: