Jump to content

image links [SOLVED]


Aaron

Recommended Posts

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">

Link to comment
Share on other sites

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">

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...