Click here to get back home

how to style an AJAX-loaded fragment

 HomeNewsGroups | Search

comp.infosystems.www.authoring.html - discuss HTML authoring here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to style an AJAX-loaded fragment lcplben 11-22-2009
Posted by lcplben on November 22, 2009, 1:10 pm
Please log in for more thread options


I don't have much hope of an open-sesame answer to this question, but
here goes anyway.

Imagine I have a page arranged in an ordinary way:

show/hide quoted text

show/hide quoted text
[bunch of complicated data]
show/hide quoted text

show/hide quoted text

I replace the table id="data" with new stuff when the user asks me to,
and that will work just fine, I do believe (it's working a little bit
now and as I say I'm a believer).

show/hide quoted text
up, of course it's completely unstyled. I haven't found a way to get
the browser to apply styles from that section or from an external
stylesheet to the new table.

Has anybody any ideas about how I can get the new, AJAX-downloaded
show/hide quoted text
gigantic than it is now.

I do see ( http://www.w3.org/TR/html4/present/styles.html#h-14.2.1 )
that I can put out an HTTP header:

Content-Style-Type: text/css

but I don't think that helps the browser find the styles I want.

Thank you, everyone.

-- ben


Similar ThreadsPosted
how to style an AJAX-loaded fragment November 22, 2009, 1:28 pm
Empty fragment July 7, 2005, 10:10 am
Centered fragment in a paragraph June 3, 2008, 3:53 pm
Weird: IE renders fragment of HTML twice January 31, 2006, 5:09 am
XHTML DOCTYPE breaks JavaScript x.style.top and x.style.left? July 5, 2005, 12:58 pm
TR's w no Style? October 5, 2005, 4:27 pm
style=& ? November 22, 2004, 7:24 am
using vars in div style tag January 5, 2005, 4:32 pm
Footnote style September 25, 2005, 8:38 pm
OL tag with style for decrementing? February 28, 2007, 1:09 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy