Oh... and as far as the old-school markup goes... I was just using the
code for the example I was working off of.... just to see if I could
make things work.  The partial will be completely different when I'm
done with it.

On Aug 6, 10:01 am, Trish <[email protected]> wrote:
> Thank you so much.  I just realized that myself.  I can't believe I
> missed that simple mistake.  I was so busy looking for something
> major, I overlooked a simple bug.
>
> How embarrassing.
>
> Thanks for your help,
> Trish
>
> On Aug 6, 9:06 am, Hassan Schroeder <[email protected]>
> wrote:
>
>
>
> > On Fri, Aug 6, 2010 at 5:57 AM, Trish <[email protected]> wrote:
> > > When the new row renders, part of the code from my partial
> > > disappears.  I know it sounds crazy... and I have no clue what's
> > > happening.
>
> > > As I stated before, my partial looks like this...
>
> > > <tr id="id_details">
> > > <table cellpadding="5" cellspacing="0" border="0" style="padding-
> > > left: 50px;">
> > ...
> > > </table>
> > > </tr>
>
> > Sorry, haven't been following this thread but that just jumped out at me:
> > that's totally invalid HTML. A TABLE can't be a child of a TR -- would
> > have to be a TD or TH.
>
> > Invalid markup pretty much guarantees you JS problems; make sure
> > your initial page validates and go from there.
>
> > Your markup, by the way, is extremely old-school; you'd be better off
> > pulling all that archaic inline styling out into a stylesheet -- much easier
> > to read and maintain, among other things...
>
> > FWIW,
> > --
> > Hassan Schroeder ------------------------ [email protected]
> > twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to