from what I'm seeing you could accomplish this with css alone.
Alexandru Adrian Dinulescu wrote:
it doesnt work at all,
working with 20+ rows
this happens only in ie, firefox/saf/google works.
-------------------
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323
XHTML/CSS/jQuery Blog -> http://alexd.adore.ro/blog
MainWebsite: http://alexd.adore.ro
On Tue, Jul 14, 2009 at 9:24 PM, James <james.gp....@gmail.com
<mailto:james.gp....@gmail.com>> wrote:
When you say "bogs down" does that mean it works, but very slow? Or
does it mean it doesn't work at all?
How many rows are you working with?
On Jul 14, 1:31 am, Alexandru Adrian Dinulescu
<alex.d.a...@gmail.com <mailto:alex.d.a...@gmail.com>>
wrote:
> Hello.
>
> I am trying to do
> $("tbody tr").each(function(){
> $(this).children("td:first").css({
> 'border-left': '3px solid #EEEEEE',
> });
> $(this).children("td:last").css({
> 'border-right': '3px solid #eeeeee',
> });
>
$(this).children("td:not(:first:last)").css("text-align",
> "center");
> });
>
> This works in Firefox 3.5 but somehow it bogs down in IE7+
> I also tried with td:eq(0) and td:eq(4) (have 5 columns)
>
> help?
>
> -------------------
> Alexandru Dinulescu
> Web Developer
> (X)HTML/CSS Specialist
> Expert Guarantee Certified Developer
>
XHTML:http://www.expertrating.com/transcript.asp?transcriptid=1879053
> CSS :http://www.expertrating.com/transcript.asp?transcriptid=1870619
> RentACoder
Profile:http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInf...
>
> XHTML/CSS/jQuery Blog ->http://alexd.adore.ro/blog
> MainWebsite:http://alexd.adore.ro