Aaron Posted December 7, 2011 Report Posted December 7, 2011 I made an image map for the vatsim and vatcan logo's to link them to vatsim and vatcan. How do I get rid of the blue boarder around the images? How do I get the VATCAN image to allign on the right? Now that I put up the logo's, the pilot login thing in the banner has moved down under them a bunch, how do I fix it. I think it's all problems in the style.css but I've tryed my best and cant fix it. Heres what I have in the layout.tpl the style.css is mostly the same as it was default except for the navbar. <div id="body"> <div id="innerwrapper"> <div id="topBanner"> <img src="http://www.canforce.org/lib/skins/crystal/images/VATSIM.jpg" width="166" height="63" alt="vatsim" usemap="#vatsim" /> <map name="vatsim"> <area shape="rect" coords="0,0,166,63" href="http://www.vatsim.net" alt="vatsim" /> </map> <img src="http://www.canforce.org/lib/skins/crystal/images/VATCAN.jpg" width="158" height="62" alt="vatcan" usemap="#vatcan" /> <map name="vatcan"> <area shape="rect" coords="0,0,158,62" href="http://www.vatcan.org" alt="vatcan" /> </map> <div id="topLogin"> <?php if(Auth::LoggedIn() == true) { $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <strong>Pilot ID: </strong> <?php echo $pilotid ; ?> <strong>Rank: </strong><?php echo Auth::$userinfo->rank;?><br /> <strong>Total Flights: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Total Hours: </strong><?php echo Auth::$userinfo->totalhours;?> <?php } ?> </div> </div> <div id="topNav"> <ul class="nav"> Quote
Tom Posted December 7, 2011 Report Posted December 7, 2011 What on earth are you doing? You don't need maps! <div id="body"> <div id="innerwrapper"> <div id="topBanner"> <a href="http://vatsim.net"><img src="http://www.canforce.org/lib/skins/crystal/images/VATSIM.jpg" width="166" height="63" alt="vatsim" usemap="#vatsim" /></a> <a href="http://vatcan.org"><img src="http://www.canforce.org/lib/skins/crystal/images/VATCAN.jpg" width="158" height="62" alt="vatcan" usemap="#vatcan" style="float:right;" /></a> <div id="topLogin"> <?php if(Auth::LoggedIn() == true) { $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <strong>Pilot ID: </strong> <?php echo $pilotid ; ?> <strong>Rank: </strong><?php echo Auth::$userinfo->rank;?><br /> <strong>Total Flights: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Total Hours: </strong><?php echo Auth::$userinfo->totalhours;?> <?php } ?> </div> </div> <div id="topNav"> <ul class="nav"> Quote
Aaron Posted December 7, 2011 Author Report Posted December 7, 2011 I fixed that and got rid of maps. The blue crap around it is still there tho. I also payed around with it and got the logo's where I want them. Any idea how to get rid of the blue? Quote
Aaron Posted December 7, 2011 Author Report Posted December 7, 2011 fixed it added border: "0" to image tag Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.