Re: Cascading Style Sheets
Thank you for the excellent responses gentlemen. Scott, you addressed my
questions very well. It seems a great deal of my problem is that I am
using Communicator 4.01 rather than IE4. I tried the following code you
gave me ...
<DIV STYLE="position: absolute; top: 10pt; left: 10px; width: 10em;
height: 100px; background: red;border: 2pt gray inset"><DIV>
... and it worked great in IE4, but in Netscape C4.01 it merely rendered
a white box (no red anywhere) 100 pxs wide and ONLY about 10 pxs high
along with the gray border. I was under the impression that Communicator
4.01 was fully supporting the current CCS spec, but in addition to this,
it does not appear C4.01 is properly displaying background images
either, atleast on the WIN95 version [Chris Lilley said he was able to
get the backgrounds to work fine on the MAC using C4.01].
Just in case I was doing something wrong. Heres the code I was using in
my CCS layer definition:
Another note for Chris Wilson and Scott. I think another thing that lead
me astray was my observation of the sample CSS pages at microsoft.com: I
checked the source code on several of Microsoft's example CSS pages, and
all of them [that I looked at] used tables to define the colored
rectangles backdropping all the new wild layered text effects. It might
be helpful if some of the pages used the CSS layers instead for this. I
believe in both HotWired and WebReview that there were statements
stating that one of the "cool" things about CSS was that you no longer
had to mess with the <table>s.
Chris Lilley, at this URL: http://www.w3.org/TR/WD-positioning#'clip'
... I located the following information on clipping, and found it
somewhat confusing. Examples following the specs would be most
Value: <shape> | auto
<shape>: rect (<top> <right> <bottom> <left>)
<top> <right> <bottom> <left>: auto | <length>
Applies to: elements with the 'position' property of type 'absolute'.
Percentage values: N/A
Gregory Houston Triberian Institute of Emotive Education
phone: 816.561.1524 email@example.com
cellular: 816.807.6660 snail: PO Box 32046 Kansas City MO 64171
"Empowered, impassioned, we have a lust for life insatiable!"