Help please: Having 2 problems with Chapter 12: url property and cursor property.
I am using plain vanilla IE 6.0.2900.2180. (Win XP, SP2). See code below.
Anyone able to set the list-style-image url('XXXX');
property, with above configuration, in Ch 12?
For XXXX, I tried: 'download.gif', '~\images\banana.ani'
Anyone able to set the cursor property as specified in the
one-line greyed out area on page 353 to work?
Also cannot get any .ani or .cur to work as per the sentence (p. 353)
below:
"IE 6 supports only windows native cursor formats: .cur(a
static cursor image) and .ani (an animated cursor image)."
Anyone able to do this using only IE6? Please help.
Code:
<%@ Page Language="
VB" AutoEventWireup="false" CodeFile="Default.aspx.
vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<link rel="Stylesheet" href="StyleSheet.css" type="text/css" media="screen" />
<title>Untitled Page</title>
</head>
<body>
<form id="form1">
<div>
Test text
</div>
</form>
</body>
</html>
Style sheet:
div {cursor: url('~\images\banana.ani,'), url('pen_i.cur');
border: thin solid black; width: 100px; height: 100px; }
Thanks.
VV