|
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/
Navigation:
[Reply to this message]
|