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

[REBOL] Re: page-breaks in html or pdf?

From: bry:itnisk at: 5-Dec-2003 15:26

Neither span nor pre are good to be using for what you want to do, pre if I remember correctly is supposed to be for keeping things as they are (deprecated and replaced by xmp if I recall correctly, although these are both not elements that I am in the habit of using), span on the other hand is for text that is considered to be inside of something else that needs to have another style placed on it. Although you can say that a span has size and position etc. (and sometimes to get a result from ie with minimum of effort you might want to do this) the usage should be to give spans styling such as bold, i, u, fonts, colors, etc. Stuff that is positioned etc. should probably be done via DIVS. As I said before I know that there are some implementations (prob. Half-assed) of css2+ media possibilities out there, and one of these is in IE, to get this to work might be problematic. I would try to follow something like this: i.e set your media attribute to be print on the stylesheet, give the span a specific class, then see if you can get page breaking when you print. So on the other subject, aviso is just an internal document format you mean, it's not a well-known document format output by some company etc. referencable by standards?