Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing Question

Status
Not open for further replies.

Kalisto

Programmer
Feb 18, 2003
997
GB
Ive got a problem printing a HTML page out.

Ive wrapped the page in a table with a width of 190mm.

When I print the page out however, there are items in the table that are printed way to the right, such that a logo on the right hand side of the page, is only half in. (i.e. the printed area is 190mm, but the page is somehow 210mm, and so is being cropped.)

The Page has been 'mauled' by another designer, so it now has a css and inline styling elements. However, as I understand it, inline elements override those in the css?

Can anyone suggest how I track down this issue and get it so that my page can be printed out onto a single sheet of A4.

Cheers

K

 
Get Firefox and install the Firebug extension. You will be able to edit the CSS "in real time" and see the changes (use print preview, or change the media attribute of the print css to include the string "all" instead of just "print").

Then you can inspect individual elements (the logo for instance) and see what styles are being applied to them.

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top