It is currently 17 Aug 2019, 17:02
   
Text Size

HTML Printout

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, 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: 38
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: 7462
Joined: 15 May 2010, 04:20
Has thanked: 240 times
Been thanked: 933 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: 38
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 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 1 guest

Login Form