...

View Full Version : HTML and CSS PROBLEM



dawa
12-30-2009, 07:02 AM
Dear all,
i have hyper-linked am image to other page,but i have used the CSS to place the image at right location but my hyperlink does not work when i check in Mozilla Firefox but is is working in Internet Explore...please help me what is the problem in my code
here is the html code :
<!-- HEADER --><!-- Flag navigations -->

<div class="navflag-container">
<div class="navflag">
<ul>
<li><a href="arts_crafts.php"><img src="img/flag_uk.png" class="img-navflag" /></a></li>
<li><a href="festival.php"><img src="img/flag_germany.png" border="0" class="img-navflag" /></a></li>
<li><a href="drukPathTrek.php"><img src="img/flag_sweden.png" border="0" class="img-navflag" /></a></li>
</ul>
</div>
</div>

here is the CSS CODE i used to call from html code:
/*--------------------------*/
/* 2.2 - Navigation - Flags */
/*--------------------------*/
.navflag-container {width: 1000px; top: 14px; position: absolute; z-index: 2; background-color: transparent;}
.navflag {margin: 0px; padding: 0px; font-size: 1.0em;}
.navflag ul {float: right; margin: 0px; padding: 0px 20px 0px 0px;}
.navflag li {display: inline; list-style: none; margin: 0px; padding: 0px;}
.navflag li a {margin: 0px; padding: 0px 0px 0px 1px;}
.navflag a:hover {color: rgb(0,0,0); text-decoration: none;}
.img-navflag {display: inline; height: 14px; margin: 0px; padding: 0px; border: none;}

PLEASE HELP ME ANY ONE WHAT IS THE PROBLEM.

Regards
Dawa

abduraooft
12-30-2009, 07:06 AM
Can we have a link to your page?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum