You are here: Re: CSS comma construction... « HTML « IT news, forums, messages
Re: CSS comma construction...

Posted by dorayme on 08/29/06 22:38

In article <_%XIg.19937$rP1.1640@news-server.bigpond.net.au>,
"rf" <rf@invalid.com> wrote:

> Jonathan N. Little wrote:
> > rf wrote:
>
> >> a, a:visited, a:hover, a:active {border:none}
> >>
> >
> > Sheeze I missed that too! Hubris is always rewarded with a fall ;-)
>
> More intriguing is that an a element doesn't have a border by default anyway
> so why explicitly set the border to none? And what about the missing a:link?
> Missing that can fire bugs in a certain browser.

I made a typo. I am sorry, I am very sorry. But it was only in
the post.

border:none was an example. I was trusting (wrongly) for it to be
judged only by well formedness in this context. {border,none}
would have been relevantly bad.

As for your specific point, I thought I had solved a pesky
problem in WinIE with

* html div#smallLandscape div a {border: 0;}
* html div#smallPortrait div a {border: 0;}

It was a baffling thing for me and this stopped the nonsense.
Perhaps not for any reason I understand? The problem was that in
a div based layout of thumbnails, the layout went out of kilter
in WinIE after returning via thumbnail click to another page
where there was an enlargement html page. I diagnosed border
problems, I was wild in my theoretical attack. Bold as hell. I
stuck the above hack in and and it stopped the problem. When I
took it out, the problem returned. When I put it back the problem
stopped. When I took it out, the problem returned. When I put it
back the problem stopped. When I took it out, the problem
returned. When I put it back the problem stopped. When I took it
out, the problem returned. When I put it back the problem
stopped. When I took it out, the problem returned.

I also at least imagined that it did not work when I had the
truncated version in a hack for WinIE as

* html a, a:link, a:visited {border: 0;}

Hence I asked the question (and, yes, made a typo as well in the
post) and yes, did not give the context.

In fact, the test I just conducted now makes no difference
between the truncated and the non-truncated version in the hack.
I don't know what happened? You lot will think I typo'd there as
well, fair enough, but I didn't!

But * html a, a:link, a:visited {border: 0;} still had the
desired effect because when I take it out, the problem returns.
When I puts it back the problem stops, when I take it out, the
problem returns. You get the idea.

You see I am very scientific as well as being a blithering idiot.

I know you are all at absolute fever pitch wanting a URL. Pulease
don't pretend otherwise! I will prepare one and demonstrate and
you can be scientific with me too.

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация