Tanya Renne wrote:
> Can someone in Safari figure out why the bolded links in the center 
> of this page are floated right?
> 
> http://nglcc.orchidsuites.net/ht/d/sp/i/196/pid/196

I think you should start here...

<http://validator.w3.org/check?uri=http%3A%2F%2Fnglcc.orchidsuites.net%2Fht%2Fd%2Fsp%2Fi%2F196%2Fpid%2F196>
<http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fnglcc.orchidsuites.net%2Fht%2Fd%2Fsp%2Fi%2F196%2Fpid%2F196&usermedium=all>

...as even a /slightly/ improved markup and CSS will help a lot - before
one starts to think about browser-debugging. It's not Safari that is
buggy - it's that markup that is horrible.

Most browsers have some problems with that page, but not the problem you
describe because their error-recovery masks that coding-error.
I am actually surprised that /any/ browser manages to recover from so
many coding-errors.

-----------

The particular coding-error that Safari seems unable to recover from, is
this...

<span class="printerfriendly">
<P>
</span>

...as a paragraph inside a span is about as non-valid markup as one can
make it. It does become even harder to recover from since that <p> isn't
even closed, so styles are active far beyond that </span>.

That makes the style for...

.printerfriendly a {...; float: right;  }

...apply to those links. So, those links will quite logically be
"floated right".

-----------

Now, you should stop relying on browsers to tell you what's working and
what's not. Browsers' error-recovery for 'text/html' is not a reliable
guide. Browsers eat that kind of garbage all day, but they aren't buggy
if they choke on some from time to time.

The W3C standards are there to be followed, and the W3C validators are
there to assist in doing so. Won't be too many browser-related problems
left for simple pages like yours, if you try them first.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to