Reply to Re: How to imitate a line 1 pixel thick?

Your name:

Reply:


Posted by Els on 07/12/07 22:15

In article
<doraymeRidThis-E74515.07524213072007@news-vip.optusnet.com.au>,
dorayme <doraymeRidThis@optusnet.com.au> wrote:

> In article
> <els.aNOSPAM-D0C2BF.10313812072007@news.individual.net>,
> Els <els.aNOSPAM@tiscali.nl> wrote:

[fake hr with red dot]
> > <div style="
> > border-left:1px solid red;
> > background:black;
> > height:1px;
> > overflow:hidden;">
> > </div>
> >
> > I don't understand the 1px dot though - it's hardly noticeable..
>
> Curiously, leaving the overflow out,
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> <title>test</title>
> </head>
> <body>
> <h1>Curiousity</h1>
> <div style="border-left: 1px solid red; background:black; height:
> 1px;">some text</div>
> </body>
> </html>
>
> 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 :-)

--
Els http://locusmeus.com/

[Back to original 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

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