Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

No text appearing in print preview

  • 11-09-2007 2:29pm
    #1
    Closed Accounts Posts: 2,616 ✭✭✭


    I have developed a web application, but when i go to print preview, only the style sheet appears, and the rest is blank. any ideas?


Comments

  • Registered Users, Registered Users 2 Posts: 1,629 ✭✭✭NullZer0


    I have developed a web application, but when i go to print preview, only the style sheet appears, and the rest is blank. any ideas?


    What kind of web application?


  • Closed Accounts Posts: 2,616 ✭✭✭8k2q1gfcz9s5d4


    its just pulling data back from a database and displaying it on lables on the screan. none of the text or controls that are not on the style sheet do not appear in the print preview


  • Registered Users, Registered Users 2 Posts: 21,263 ✭✭✭✭Eoin


    Try a few test styles like this:

    [html]
    <style type="text/css" media="print">
    input
    {
    border-style: solid;
    border-width: 1px;
    border-color: black;
    }
    </style>
    [/html]


  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    Are you declaring the "media" attribute in your link tag?


  • Closed Accounts Posts: 2,616 ✭✭✭8k2q1gfcz9s5d4


    seamus wrote:
    Are you declaring the "media" attribute in your link tag?

    no i didnt!
    changed the code to
    <style type="text/css" [b]media="screen"[/b] >
    
    now works!!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 21,263 ✭✭✭✭Eoin


    no i didnt!
    changed the code to
    <style type="text/css" [b]media="screen"[/b] >
    
    now works!!

    media="print" should work, and then you can have two stylesheets - check my earlier response.


Advertisement