Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Hel with html table and proportional display ...

From: petr:krenzelok:trz:cz at: 4-Apr-2006 17:08

Aleksander K. wrote:
>> So I thought of producing simple html table, >> inserting images and comments there. >> > > This link may be interesting for You. > Printing a Book with CSS: Boom! > http://www.alistapart.com/articles/boom/ > >> Why browser does not stretch images itself? Is there any kind of fit or >> aspect for table cells? Anyone? :-) >> > > Well - You can set size of image with width= and height= in img tag (or in > css). > They should look better in print also. > > Width of 760 px fits good on printed page - so You can place an image with > width: > <img width="760" src="..."> > > Regards, > Aleksander Kielbratowski >
Thanks a lot, I am now trying with something like: <table style="text-align: left; width: 810px;" border="0" cellpadding="2" cellspacing="2" align="center"> <tbody> <tr> <td style="vertical-align: top;"><img style="width: 800px; height: 600px;" alt="pokus" src="IMG_1328.JPG"></td> </tr> <tr> <td style="vertical-align: top; ">Description - image no 1 - blablablabla balalbabalb lablablalbal<br> </td> </tr> So some in-line styling, but I somehow don't know, what tag allows what styling - just tried to set: <td style="vertical-align: top; margin-top: 20px; ">Description - image no 1 - blablablabla balalbabalb lablablalbal<br> but nothing happens :-) Thanks for the pointer though .... Cheers, -pekr- PS: hopefully you wanted to reply to mailing-list, not me personally, so resending back to ml ....