View Full Version : Banner
vjsphotos
Apr-06-2007, 05:35 PM
I had a banner in there last night and tonight I decided to change it so I uploaded a new one, inserted info into CSS and now it looks all wierd!
Check it out at www.vjsphotos.com (http://www.vjsphotos.com)
I need space at top and it is cut off at bottom and on right!
I have this in CSS
#my_banner {
width: 576px;
height: 141px;
margin: 0 auto;
background: url(http://VJsPhotos.smugmug.com/photos/141663334-L.jpg) no-repeat;
margin-bottom: 15px;
}
That is the size Illustrator gave me for the banner.
What is wrong?
Barb
Apr-06-2007, 05:38 PM
I had a banner in there last night and tonight I decided to change it so I uploaded a new one, inserted info into CSS and now it looks all wierd!
Check it out at www.vjsphotos.com (http://www.vjsphotos.com)
I need space at top and it is cut off at bottom and on right!
I have this in CSS
#my_banner {
width: 576px;
height: 141px;
margin: 0 auto;
background: url(http://VJsPhotos.smugmug.com/photos/141663334-L.jpg) no-repeat;
margin-bottom: 15px;
}
That is the size Illustrator gave me for the banner.
What is wrong?
Hi Vicki,
The dimensions are wrong in your code. Replace with this:
#my_banner {
width: 800px;
height: 196px;
margin: 0 auto;
background: url(http://VJsPhotos.smugmug.com/photos/141663334-L.jpg) no-repeat;
margin-bottom: 15px;
margin-top: 15px;
}
See how that looks to you :)
vjsphotos
Apr-06-2007, 05:46 PM
Perfect!
Why does Illustrator measure different?
VJ
Barb
Apr-06-2007, 05:52 PM
Perfect!
Why does Illustrator measure different?
VJ
Hm, I'm not sure. I'm not familiar with Illustrator. But you can always get the dimensions by right-clicking on your image and choose properties.
vjsphotos
Apr-06-2007, 05:57 PM
Hm, I'm not sure. I'm not familiar with Illustrator. But you can always get the dimensions by right-clicking on your image and choose properties.
Thanks!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.