You are here: Re: How to imitate a line 1 pixel thick? « HTML « IT news, forums, messages
Re: How to imitate a line 1 pixel thick?

Posted by dorayme on 07/13/07 22:59

In article <15du7kb5fao7e$.c02ukrha3bx6$.dlg@40tude.net>,
Els <els.aNOSPAM@tiscali.nl> wrote:

> dorayme wrote:
>
> > In article
> > <els.aNOSPAM-62C1CB.00155313072007@news.individual.net>,
> > Els <els.aNOSPAM@tiscali.nl> wrote:
> >
> >>> iCab renders the border as a "strike through" the text
> >>
> >> That's not the border, but the black background. Looks like iCab does
> >> exactly what it should - have the div 1px high, even if the text spills
> >> out of the box :-)
> >
> > OK, to be more exact, iCab renders the background as a "strike
> > through" the text and does exactly what it should and all the
> > other browsers that I have, FF, Opera, Safari, Mac IE, do the
> > wrong thing by putting the text underneath the background.
>
> Point taken :-)
>
> No idea why iCab spills the text both at the top and the bottom, or,
> why the other browsers only do it at the bottom of the div.
>
> Out of curiosity: what happens if you put enough text in to let the
> line wrap to three lines - does iCab put a strike through the middle
> line, or just the top line? And if you enlarge the text to 200% - does
> the strike still go through the middle, or more through the top half
> of the letters?

The source at

<http://members.optushome.com.au/droovies/test/iCabCuriousity/iCab
Curiosity.html>

has the effect on iCab/Safari of

<http://members.optushome.com.au/droovies/test/iCabCuriousity/iCab
Curiosity.png>

This is an interesting curiosity indeed. Basically, it becomes a
mess but one can see in the phenomena that the lines are wrapping
over themselves! The sentence in the source code of the first of
the two urls above can be reduced in iCab to very small sizes
indeed and stretched in browser over a very large desktop to give
the perfect 'strike thru' effect. But when the browser is reduced
to induce wrapping, you get text that wraps over itself.
Enlarging the text just makes a bigger blacker mess and brings it
on earlier.

Surely this one needs a place in a browser phenomena museum.

--
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

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