Log in

View Full Version : Profile picture box outline shows through menu


Boofo
06-01-2012, 06:03 PM
How do I get the profile picture box outline to not show in the menu like it does in the attached pic? Is there some CSS I can add that will stop that from showing through?

RobbieZ
06-02-2012, 10:39 AM
Where are you getting that drop down menu from Rob?

Boofo
06-02-2012, 02:18 PM
A mod on my site.

Simon Lloyd
06-03-2012, 05:56 AM
In the CSS for the box change the z index and see how that goes for you :)

Boofo
06-03-2012, 01:00 PM
Change it to what? And where is the code to change?

Simon Lloyd
06-03-2012, 01:08 PM
usually when displaying images via css you will have a z index like this#logoAd {
position: absolute; // reposition logo from the natural layout
left: 70px;
right: 5px;
top: 81px;
width: 300px;
height: 275px;
z-index: 2;
}
and it's usually that z index that causes the issue, make it a larger number to be on top and lower to be in front. It could of course be a float or clear issue, do you haqve a link so i can check the source code?

Boofo
06-03-2012, 01:23 PM
Here's the source code for the pic:

<div id="userinfoblock" class="floatcontainer">

<a class="avatar" href="member.php?1-Boofo" title="Boofo's Profile Picture">
<span class="avatarcontainer"><img src="images/misc/unknown.gif" alt="" /></span>
</a>



The menu itself doesn't show to guests.

Simon Lloyd
06-03-2012, 01:52 PM
replace <a class="avatar" href="member.php?1-Boofo" title="Boofo's Profile Picture">
<span class="avatarcontainer"><img src="images/misc/unknown.gif" alt="" /></span>
</a>for<a class="avatar" href="member.php?1-Boofo" title="Boofo's Profile Picture">
<span class="avatarcontainer"><img src="images/misc/unknown.gif" alt="" border="0" /></span>
</a>other than that you'll either need to look at the floatcontainer or avatarcontainer CSS.

Boofo
06-03-2012, 03:24 PM
I thought of that but taking the border out will crew up the profile pic then. Since I use CSS for the menu. Maybe I can add something to that to hide the border.

Simon Lloyd
06-03-2012, 03:40 PM
The border="0" for the image shouldn't cause any issue, if you want borders around the pic use CSS or styling to do "border: 1px solid;"