[Clipart] logo
Jonadab the Unsightly One
jonadab at bright.net
Wed Feb 15 08:39:43 PST 2006
"Jonadab the Unsightly One" <jonadab at bright.net> writes:
> The banner-html is getting put into an h1 element, but Weird Things
> are going on there. For instance, the h1 element is being closed
> off, reopened (with the same id, is that even legal?), and then
> closed off twice more. The a element inside it is not properly
> closed off.
Wait, this stuff is not entirely ccHost's fault. It's ad-hocery that
has been done in banner-html to try to fix ccHost's wonkiness. I've
fixed the two most glaring problems, so it now looks like this:
<div id="cc_wrapper1">
<div id="cc_wrapper2">
<div class="cc_header" id="cc_header">
<div class="cc_headerpadding">
<h1 id="cc_site_name"><a href="http://openclipart.org/cchost/" title="Open Clip Art Library"></a></h1>
<img src="http://openclipart.org/images/ocal-logo-simple-100px.png" alt="[logo]" width="100" height="66" style="float: left; margin-right: 0.5em; margin-left: 5px;" />
<h1 id="cc_site_name" style="margin-left: 110px; margin-bottom: 0em; "><a href="http://www.openclipart.org/cchost">Open Clip Art Library
</a></h1>
<ul title="Main Site Sections">
[and from there the same as before]
Furthermore the closing-and-reopening h1, the empty a element, and the
duplicate id are caused by our own hacks in banner-html, so we can't
blame the software for that. This is, however, now at least mostly
wellformed, so we should be able to better investigate how the styles
apply, although I'm not sure how the duplicate id will be handled in
that regard, so we may need to change that.
Maybe what I really need to do is temporarily set the banner-html back
to its pre-hacked-up state and investigate *why* the layout goes all
wonky, without our hacks...
--
Open Clip Art Library: Drawing Together
http://www.openclipart.org/
More information about the clipart
mailing list