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

[REBOL] css vs View (VID) compositing? (was) Re: Re: page-breaks in html or pdf

From: petr::krenzelok::trz::cz at: 6-Dec-2003 12:30

A J Martin wrote:
>I have my scripts insert this HTML (using CSS): > > <br style="page-break-after: always" /> >
huh, didn't know it is possible to "style" <BR> tag? I thought that is why there is <DIV> tag available?
>It's placed at the start of each "page" after the first "page", using a >Rebol script fragment like: > First_Page?: true > ;... > ; Inside page creation loop: > either First_Page? [ > First_Page?: none > ] [ > <br style="page-break-after: always" /> > ] > >I also make sure that I use this tag: > > <!DOCTYPE html PUBLIC > "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" > ""> > >for each page, to make sure the MS IE switches into the right mode. If it's >not present, MS IE 6 interprets HTML and CSS as if it were an older browser >complete with bugs! >
I always thought that kind of info is just absolutly unnecessary - thanks ... there is something to learn each day :-)
>I also have two different media sections in my .css stylesheet, like: > >@media screen { > body { > background: url(Wiki.jpg) #FFFFFC repeat-y fixed; > color: #000000; > margin: 0px; > padding: 0px; > } > .Left-Column { > position: absolute; > } >... >} > >and > >@media print { > .Left-Column { > display: none; > } >... >} >
Interesting. Yesterday I read some CSS compositing docs and I have to admit that it looks well thought out. Not that View would not be thought out, but View compositing ommits various output devices/media-types. What we call 'face they call 'box. It will be interesting to see, where Carl gets View further, as we badly miss color text capabilities, and once introduced, how they will complicate View/VID usage. I even thought for a while that there could be some "converter" from View to css compositing as we have flash dialect currently. Don't know if it is easily doable, but imo possible. We would get View display in browser. But what about events? OTOH - studying css docs for one day I have to say that it is way more complicated than View. Maybe just a question of becoming used to different concept? What do others think? -pekr-