It is currently 16 Apr 2024, 03:58
   
Text Size

HTML Printout

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

HTML Printout

Postby killkong1211 » 21 Apr 2017, 06:50

Hey, not sure how many others use this function but I absolutely love it.

Wondering though, could we not simplfy the code in it from each line having the image sizes/margins to simply:

Code: Select all
<style>
img{
      height: 319px;
      width: 222px;
      margin: 0 0px 0px 0;
   }
</style>
Also, as a separate question, where is this code generated?
I'd love to have a look cause atm it only does main board. It doesn't check commander/sideboard.
I'd love if it did, cause then I'd mess around with the code for the text at the bottom so I can print my deck lists for events by scrapping the image codes bahahaha
Dunno if others would find that to be useful, but I'd love it personally.
killkong1211
 
Posts: 41
Joined: 24 Jul 2015, 16:06
Has thanked: 0 time
Been thanked: 0 time

Re: HTML Printout

Postby friarsol » 21 Apr 2017, 12:20

On what screen is that? I honestly have never heard of whatever feature you are talking about
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: HTML Printout

Postby killkong1211 » 04 May 2017, 13:27

Sorry for the slow reply haha
I've attached an image for simplicity of explaining.
It's in the desktop version of the app only.
Attachments
Print.png
killkong1211
 
Posts: 41
Joined: 24 Jul 2015, 16:06
Has thanked: 0 time
Been thanked: 0 time


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 43 guests


Who is online

In total there are 43 users online :: 0 registered, 0 hidden and 43 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 43 guests

Login Form