|
Posted by GTalbot on January 12, 2008, 6:48 pm
Please log in for more thread options > mjes...@iastate.edu wrote:
> You could also use the "overflow" property. Here's the first Google hit
> for "position:fixed IE6":
>
> http://home.tampabay.rr.com/bmerkey/examples/fake-position-fixed.html
>
Christian,
This sort of hack is not recommendable. It's really time to remind (or
invite) Internet Explorer 6 users to switch to a better browser or to
upgrade and then warn the others that the webpage may not render as
intended by the author but will degrade gracefully. Position: fixed
should degrade as position: absolute for the browsers which do not
support it: that's per spec. Many years ago, in a W3C webpage at
w3.org, this is what the W3C people did themselves. No non-forward-
compatible hack, no complicated workaround.
http://www.end6.org/
http://www.alternativebrowseralliance.com/
> As expected, your editor generates broken HTML code.
>
> > <div
> > style=3D"position: fixed; height: 375px; width: 180px; z-index: 1; top:=
> > -9px; left: 257px;"
> > background-color=3D"rgb(192, 192, 192)">
>
background-color=3D"rgb(192, 192, 192)"
was most likely added manually. Nvu 1.0 does not do that.
> Avoid the style attribute and put all CSS declarations into an external
> stylesheet.
I believe KompoZer 0.7.10 can do that, at least it can do that in a
local, embedded stylesheet.
http://www.charlescooke.me.uk/web/ugs04.htm
HTML Tidy can do that in an embedded, local stylesheet ...
http://tidy.sourceforge.net/docs/quickref.html#clean although not in an intuitive, natural manner
> Besides, this code is not valid HTML. You cannot take a CSS
> property like "background-color" and use it like an HTML attribute.
>
> > <table style=3D"text-align: left; width: 184px; height: 406px;"
> > border=3D"0" cellpadding=3D"0" cellspacing=3D"0">
>
> Why rely on layout attributes such as "cellpadding" and "cellspacing" if
> you use CSS?
The OP is probably not as experienced at stylesheet edition as you and
I are and probably not accustomed to CSS tableless layout.
One reason that springs to mind: CSS border-spacing property is not
supported by MSIE 6 and MSIE 7 ... so cellspacing may still be
required anyway... assuming the webpage really requires a table for
tabular data.
> > <td align=3D"center" valign=3D"undefined">
>
> Same here. If your goal is to have exactly the same layout in truly
> ancient browsers, then why use CSS in the first place?
valign=3D"undefined"
is a Nvu 1.0 bug which I personally reported in 2005 to D. Glazman. I
believe it has been fixed in KompoZer 0.7.10.
>
> > <big><big>Introduction</big></big>
>
> Why not use the "font-size" property in CSS?
Why not use the accessible and semantic
<h1>Introduction</h1>
or another heading?
> > <tr style=3D"font-family: Agency FB; font-weight: bold;">
>
> If the user's system does not offer the "Agency FB" font, then the
> browser will just use the default font. Use a generic font family as a
> final alternative, at least, e.g. font-family:"Agency FB",sans-serif;
>
> --
> Christian Hackl
I personally reported the blank-space(s) separated font-family name
without surrounding quote bug to the main KompoZer software developer
(Kaze) myself. It should be fixed in KompoZer 0.8.
Also, note that Agency FB would require single quote, not double
quote:
style=3D"font-family: 'Agency FB'; font-weight: bold;"
Regards,
G=E9rard
--
Internet Explorer 7 bugs
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/
|