Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-12-2010, 10:26 PM   #1
V_RocKs
Damn Right I Kiss Ass!
 
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
CSS Gurus - Is this possible?

I have a site where I cannot change the CSS. I can only add intag style marks and I can also put stuff in the header.

This particular code is there to make each sidebar link have a pink dot in front of it that changes to green when it is moused over.

My problem is that it is also inserting the dot in front of pictures too.



Can I put some inline style or something in the header style that will break this from putting the image in front of the <a><img> tags?

Code:
#nav a {
	display: block;
	padding: 3px;
	padding-left: 17px;
	width: 130px;
	border-bottom: 1px solid #eee;
	background-image: url(http://www.sensualwriter.com:8080/themes/dixiebelle/images/icon.gif); 
	background-repeat: no-repeat;
	background-position: 0 55%;
	color: #000;
	}

#nav a:link, #navlist a:visited{
	text-decoration: none;
	}

#nav a:hover{
	background-image: url(http://www.sensualwriter.com:8080/themes/dixiebelle/images/icon2.gif); 
	background-color: #fff;
	color: #339933;
	}



And the section in HTML from the source.

Code:
<li id="text-1" class="widget widget_text">						<div class="textwidget"><p><a href="http://join.jschoolgirls.com/track/NDIwMToxMToyMA/"><img title="Japanese School Girls" alt="Japanese School Girls" src="http://www.2teens.net/asians/asianteensx/240_400_jsg.gif" width="144" height="240" /></a><br /><a href="http://join.jschoolgirls.com/track/NDIwMToxMToyMA/" target="_blank">Japanese School Girls</a></p> 
<p><a href="http://www.jpnurse.net.in/"><img title="Japanese Nurse" alt="Japanese Nurse" src="http://www.2teens.net/asians/asianteensx/240_400_01.jpg" width="144" height="240" /></a>           <br /><a title="Japanese Nurse" href="http://www.jpnurse.net.in/" target="_blank">Japanese Nurse</a></p></div> 
		</li>


Again, is it possible to override that CSS snippet so there is no icon in front of the picture/banners?
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 10:36 PM   #2
Jason Voorhees
So Fucking Banned
 
Industry Role:
Join Date: Jul 2010
Location: Camp Crystal Lake.
Posts: 843
#nav a img { background-image: none; }
Jason Voorhees is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 10:39 PM   #3
V_RocKs
Damn Right I Kiss Ass!
 
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
Quote:
Originally Posted by Jason Voorhees View Post
#nav a img { background-image: none; }
So simple and obvious that once I saw it, I slapped myself!
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 10:40 PM   #4
Jason Voorhees
So Fucking Banned
 
Industry Role:
Join Date: Jul 2010
Location: Camp Crystal Lake.
Posts: 843
Quote:
Originally Posted by V_RocKs View Post
So simple and obvious that once I saw it, I slapped myself!
Usually how it goes.
Jason Voorhees is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 10:43 PM   #5
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 3,765
nevermind i got beat to it plus i missed you saying you could work the header lol.

apply it to the '#nav a:hover img' as well
__________________
flexx [dot] aeon [at] gmail

Last edited by FlexxAeon; 10-12-2010 at 10:46 PM..
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.