Zaloguj | Zarejestruj | FAQ
Anonymous

Border around image

+ Odpowiedz

Posty: 3 Strona 1 z 1


Border around image

przez SteveH » Pn lut 03, 2014 7:39 pm

Hello

I have a (too thick) border around an image whose size I would like to reduce. I would have thought that reducing the size of the border in my style sheet (attached) would have done that - I would like to reduce it to, say, 3px, but can't seem to make that happen?

The page online is here (it's the main banner image): http://www.bayingwolf.com/India/index.html

Can anyone offer advice, please?

Many thanks.

Załączniki

  1. style.txt (4.58 KiB) Pobrane 2113 razy

Avatar użytkownika

SteveH

  • Posty: 40
  • Dołączył(a): Pn lut 03, 2014 7:32 pm

Re: Border around image

przez XainPro » Śr lut 05, 2014 2:37 am

i think it's not border it's padding and margin just reduce the values of padding and margins
in this banner rule


#banner
{

position: relative;

padding: 20px;

height: 225px;

width: 910px;

margin: 35px 0 35px 0;

background: #FFF;

}
Avatar użytkownika

XainPro

  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm

Re: Border around image

przez SteveH » Śr lut 05, 2014 3:18 pm

Many thanks for that, XainPro.

The page seems to have moved to the left and the two boxes at the bottom do not align, but the image border looks a lot better!

Thanks
Avatar użytkownika

SteveH

  • Posty: 40
  • Dołączył(a): Pn lut 03, 2014 7:32 pm


+ Odpowiedz

Strona 1 z 1