This isn’t strictly a problem or issue with RoR but I wondered if
someone might have some insight.
I have a DIV on a page which I am using to “preview” the contents of a
URL provided by the user. Basically, when the user clicks on a link, I
do an AJAX call to an action which uses Net::HTTP to request the URL in
question and then update the DIVs innerHTML attribute (standard AJAX-101
Depending on the page, it appears that if the page is controlled by a
stylesheet, then that stylesheet can cause changes in the width of the
(As a side note, it appears that for the same page, IE can’t handle the
embedded stylesheet and Firefox can).
Am I stuck with this behavior because of the cascade, or is there a way
that I can at least force the sizing of my content area to be the same?
I actually don’t mind most of the stylesheet since the preview looks
like it should look, but I don’t want my content well to be distorted.
Any help would be appreciated.