[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On markdown images
From: |
Emanuel Berg |
Subject: |
Re: On markdown images |
Date: |
Tue, 04 May 2021 01:22:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>> But the height vary from image to image, should I put it
>>> "explicitly" as attributes in the HTML [2] then?
>>
>> I wouldn’t. Having width in CSS and height in HTML
>> feels wrong.
>
> But to have the same value (the width) appear over and over
> in HTML isn't good either and there is already a CSS class,
> and removing width from it won't remove the class since
> there are other settings there as well...
>
> Individual CSS classes for height only option to my mind,
> I think the height is the same for a bunch of pics tho, so
> that one can put in the base class along with the shared
> settings, then the imgs that have different height they get
> their own class in addition to the base class which will
> override it with respect to height only...
Got it to work with CSS only, lines 36-49:
https://dataswamp.org/~incal/index.css
No reflow! :)
--
underground experts united
https://dataswamp.org/~incal
- Re: Org mode rant, (continued)
- Re: Org mode rant, Jean Louis, 2021/05/01
- Re: Org mode rant, Emanuel Berg, 2021/05/01
- On markdown images, Jean Louis, 2021/05/01
- Re: On markdown images, Yuri Khan, 2021/05/01
- Re: On markdown images, Jean Louis, 2021/05/01
- Re: On markdown images, Yuri Khan, 2021/05/01
- Re: On markdown images, Jean Louis, 2021/05/01
- Re: On markdown images, Emanuel Berg, 2021/05/02
- Re: On markdown images, Yuri Khan, 2021/05/03
- Re: On markdown images, Emanuel Berg, 2021/05/03
- Re: On markdown images,
Emanuel Berg <=
- Re: On markdown images, Emanuel Berg, 2021/05/03