rounded corners and tables

View: New views
7 Messages — Rating Filter:   Alert me  

rounded corners and tables

by alexander krohn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
hi.

the attached page does look kind of strange when displayed in firefox
and opera on windows xp.

the corners are placed wrong.

the height-attributes of the tr's seem to be the reason, it's the same
when these attribute are in the td/th-tags.

i'm using the stable release of mochikit, MochiKit 1.3.1 (2006-4-29).

any hint?

regards,

alexander

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


head
main

Re: rounded corners and tables

by alexander krohn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


hi.

is this considered a bug?

no cure?

regards,

alexander

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: rounded corners and tables

by Per Cederberg-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Have you tested in version 1.4 also? Think most people uses that.

/Per

On Wed, May 21, 2008 at 11:15 AM, alexander krohn <12345alex@...> wrote:

>
> hi.
>
> is this considered a bug?
>
> no cure?
>
> regards,
>
> alexander
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: rounded corners and tables

by alexander krohn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
hi.

Per Cederberg schrieb:
> Have you tested in version 1.4 also? Think most people uses that.
>
> /Per
>  
i tried trunk from today, same effect.

it seems to be the height-attribute of the table which causes the trouble.

i attached the test-file again.

regards,

alexander



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


head
main

Re: rounded corners and tables

by Christoph Zwerschke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


alexander krohn schrieb:
 > i tried trunk from today, same effect.
 >
> it seems to be the height-attribute of the table which causes the
> trouble.

Yes, due to the way rounded corners are implemented, you don't get the
expected result for corners of table cells when the height of the table
cell is greater than its content and the valign attribute is not set to
"top" for top corners or "bottom" for bottom corners. I don't see an
easy way to fix this without fundamentally changing the implementation
(e.g. using relative or absolute positioning with a lower z-index).

I have attached a simple workaround for your case.

-- Christoph



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: rounded corners and tables

by alexander krohn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


hi.

Christoph Zwerschke schrieb:

> alexander krohn schrieb:
>  > i tried trunk from today, same effect.
>  >
>  
>> it seems to be the height-attribute of the table which causes the
>> trouble.
>>    
>
> Yes, due to the way rounded corners are implemented, you don't get the
> expected result for corners of table cells when the height of the table
> cell is greater than its content and the valign attribute is not set to
> "top" for top corners or "bottom" for bottom corners. I don't see an
> easy way to fix this without fundamentally changing the implementation
> (e.g. using relative or absolute positioning with a lower z-index).
>  
ok, i wonder why this works for the horizontal positions of the corners.
> I have attached a simple workaround for your case.
>  
erm, forgot an attachment? ;)
> -- Christoph
>  
regards,

alexander

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: rounded corners and tables

by Christoph Zwerschke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
alexander krohn schrieb:
> ok, i wonder why this works for the horizontal positions of the corners.
>> I have attached a simple workaround for your case.

That works since they are wrapped in a div block which automatically
occupies all space in the horizontal direction.

> erm, forgot an attachment? ;)

Attachment disorder. Seems to get worse as you get older... ;-)

-- Christoph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


head
main