[ List Archives Home ] [ Thread index for 2008 ]
[ Date index for 2008 ]
[ Author index for 2008 ]
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Some bits from Don Zhou
---snip---
I have an suggestion: can we get a group together and collect all the
junk codes in different pages and compile those errors? It is too much
for one person, but it probably will not be too big for a community like
ours here. Any takers?
---snip---
Here's a few to get the ball rolling
logged in message adds an outdated <BR> tag
e.g.
<span class="loggedInMessage">You are logged into Bury Metropolitan
Borough Council Public Library /All Locations as Smith,
Winston</span><BR>
On any of the srchelp_ screens the <!--{submit}--> and the
<!--{indexsort}-->token adds the following invalid <script> tags for
xhtml 1.0 Transitional
<script language="javascript">
</script>
(missing type="text/css")
Which is why I have replaced them.
Start trying to validate to xhtml 1.0 strict and you really start to go
grey. Because language="javascript" is not supported e.g. on every page
<script language="JavaScript" type="text/javascript"
src="/scripts/common.js"></script>
<script language="JavaScript" type="text/javascript"
src="/scripts/features.js"></script>
Is no longer valid. This is why enhancement request for 4126 is so
important. This kind of system generated code is not really acceptable
and presumably could be easily fixed. It would be great to be able to
validate all of my Web opac pages. At the moment I have DTD's on all of
the pages I can get to validate (mainmenu, opacmenu, srchelp_ -except X
and i, and help pages) - as long as no-one is logged in.
--snip--
The discussion about style sheet: we have been able to just use one
stylesheet to accommodate all browsers [different versions of IE, ff,
opera, etc] and do away with most image files.
--snip--
I think when you use css for positioning you do have to accommodate
non-standards compliant browsers (ie 6 and below in quirks mode). You
can do this either using a css hack on your main style sheet, or a
separate style sheet using conditional comments. I prefer the latter
method. I think to some extent Innovative may have been caught out by
the release of ie 7 and it being not quite as standards compliant as it
should have been.
Alan
Alan Brown
Library Systems Liaison Officer
Bury Metro Libraries
Resource Services
Textile Hall
Manchester Rd
Bury BL9 0DG
0161 253 5877
http://bury.gov.uk/libraries