How can I set line-height in html listings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2019 03:08 PM
I've tried line-height within a <p> tag but this had no effect. Is there another way I should be doing it?
- « Previous
-
- 1
- 2
- Next »
Re: How can I set line-height in html listings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2019 07:12 PM
If the attribute is being stripped, then your browser is stripping it out. eBay's text editor relies on the editing engine built into the browser, so creating or modifying a listing using a different browser may result in a different code than you originally generated. Perhaps the value without units is unrecognized by the browser. Since line-height:1.5 is the same as line-height:150%, you might try the percentage method to see if your browser strips it off. If that fails, then try the original "px", which should be universally understood: line-height:30px;
What browser and OS are you using?
Re: How can I set line-height in html listings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2019 07:12 PM
<p style="line-height:50px; font-size:16px; font-weight:normal; color:#000000; text-align:left; padding:0px 0px 0px 0px; font-family:sans-serif;">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
STILL didn't work. It STILL strips out line-height from that tag. I tried editing font-size to make sure at least something was changing and that worked fine.
I tried "Save for later" with the draft and when I come back to it, line-height has been removed from the code. It just really does not like line-height!
Re: How can I set line-height in html listings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2019 07:20 PM
I've now tried stripping out everything but line height:
<p style="line-height:50px">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
I STILL can't get that to work.
Re: How can I set line-height in html listings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2019 07:28 PM
As far as I can tell, Firefox 70.0 is a beta version released a few days ago. I'd wait for the first patch or look for a bug reporting page.
https://wiki.mozilla.org/Releases/Firefox_70
Re: How can I set line-height in html listings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2019 07:28 PM
<p style="line-height:50px; font-size:50px">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
It will apply the 50px font size no problem, but still no line-height. I can add anything else in that P tag and it'll apply fine. Just not line-height.
I don't know if it matters, but I'm using ebay.co.uk and not .com. I don't see why that'd matter though.
Re: How can I set line-height in html listings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2019 07:29 PM

- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »