Unfortunately, my user community is to a very great extent limited to the IE6 browser. While Mozilla, Opera, Safari are nicer I'm sure, my real world user base is almost exclusively IE6, flaws and all. So that's the environment I have to develop for.
That said, except for classes and id's, much of Chapter 5 is not applicable for me. Now I am trying to see what is in Chapter 6 that I might employ for IE5.5/6 users only.
I note that in Ch 6,page 108, under "::first-letter..." it lists IE5.5, IE6 as "supported". Either I am doing something wrong or IE6 is *not* supported. Anyone get the double colon specifications on this page to work?
I am using: Win XP SP2, VWD Express as my development IDE, both the built-in VWD browser as well as IE 6.0. I generally prefer a separate CSS but both linking to one, as well as using an in-line <style> block in the html, result is *not( showing the first letter and first line as in the Try It Out on page 109/110. That is, it's as though the double colon stuff was not there.
Here's my 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>
<head>
<title >Working project</title>
<style type="text/css" media="all">
* {font-family: Sans-Serif; }
p::first-letter{font-size:200%; background-color:Gray; border: 1px solid black; }
p::first-line{letter-spacing: 5px; }
</style>
</head>
<body>
<form>
<p>
You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat.
</p>
</form>
</body>
</html>
---------------------------------------------------------------------------------------
Please let me know if I'm making a silly error and that you can get the double colon stuff working using IE6. Thanks.
VV