[WEB4LIB] Netscape strangeness

Steve Mackey stevema at sirsi.com
Fri May 24 13:04:09 EDT 2002


Dan,

I think one of the issues involved in the "Netscape strangeness" is the manner in which IE and Netscape approach the implementation
of CSS, particularly when using a table to control layout.

I would suggest the development of some classes in your CSS file to control the layout and positioning of your content, and
eliminating the <font> tags all together...


HTML Option:
<span class="header">Books, Articles, Journals &amp; Other Resources</span>
<div class="somelinks">
    <a href="http://catalyst.boisestate.edu">Book and Media Catalog,</a>
    <a href="http://library.boisestate.edu/indexes">Articles,</a>
    <a href="http://tdnet.boisestate.edu">Journals,</a>
    <a href="http://eres.boisestate.edu">Reserves,</a>
    <a href="http://library.boisestate.edu/internet">Internet</a>
</div>

CSS:

.header {
font-family: Verdana,Arial,Helvetica,sans-serif;
text-decoration: none;
font-size: 16pt;
font-weight: bold;
color: #003366;
}

div.somelinks {
margin-left: 5px;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 12pt;
font-weight: bold;
color: #003366;
}

div.somelinks a {
text-decoration: none;
}

NOTE: I've used arbitrary colors and sizing in the CSS purely as an example. In any case, after some tweaking, this code would be
much cleaner than all the <font> tags, and easier to change by just editing the corresponding CSS.

Cheers,
Steve

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sirsi Corporation (http://www.sirsi.com)
How will you shape the future?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steve Mackey (stevema at sirsi.com)
Web Developer
101 Washington Street, SE
Huntsville, AL  35801-4827

256-704-7099 x7317
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----Original Message-----
From: web4lib at webjunction.org
[mailto:web4lib at webjunction.org]On Behalf Of Dan Lester
Sent: Friday, May 24, 2002 11:39 AM
To: Multiple recipients of list
Subject: [WEB4LIB] Netscape strangeness


We've a new webpage in beta at http://library.boisestate.edu/beta

In IE6 it looks like what we designed and desire.  In NS4.7x it looks
strange.  The text is a series of links, separated by commas.  In IE
it is treated as text in full lines with wordwrap.  In NS each item in
the text list is turned into a list item, or as if the items were
separated by <br> elements.

Clues?  Answers?

thanks

dan


--
Dan Lester, Data Wrangler  dan at RiverOfData.com 208-283-7711
3577 East Pecan, Boise, Idaho  83716-7115  USA
www.riverofdata.com  www.gailndan.com  Stop Global Whining!
Be competitive, intense, and accountable.





More information about the Web4lib mailing list