The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Frame around avatar

3 posters

Go down

Solved Frame around avatar

Post by Amel Nuhanovic February 3rd 2012, 6:21 pm

how to make a frame around avatars, for example all members have same frame at avatar (if can be in this color #333333 and with rounded edges). My forum version is phpBB2 and forum theme is this https://help.forumotion.com/t102515-brown-and-brown size about all avatars will be 100 x 150 not bigger then this.

THANKS


Last edited by Amel Nuhanovic on February 4th 2012, 1:51 am; edited 1 time in total
Amel Nuhanovic
Amel Nuhanovic
Forumember

Male Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina

Back to top Go down

Solved Re: Frame around avatar

Post by *Mare-SBK™* February 3rd 2012, 10:35 pm

Try this CSS:
Code:
tr.post a img {
padding: 3px;
border: 1px solid #333333;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
*Mare-SBK™*
*Mare-SBK™*
Forumember

Male Posts : 181
Reputation : 16
Language : Serbian, English, German

http://design4u.forumsr.com/

Back to top Go down

Solved Re: Frame around avatar

Post by Guest February 3rd 2012, 10:40 pm

*Mare-SBK™* wrote:Try this CSS:
Code:
tr.post a img {
padding: 3px;
border: 1px solid #333333;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
This is not perfect, because all image links in a post will be like that... Reccomend to use:
Code:
tr.post td[width="150"] a img {
padding: 3px;
border: 1px solid #333333;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
avatar
Guest
Guest


Back to top Go down

Solved Re: Frame around avatar

Post by LGforum February 4th 2012, 12:04 am

Why not just use:

Code:

.poster-profile>a>img {
  padding: 3px;
  border: 1px solid #333333;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

Since people might change the width. Thats a silly attirubte to check Razz
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Frame around avatar

Post by Amel Nuhanovic February 4th 2012, 1:31 am

well this work guys really thanks, but how to move now little right that frame with avatar at centar, because he is showed little at left side, i mean he little left, and if can that frame line around avatar be bigger little...ask please what you need from me i will post here about this
Frame around avatar Fz84tz
Amel Nuhanovic
Amel Nuhanovic
Forumember

Male Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina

Back to top Go down

Solved Re: Frame around avatar

Post by LGforum February 4th 2012, 1:48 am

Try this CSS instead:

Code:

.poster-profile>a>img {
  padding: 3px;
  border: 2px solid #333333;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  box-shadow: 2px 2px 2px #888;
  margin: 3px auto;
  width: 90%;
}
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Frame around avatar

Post by Amel Nuhanovic February 4th 2012, 1:50 am

its work thanks really
Amel Nuhanovic
Amel Nuhanovic
Forumember

Male Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum