[Clipart] logo

Jon Phillips jon at rejon.org
Wed Feb 15 11:35:08 PST 2006


On Wed, 2006-02-15 at 11:39 -0500, Jonadab the Unsightly One wrote:
> "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...

Yes, remove the hacks so that we can have same content as CVS. Then, I
think through stylesheets an changing the display attribute in
stylesheets, it shouldn't be a problem to get the logo to the left of
the text.

Just remember to keep generalized for all cchost so that we can stay
with commits to cchost and be able to do cvs up, cvs commit, etc to keep
current with cchost. When we start adding hacks to the code, we risk
diverging from the code and then we go down the path of mucho work.

Jon

-- 
Jon Phillips

San Francisco, CA
USA PH 510.499.0894
jon at rejon.org
http://www.rejon.org

MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon at gristle.org
IRC: rejon at irc.freenode.net

Inkscape (http://inkscape.org)
Open Clip Art Library (www.openclipart.org)
Creative Commons (www.creativecommons.org)
San Francisco Art Institute (www.sfai.edu)




More information about the clipart mailing list