[thelist] css rant
rudy limeback
r937 at interlog.com
Fri Apr 7 22:27:34 2000
wasted a good part of day trying to get a style sheet to work the same in
both netscrape discombobulator and internet exploder...
here's the deal:
i want the entire contents of a page treated as a block, so that's a DIV
i want this div to have width=75% of the window and be right aligned in the
window, so that the excess white space is down the left
and finally, i want all the text, including Hn's and P's, to be
right-aligned within the div
simple, right? something like
<DIV STYLE=" width: 75% ;
align: right;
text-align: right ; ">
this works in netscape 4 but not ie4 (the most recent of the browsers i
have access to, and the ones i want it to work in -- dunno if later
versions are any better, and don't much care)
i actually had some fun (and learned a lot about inheritance) by separating
these properties into different selectors and applying them to nested divs,
like
.rt1 { width: 75% ; }
.rt2 { align: right ; }
.rt3 { text-align: right ; }
<DIV CLASS="rt1">
<DIV CLASS="rt2">
<DIV CLASS="rt3">
content of the page
</DIV></DIV></DIV>
which produced some interesting results depending on the order i nested the
divs...
anyhow, i'm not sure i tried all the various combinations, inline versus
style sheet, selectors versus classes, separate properties or combined...
i'm not really asking for help, just a sympathetic ear
but i would love to hear from anyone who knows how to do it so that *both*
browser show it like i want it...
<tip>
came across an interesting commentary page today --
SilverStream Death Watch - 15 Months Until The Cash Runs Out
http://bcarter.com/tgif/tgif049.htm
silverstream is/was a promising and robust java-based e-business technology
(i saw an indepth demo a year ago, and it is a very slick product)
make sure you read the hilarious "SilverStream By The Numbers, a list of
numeric substitutes for common complaints about the product"
</tip>
_____________
rudy limeback
http://r937.com/
http://evolt.org/