Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2008
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    printing drop down menu looks weird!

    I created a horizontal drop down menu using javascript and css I found online to test a website.however, When i do a print preview for the page, I get the whole menu as a bulleted list all the way down.Anyone knows why this is happening?
    thanks

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    When you link to a stylesheet, you can specify what media (a monitor, a printer, whatever) should use it. It sounds like you don't have a print stylesheet and you are linking to your CSS using "screen," like so: <link href="style.css" type="text/css" media="screen" />

    The thing to so would be to create a print stylesheet and get the drop-down looking like you want it, or just remove it altogether. For any deeper help you should post some code or a link to the page.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •