[thelist] padding in NS7
Mike Foroobar
mike at exit13.f2o.org
Tue Apr 1 16:10:02 CST 2003
Tom,
My suggestion is to read this:
http://www.alistapart.com/stories/practicalcss/. Tables are great things
to use, but like everything else, they have a purpose. For example, if
you're creating a calender, you should use a table because calenders
display tabular data (more on this at
http://diveintoaccessibility.org/day_19_using_real_table_headers.html).
The initial transition from tables and spacers and such to CSS, div's,
and seemingly-ugly hacks, is hard, but in the long run it does pay off.
I also suggest you read through the whole Dive Into Accessibility series
(not too long... http://diveintoaccessibility.org/), as well as check
out the Web Standards Project (http://webstandards.org/) and the W3C
(http://www.w3.org/) for more on web standards.
PS - One more interesting site of note is an interview with Mike
Davidson of ESPN (who runs their site) regarding backwards compatibility
(part one:
http://devedge.netscape.com/viewsource/2003/espn-interview/01/, part
two: http://devedge.netscape.com/viewsource/2003/espn-interview/02/)
---
Xavier
email: mike at exit13.f2o.org "I am not young enough
icq: 195454488 to know everything."
aim: mofi13 - Oscar Wilde
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Tom Dell'Aringa
Sent: Tuesday, April 01, 2003 3:32 PM
To: thelist at lists.evolt.org
Subject: [thelist] padding in NS7
Hello,
I have a navbar type thing that is a table row. I have this style for it
set a the TR level:
.navBar {
height: 16px;
padding: 0px 10px 0px 10px;
}
Works fine in IE, does scratch in NS7. I figured this was because I
maybe couldn't pad the TR - so I wrapped the stuff in a DIV. It worked
in ONE place, but not the OTHER..how odd is that. Here are the two
lines:
It worked here:
<tr><td>some stuff on the left side here</td>
<td align="right" class="topnav">
<div class="navBar"><strong>© Copyright 2002 Motorola,
Inc.</strong></div> </td>
It did NOT work here:
<tr class="navBar">
<td align="right">
<div class="navBar">
<a href="blah.html" class="topnav">My</a> | <span
class="topnavHere">Administration</span> | <a href="#"
class="topnav">Logoff</a> | <a href="#"
class="topnav">Help</a></div> </td> </tr>
Any ideas?
Tom
=====
http://www.pixelmech.com/
var me = tom.pixelmech.webDeveloper();
http://www.maccaws.com/
[Making A Commercial Case for Adopting Web Standards]
"That's not art, that's just annoying." -- Squidward
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://platinum.yahoo.com
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list