From: Alan W. I. <ir...@be...> - 2008-10-22 01:00:50
|
On 2008-10-21 23:23+0200 Werner Smekal wrote: > Looks very nice! I am glad you like it. I got rid of the CSS error with the illegal "float: center;" (see validation below). I also found some additional style problems which I have now fixed (as of revision 8951). > I found a problem though, between the main body and the > right sidebar is a vertical dotted line, which moves not correctly if you > resize the browser window. The line is hard to see, so watch closely. The > solution of the problem would be not to resize the sidebar as well, so make > it fixed size, or position the line also relative (if that's possible). At first I was going to say I couldn't see it at all, but the virtually empty http://plplot.sourceforge.net/development.php does help make the line more visible at all widths (although it still is pretty hard to see). Is that what you were referring to? To me it looks like a slightly differently coloured rectangle with a 1px edge (which makes the line that we see) with the same fixed width as rightside for the static case (160px). However, I have so far not found anything near that fixed width for the liquid style sheet or the existing (fixed width) images. I will look further at this, but this may be a case of two sets of eyes being better than one so I would appreciate it if you looked for the source of this as well. N.B. look for further e-mail tomorrow (Wednesday) when your read this in case I have found the source of this line by then. If you diff style_static.css and style_liquid.css you will see the straightforward changes I did. There is certainly no large number of pixels left in style_liquid.css except for the fixed height of the logo, and fixed height of the codebox. One thing I did to try and find this strange fixed interloper in my liquid style was to adopt "obvious" background-color values such as #FF0000 for various bits of the style so I could colour code each bit of style and find out how that affected our website. However, that approach showed that every component of rightside scaled nicely so I am a bit stuck finding the remaining fixed component. >> I, of course, tested that the result HTML validates at >> http://validator.w3.org/, but I don't think that validates either our >> static or liquid styles. Do you know how to validate CSS? > > http://jigsaw.w3.org/css-validator/ > > 1 error and over 150 warnings. It used to be 1 warning (many warnings are > about the same issue though), so there should not be much to do to fix this. Thanks for that reference. It looks like both style files have the same errors and same warnings (as is expected since I introduced few differences between the two files other than some size options). I have already gotten rid of the same error for both (see above). I will take responsibility for getting rid of the warnings as well for both style_static.css and style_liquid.css. All those warnings seem pretty innocuous, but there may be something buried in there that will give a clue to the fixed vertical line interloper that I am trying to chase down. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |