Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IFRAMEs auto-sizing, doesn't take into account images

Status
Not open for further replies.
Hi,

Thanks for your reply. Yeah, they are positioned (its extraced form .doc files, so word uses its *crappy* formatting (but, manually re-formating them all, isn't really an option, as we have over 80k documents, all from 2-35 pages long :/)

TIA!

Andy
 
Well - then you need to change their positioning. Absolutely positioned elements are removed from the document flow, and would therefore not be included in any calculations to determine the content bounds.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Hi,

Thanks for the reply. It also seems to be due to these kind of occurences;

<p><br /></p>

God I hate M$ Word! (crappy formatting all over the place :()

Unfortuatly, we can't really reformat the inline styling of the images. I guess the next best thing, would be to count the number of images occuring in the document, and pass that in as a value. Then, add (for example) 50 pixels for each image (we don't mind a bit of space at the bottom - just so long as the scrollbars don't show <G>)

Thanks again.

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top