Jump to content

Getting to know CSS


Recommended Posts

I'm just getting to grips with CSS and have come up against an issue within MSIE. I've put a basic  <a href> link onto an image, the image position is controlled by CSS. The link is  fine on a Mac, yet when I view the page on a PC IEv6, you can't even right click the image never mind click the link. Any ideas for a novice in CSS - it's driving me insane.

Link to post
Share on other sites
I'm just getting to grips with CSS and have come up against an issue within MSIE. I've put a basic  <a href> link onto an image, the image position is controlled by CSS. The link is  fine on a Mac, yet when I view the page on a PC IEv6, you can't even right click the image never mind click the link. Any ideas for a novice in CSS - it's driving me insane.

Can you post the code?
Link to post
Share on other sites
I don't even kno if I'm doing this bit right or not! Good luck
CSS#adultlanding{	position : relative;	PADDING: 0px 0px 0px 0px;	MARGIN: 0px 0px 0px 0px;	left: 5px;	height: 378px;	background-image: url(../pix/adult_landing/adult_bg.jpg);	background-repeat: no-repeat}#adultlanding2{	position:inherit;	width : 372px;	PADDING: 243px 0px 0px 80px;	MARGIN: 0px 0px 0px 0px}HTML<!-- #include file="../includes/serverName.inc" --><%	Dim strDomainPrefix                  'This needs to be http or https depending on page security		strDomainPrefix = "https"%><html xmlns="http://www.w3.org/1999/xhtml"><head>	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />	<meta content="Look Again" name="Author" />	<title>Look Again Adult Intro </title>	<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />	<link rel="stylesheet" type="text/css" href="../css/favourites.css" media="all" />	<link rel="stylesheet" type="text/css" href="../css/adult.css" media="all" /><script LANGUAGE="JavaScript1.1" TYPE="text/javascript" src="../jssource/jsfunc.js"></SCRIPT></head><body><!--#include file="../includes/start.inc"--><!-- STARTING POINT FOR ALL PAGES - ADD CONTENT HERE--><div id="adultlanding">	<div id="adultlanding2">   <img src="../pix/adult_landing/age_buttons.gif" alt="Age check" border="0" usemap="#Map" title="Age check">      <map name="Map">        <area shape="rect" coords="57,70,89,90" href="<%=Servername%>main/home.asp">        <area shape="rect" coords="250,69,284,90" href="<%=Servername%>main/adultsite">      </map>	</div></div><!--#include file="../includes/end.inc"--><!-- CODE IN THIS INCLUDE TO CONTROL THE FLOATING FAVOURITES--><!--#include file="../includes/favourites.inc"--></body></html>

Link to post
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.   Paste as plain text instead

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