Re: CSS Borders

There's a CSS3 attribute "background-origin" which addresses this, to  
some degree at least. See http://www.w3.org/TR/css3-background/#the- 
background-origin.

Cheers... Mike


On 7 Aug 2006, at 09:44, Lorenzo De Tomasi wrote:

>
> I think that the correct mailing list for this thread is
> www-style@w3.org (in Cc:)
>
> What about creating an attribute for border position?
> It's typical in professional Dtp software like Adobe InDesign,  
> Illustrator ecc.
> ie:
> * border-outside
> * border-middle
> * border-inside
>
> If you have a box 100*100pt with a 2pt border, using:
> * border-outside, the border wil be rendered outside the box, which
> becomes 104*104pt. In the intermittent border styles, through the gaps
> you see the background color of the <body>.
> * border-inside, the border wil be rendered inside the box, which
> mantains its original dimensions (100*100pt ). In the intermittent
> border styles, through the gaps you see the background color of the
> box.
> * border-middle, the border wil be rendered centered on each side of
> the box, which becomes 101*101pt. In the intermittent border styles,
> through the gaps you see both the background color of the <body> (1pt)
> and the background color of the box (1pt).
>
> You could also sum border-inside and border-outside attributes,
> creating 2 color borders.
>
> What do you think?
>
> Best regards
>
> On 8/5/06, Truly Blessed <tumkho@yahoo.com> wrote:
>>
>> Whom does one contact regarding the tendency of CSS borders to  
>> allow the background image or color to show through the gaps in  
>> the intermittent border styles?
>>
>>  __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>> --0-1118272518-1154776569=:48418
>> Content-Type: text/html; charset=iso-8859-1
>> Content-Transfer-Encoding: 8bit
>>
>> Whom does one contact regarding the tendency of CSS borders to  
>> allow the background image or color to show through the gaps in  
>> the intermittent border styles?<br><p>  
>> __________________________________________________<br>Do You  
>> Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam  
>> protection around <br>http://mail.yahoo.com
>> --0-1118272518-1154776569=:48418--
>>
>>
>>
>
>
> -- 
> Lorenzo De Tomasi
> Designer della comunicazione
> http://www.ipernico.it
>

Received on Monday, 7 August 2006 09:01:01 UTC