Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Senior Member echoSwe's Avatar
    Join Date
    May 2004
    Posts
    332
    Member #
    5926
    Hi all. Does anyone know a browser except the old Opera 7.23 that can show what a document will look printed, with media="print" in the link element?

    What's the in-document (in the actual CSS doc) way of writing media="print", is it like this you write:
    Code:
    @print {
    div.hi { property: value;} 
    p * { property: value; }
    }
    ?

    Can XML and XSL provide content to an (X)HTML page without Server scripting?

  2.  

  3. #2
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    Firefox, Netscape, Mozilla.

    2nd question - yes, although it requires either javascript or VBScript enabled on the client side.

    As for your second one, the better solution is to put this in the header of your document:
    PHP Code:
    <style type="text/css" media="screen">
    @
    import "/css/screen.css";
    </
    style>
    <
    link href="/css/print.css" rel="stylesheet" type="text/css" media="print" /> 
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  4. #3
    Senior Member echoSwe's Avatar
    Join Date
    May 2004
    Posts
    332
    Member #
    5926
    answer

    Quote Originally Posted by Brak
    Firefox, Netscape, Mozilla.

    2nd question - yes, although it requires either javascript or VBScript enabled on the client side.

    As for your second one, the better solution is to put this in the header of your document:
    PHP Code:
    <style type="text/css" media="screen">
    @
    import "/css/screen.css";
    </
    style>
    <
    link href="/css/print.css" rel="stylesheet" type="text/css" media="print" /> 
    But how and why?
    1) How in FF? (Mozilla engine, not browser) Where to press?
    2) Well, that's one way, but why not put the style tag in screen.css instead? However, the question was how to do it the other way, there are two ways, and this is one. What is the other, was actually the question... And why is it better this way?
    (not critizism to u, just need for clarification)
    3) How? I don't use VBscript, and I think any smart web designer will avoid it . However, as far as I know JavaScript with XML works only in IE6, and no other. Please prove me wrong .

    Thanks
    Henke

  5. #4
    Senior Member echoSwe's Avatar
    Join Date
    May 2004
    Posts
    332
    Member #
    5926
    Hello? Has anyone got an answer?

  6. #5
    Senior Member echoSwe's Avatar
    Join Date
    May 2004
    Posts
    332
    Member #
    5926
    Heeeeeello??


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:16 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com