PDA

View Full Version : CSS float: right; <PRE> and <MAP> problems


Greg D'Unger
01-21-2005, 07:30 AM
Since Web browsers can automatically forgive coding errors and display things the way 'intended', I'm not sure if this is may be a case of my own ignorance ...

A web site I manage uses float: right; in a cascading style sheet to keep navigation elements on the right:
http://www.thensc.org
http://www.nsc.css
but the navigation elements occupy the full screen space on my Palm.

Also ...
I've added some anchor links in the middle of some <PRE> </PRE> tags. I don't know if this is 'legal', but browsers don't seem to mind whereas iSilo does and ignores the <PRE> tag. Is this tag not supported? (I know it's probably deprecated, but old habits die hard.) Note how sections without links display normally.
http://www.thensc.org/nsc_comm1.html#Businesses

And ...
This site uses a MAP link in the upper left to return 'home'. Loading the site on my Palm works fine using the files on my hard drive, but loaded online (both from IXL file and using Clipper) results in an unresolved link. Note that the home page is normally
http://www.thensc.org/nsc_home.html
but
http://www.thensc.org/index.html
is there for handling http://www.thensc.org/
I tried using both home pages but neither gets a good map link.

iSilo
01-21-2005, 10:50 AM
iSilo does not have support for floated content which is why the floated navigation area just flows with the rest of the content.

iSilo/iSiloX does have support for <pre>. Would you be able to post the resulting .pdb file that you got so that we can see the result you got?

The <map> issue you are seeing is the result of a bug in iSiloX in which iSiloX ignores <area> tags that do not explicitly specify a shape. The correct behavior should be that if a shape is not specified, the default should be a rectangle. This issue will be addressed in the next update. The workaround is to explicitly specify shape=rect in your area tags.

Greg D'Unger
01-24-2005, 11:40 AM
In the attached (zipped) PDB, scroll down to the "Our Sponsors" image link and click it.
Near the bottom of this page find a "Businesses" link under "Our Community Supporters for the past year" and click it.
This section is an alphabetized list of businesses within <PRE> </PRE> tags.
This appears OK in every browser I looked at.

(I was wrong about links within <PRE> </PRE> tags being part of the problem.)

iSilo
01-24-2005, 02:20 PM
In iSiloX, go to the Properties dialog for the entry you created for conversion of the document and click the Text tab. In the "Preformatted text" box, make sure that you have "Use a monospace font" checked and "Keep all" selected for "single line breaks". Those are the defaults. You may have changed them.