#186 new
Norman Maehler

Setting width of tablecell in webkit doesn't work correctly

Reported by Norman Maehler | February 10th, 2011 @ 10:12 AM

Hello glow-friends!

I had this problem several times with glow 1.7.3:

You try to change the width of an table element by using NodeList.width( newwidth ) and it works perfect in every Browser except Webkit browsers.
I tried several things to find out why and got to the point that the left padding of the cell plus 1 is the difference in calculating the width.

Example:

padding-left: 5px

width( 50 ) in non webkit browsers => width( 56 ) in webkit browsers

I made a workaround for myself, but it should work without this, shouldn't it?

Thanks for your help!

Kind regards,
Norman

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A JavaScript Library

Shared Ticket Bins

People watching this ticket

Pages