Highlighted

CFdocument not converting IMG with CSS overflow hidden - displays whole image

New Here ,
Oct 07, 2015

Copy link to clipboard

Copied

  

    Title Text here   

  

series-amps.gif is 800px high by 16px wide. It is shifted to display the correct image slice with css background-position: 0 -50px; the overflow within the H4 tag (height 24px) is hidden with css overflow: hidden. works fine as html, but CFdocument's PDF output displays the full 800px high image, not positioned, nor overflow in H4 hidden. any ideas?

Unfortunately ColdFusion only supports limited CSS when converting to PDF.

The documentation for the cfDocument tag lists the supported CSS styles.

Cheers

Eddie

TOPICS
Advanced techniques

Views

512

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

CFdocument not converting IMG with CSS overflow hidden - displays whole image

New Here ,
Oct 07, 2015

Copy link to clipboard

Copied

  

    Title Text here   

  

series-amps.gif is 800px high by 16px wide. It is shifted to display the correct image slice with css background-position: 0 -50px; the overflow within the H4 tag (height 24px) is hidden with css overflow: hidden. works fine as html, but CFdocument's PDF output displays the full 800px high image, not positioned, nor overflow in H4 hidden. any ideas?

Unfortunately ColdFusion only supports limited CSS when converting to PDF.

The documentation for the cfDocument tag lists the supported CSS styles.

Cheers

Eddie

TOPICS
Advanced techniques

Views

513

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 07, 2015 0
Advocate ,
Oct 07, 2015

Copy link to clipboard

Copied

Unfortunately ColdFusion only supports limited CSS when converting to PDF.

The documentation for the cfDocument tag lists the supported CSS styles.

Cheers

Eddie

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 07, 2015 0
New Here ,
Oct 07, 2015

Copy link to clipboard

Copied

thanks eddie, I thought that might be the case.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 07, 2015 0