setting height and width doesn't work either.

On 2/5/07, jeffrey morin <[EMAIL PROTECTED]> wrote:
>
> wow i can't believe i forgot to do that. i've been driving myself nuts.
> thanks so much
>
> On 2/5/07, Brian Riley < [EMAIL PROTECTED]> wrote:
> >
> > jeffrey morin wrote:
> > > here is how the code looks. i don't have a server for it yet.
> > >
> > > <div id="mainContent">
> > >         <h1>Some Text</h1>
> > >              <p>More text here</p>
> > > </div>
> > >
> > >
> > > CSS:
> > >
> > > #mainContent h1 {
> > >     background: transparent url(styles/background-images/leaf.gif)
> > no-repeat
> > > center right;
> > >     font-family: verdana;
> > >     font-size: 21px;
> > >     font-weight: normal;
> > >     color: #405723;
> > >     margin-left: 25px;
> > >     margin-bottom: 10px;
> > > }
> > >
> > You don't have a width and height set here, so maybe the image is there
> > but getting cut off (so you're not seeing it). Set a width and height
> > (or padding) appropriate for the size of the image and see if that does
> > anything.
> >
> > Brian
> >
> > --
> > Brian Riley
> > http://www.seventysevendesigns.com
> >
> >
>
>
> --
> Jeffrey Morin




-- 
Jeffrey Morin
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to