Jump to content

Strange hyperlink shift when clicking


jasonxweb

Recommended Posts

Hi Everyone,

When I click on the hyperlinks - text or image - on my site, the text or image shifts! This is driving me crazy! Please see what I mean here:

http://www.jasonwangart.com/p/about.html

Try clicking on the Facebook hyperlink icon, or the last sentence in the box. It also happens here:

http://www.jasonwangart.com/search/label/illustration

When I click on the "New "Drawing Camp Tutorial" in tutorials" hyperlink (third line from the top), or the images in the gallery, the text and the image shifts!

Does anyone know what is causing this? Thank you. Jason

<!doctype html>			<style>			.jw-1-about			{						width: 300%;				    			    border: 0px solid red;				text-align: center;                    font-size: 16px;                background-color: rgba(255,255,255,0.0);			}						.jw-2-about			{						width: 500px;					    			    padding: 10px 0px 10px 0px;				    border: solid rgba(0,0,0,0.2);				border-width: 0px 1px 0px 1px;				border-radius: 15px 15px 15px 15px / 30px 30px 30px 30px; 			    margin: 0px auto 0px auto;				text-align: center;                    font-size: 16px;                background-color: rgba(255,255,255,0.3);			}			.jw-3-about-text-box			{				width: 75%;				border: 0px solid black;				margin: 18px auto 18px auto;					{			</style>		    <div class="jw-1-about">        	<div class="jw-2-about">        		<div class="jw-3-about-text-box">	    		<b> Hello visitors! </b>		    </div>		        		<div class="jw-3-about-text-box">	    		I will post my most recent drawings on this website, and also on my Facebook page.		    </div>		        		<div class="jw-3-about-text-box">            	<a href="http://www.facebook.com/jasonwangart">               		<img src="http://2.bp.blogspot.com/-GLgaU-VPshc/U4N08qWLn1I/AAAAAAAAAZ8/--FxtOA2W8g/s1600/LOGO+facebook+50+c.png" width="35px" height="35px" alt="facebook"/>            	</a>		    </div>	  		    		<div class="jw-3-about-text-box">	    		I hope you will enjoy looking at my drawings!		    </div>			    		        		<div class="jw-3-about-text-box">	    		I live in Vancouver, Canada - on <a href="http://aaron-carapella.squarespace.com/fulltribalnationsmap/">Unceded Indigenous Coast Salish Territories on Turtle Island</a>.		    </div>		    	    	 			    		    		</div>		    	</div>		</!doctype>
Link to comment
Share on other sites

This selector is making all links that are clicked on display as inline-blocks:

.jw-3-button-pages a:hover, a:active {    -moz-border-bottom-colors: none;    -moz-border-left-colors: none;    -moz-border-right-colors: none;    -moz-border-top-colors: none;    background-color: rgba(255, 255, 255, 0.5);    border-color: rgba(0, 0, 0, 0.6);    border-image: none;    border-style: solid;    border-width: 0 1px;    color: rgba(0, 0, 0, 0.8);    display: inline-block;    float: left;}

I believe the selector you really were trying to do is this:

.jw-3-button-pages a:hover,.jw-3-button-pages a:active {
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...