[thelist] text-align:left and I.E. 6 (and now NN4.7)
sfmalo
sfmalo at msn.com
Sun Dec 16 22:03:41 CST 2001
Dig (I think). I'm going to experiment on my own site. In the meantime, I used ppk's and rudy's suggestion of eliminating the URI from the DTD and removing text-align: left ; altogether for the client's site.
So if I'm understanding you right, the master.css file (from the code on your algonquin page) would be the complete CSS remote file **without** the p,td {text-align: left ;} reference. and the @import "navbars.css" file would be the complete CSS remote file **with** the {text-align: left ;} reference included since NN4.7 doesn't recognize this file to begin with. And, I would leave the URI in. And there would be no reference in the body of the individual pages to style=text-align: left .I'm using the same DTD and URI as you do.
<link rel="stylesheet" type="text/css" href="master.css">
<style type="text/css">
<!--
@import "navbars.css";
-->
</style>
Am I digging?
Would I also need to include the javascript you have directly underneath or does this refer to something else?
<.script language="JavaScript" type="text/javascript">
<.!--
if (top.location != self.location) {
top.location = self.location
}
// -->
<./script>
By the way, the Algonquin Studios Home page is beautiful, simply beautiful...as is the entire site. And easy to navigate too.
sharon
From: "aardvark" <roselli at earthlink.net>
Sent: Saturday, December 15, 2001 11:18 PM
> > From: "Sharon F. Malone" <sfmalo at 24caratdesign.com>
> >
> > Well, thought it was resolved. I.E. 5.5 and N6.1 just love it.
> > However, NN4.7 doesn't recognize the inline style <.style="text-align:
> > center">. So the remote CSS instructions are overriding it still. Even
> > if I created two style sheets, I still need the inline instructions to
> > override the remote file aligning the text left (to satisfy I.E. 6).
> > Caught in a dilemma. Is there a way out?
>
> stuff the text-align into a CSS file called via @import...
>
> as it is, i tend to have a separate CSS file with all my line-height
> attributes, as well as margin and other things that break NN4.x...
> that file is then called via @import... you can see this in action at
> http://www.algonquinstudios.com/...
>
> this way, NN4.x ignores all text-align (can't read CSS files called
> via @import) properties and defers to HTML align attributes, but IE6
> brings in the CSS called via @import and overrides the inline align
> attributes...
>
> dig?
---------------------------------------------------------------------------
Sharon F. Malone
"web design and Internet writing services"
http://www.24caratdesign.com
sfmalo at 24caratdesign.com
More information about the thelist
mailing list