Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

XHTML question

Enthusiast ,
Jun 02, 2018 Jun 02, 2018

I need to add style="max-height=100%" to all of the images in a book. I think it needs to go somewhere in the XHTML files, correct? Can someone tell me where (in the sample one below)? And is there a magic way I can apply this style to all images at once?

Thanks!

~Valerie

TOPICS
EPUB
274
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 24, 2019 Oct 24, 2019
LATEST

Hi,

the best way to do something like this is to create a general rule using CSS.

You have a link to a CSS file in the code you shared. Did you try to open that file (idGeneratedStyles.css) and add the rule there?

Be careful, I think the property you mentionned (Max_Height) might not work evenly across browser. 

 

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