Hi there

Im doing my web site and i have came across a little bit of coding i wish to change - i thought it could be changed in CSS but i don't think it can.

Basically im using a "title="Image 3" tag to use as a brief description of the image, this is working fine BUT the text has ( ) either side them? and i want them removed - i was looking at <em> tags as well but the java & jquery code i "think" adds the ( )

this is what i have - is it possible to remove them?

<script type="text/javascript">

$(document).ready(function(){

	$("h2").append('<em></em>')

	$(".thumbs a").click(function(){
	
		var largePath = $(this).attr("href");
		var largeAlt = $(this).attr("title");
		
		$("#largeImg").attr({ src: largePath, alt: largeAlt });
		
		$("h2 em").html(" (" + largeAlt + ")"); return false;
	});
	
});
</script>

<a href="img4-lg.jpg" title="Pure seal a logo designed for the love of roofs"><img src="img4-thumb.jpg" /></a>

let me know if i have missed anything out - im very new

Simon

Maybe try like this..

$("h2 em").html(largeAlt);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.