- This topic is empty.
Viewing 12 posts - 1 through 12 (of 12 total)
Viewing 12 posts - 1 through 12 (of 12 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi guys
I’ve used an image banner to put a copun in my site,
but I don’t see how to set to the right place.
my site : http://www.soniagarcia.co.il – it’s the third widget down right.
I’ve tried:
.side2.banner-3 {
padding-right: 20px;}
or
li#banner-3
{
padding-top: 15px; padding-right: 30px;
}
or without the li but it doens’t catch any of them
any ideas?
img.banner-image {
float:left;
margin:10px 0 0 35px;
}
assuming the right place is centered and padded down a bit in your sidebar
sorry, it didn’t do the trick..
where do u want the image?
I mean… it didn’t change it at all… though I put it in the css. (css is refreshed each time)
r u sure, put it in styles.css, it centers the red circle coupon u have in your sidebar and creates a bit of spacing inbetween the one above it, is that not what you want?
That what I want but it didn’t do it…
I’ve put it in the end of my style.css
OK, now it worked..
I moved it from the end of the css to the middle right after the #sidebar
I guess it’s probably hierarchy thing
Thanks a lot!!
ya i dunno man, im using the firefox edit css toolbar on your site and when i put that code in it works, r u sure your saving it down correctly and refreshing?
try
img.banner-image {
border:1px solid red;
}
if you dont have a border around that image then something is wrong, but the code I gave you should work
you can also try this
div#sidebar {
text-align:center;
}
then put either top padding on the banner-image or margin-bottom on the image above it
NP happy to help