Well, the below will never do. I'm having a bad day. Someone else will 
help you out...



David Laakso wrote:
> Fractal Moonshine wrote:
>   
>> I have validated both the XHTML and the CSS at W3C for this page:
>>
>> http://www.marketstreetsingers.org/posters/css/index.html
>>
>> How can I get the photo, div id="frontpagephoto", to be horizontally 
>> centered, below the logo and the menu? And, how can I get the black border 
>> around it again? For some reason, that stopped working when I made the logo 
>> a background image, instead of a part of the header.
>>
>> Thank you!
>>   
>>     
>
>
> Change this selector to read only (and it will center the block 
> containing the image):
> #frontpagephoto {
> width: 445px; height: 217px;
> margin: 0 auto;
> }
> Add this new selector (to target the image in the contained block):
> #frontpagephoto img {
> border:1px solid #000;
> display: block;
> }
>
>
>
>   






-- 

A thin red line and a salmon-color ampersand forthcoming.

http://chelseacreekstudio.com/

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

Reply via email to