Point that allow user to change CSS, because page support user's theme. Point that I raise this issue because I use jQuery in every browsers except IE8, it return 0 and other JavaScript framework such as Mootools, it return 0 in every browsers include IE8.
I think JavaScript Framework should handle browser compatible. >From http://www.w3.org/TR/CSS21/box.html#border-width-properties, it should return computed value? On Aug 11, 4:47 pm, Liam Byrne <[email protected]> wrote: > If there's no CSS value explicitly set, then the different browsers will > default to different default settings. > > There's no point in allowing users to change their CSS if it means that > your website doesn't work. > > L > > > > Gaiz wrote: > > User that use my website can customize CSS. > > I do not know why it error onIE8only (IE7, FF is work fine) > > > On Aug 11, 2:26 am, Liam Byrne <[email protected]> wrote: > > >> How are you setting the border in CSS ? > > >> If you set it explicitly, it should work cross-browser > > >> L > > >> Gaiz wrote: > > >>> I found 2 problems when I use jQuery onIE8 > > >>> 1. When I use $('elementId').css('border-top-width'), it return > >>> "medium", but other browsers return "0px" > >>> 2. After domready, my page, that's a widget, call ajax to load > >>> content. On page, it have menu link to call ajax to load value. > >>> I debug and found no any response from ajax call. > > >>> Anyone have suggestion? > >>> ------------------------------------------------------------------------ > > >>> No virus found in this incoming message. > >>> Checked by AVG -www.avg.com > >>> Version: 8.5.392 / Virus Database: 270.13.49/2294 - Release Date: > >>> 08/10/09 06:10:00 > >>> ------------------------------------------------------------------------ > > >>> No virus found in this incoming message. > >>> Checked by AVG -www.avg.com > >>> Version: 8.5.392 / Virus Database: 270.13.50/2296 - Release Date: > >>> 08/11/09 06:10:00

