I committed the cardinal sin of using tables and am now paying the price.
Actually I didn't design my webpages with tables - did it with CSS (i.e. table-less) but the info for users was best presented with tables (at least the Vet I'm working with gave me the info in tables).
I created a style sheet for printing (media="print") and linked it in having defined several rules to make the printout from IE6 look good. To get the text and table to be in the right places, I had to make several left-margins large negative numbers (like -36 and -300) because the text and table were 'shoved' to the right. Output looks good in IE6 but when I print (preview) it in FF, everything is moved to the left (duh - just like I told it). Is there something special I should be doing for IE6 (or FF ... though I suspect FF is in the right and IE is not rendering the code correctly)?
The page is at: www.dvmvac.com/REDESIGNnew/CVTypes.shtml
and the print CSS is: www.dvmvac.com/REDESIGNnew/DVMprintCSS.css
(both the html and CSS validate via web Developer (with W2C)).
8 2220
Is there something special I should be doing for IE6 (or FF ... though I suspect FF is in the right and IE is not rendering the code correctly)?
In 99% of all cases, this is true. IE should never, ever be used as a reference for how things work or a design tool.
in FF, everything is moved to the left (duh - just like I told it).
So let's not try to fix FF when it is IE that is not performing correctly.
with W2C
It's the W3C, not W2C.
In spite of my ranting above, I have not done much with css print stuff so I can't help right now.
In 99% of all cases, this is true. IE should never, ever be used as a reference for how things work or a design tool.
So let's not try to fix FF when it is IE that is not performing correctly.
It's the W3C, not W2C.
In spite of my ranting above, I have not done much with css print stuff so I can't help right now.
W3C - I stand corrected (fat fingers) ... at least you know what I meant.
Glad I didn't use IE for testing of initial website !!
Unfortunately, 77.4% of the DVM's referring to this website use IE6 or IE7 so it has to work for them. Also, printing from FF was not a problem .. thus the initial reliance on IE for printer friendly.
Unfortunately, 77.4% of the DVM's referring to this website use IE6 or IE7 so it has to work for them.
It doesn't matter. Writing markup for a buggy browser produces buggy markup. Write to the standard and test in a modern standards compliant browser produces proper markup that works everywhere, except where IE screws up. But IEs quirks and bugs are known, as well as the fixes.
It doesn't matter. Writing markup for a buggy browser produces buggy markup. Write to the standard and test in a modern standards compliant browser produces proper markup that works everywhere, except where IE screws up. But IEs quirks and bugs are known, as well as the fixes.
OK, will throw out the markup I have but not sure how to proceed now. Seems like whatever I do to make IE browsers won't work in FF or Opera or Safari.
No, no! I'm not saying that at all. I'm saying your markup is probably written correctly but you are looking at buggy IE and saying why isn't it working in firefox when you know your markup is doing exactly what you wrote, but not what you want.
Change the markup to what you want it to do in FF, then find out why IE is screwing it up! If your 1997 Ford doesn't work like your 2007 Porsche, you don't start tinkering with the Porsche.
Change the markup to what you want it to do in FF, then find out why IE is screwing it up! If your 1997 Ford doesn't work like your 2007 Porsche, you don't start tinkering with the Porsche.
Understand ... problem is there is very little to do for FF to print the way I want (maybe a few - display:none; - rule changes) . By telling FF to set the scale at 75%, the pages print the way they are written. Does that mean by redefining my #wrapper to 768 (1024 * .75 = 768) the output will be ok in IE ... I'll try it, so don't bother to answer unless I'm way off base and I need to be pointed in the right direction.
I'll try it
Almost worked ... needs a little tweaking but think I'm on the right track
Thanks for everyone's feedback
.
I committed the cardinal sin of using tables and am now paying the price.
Actually I didn't design my webpages with tables - did it with CSS (i.e. table-less) but the info for users was best presented with tables (at least the Vet I'm working with gave me the info in tables).
I created a style sheet for printing (media="print") and linked it in having defined several rules to make the printout from IE6 look good. To get the text and table to be in the right places, I had to make several left-margins large negative numbers (like -36 and -300) because the text and table were 'shoved' to the right. Output looks good in IE6 but when I print (preview) it in FF, everything is moved to the left (duh - just like I told it). Is there something special I should be doing for IE6 (or FF ... though I suspect FF is in the right and IE is not rendering the code correctly)?
The page is at: www.dvmvac.com/REDESIGNnew/CVTypes.shtml
and the print CSS is: www.dvmvac.com/REDESIGNnew/DVMprintCSS.css
(both the html and CSS validate via web Developer (with W2C)).
pls give the <br> tag infront of the types of vaccines
Sign in to post your reply or Sign up for a free account.
Similar topics
by: tommy |
last post by:
Newbie to the group.....hope you guys can help.
I need to be able to have a button at the bottom of a form page (like the
submit & reset buttons) to provide the user with a printer friendly...
|
by: ST |
last post by:
Hi,
I'm implementing a printer friendly feature for all the pages on a web site.
I'm separating the header, content, and footer into separate ascx files,
which are contained in the main file. ...
|
by: John Klucker |
last post by:
Can anyone tell what easiest way to implement 'Printer
Friendly' functionality to my .aspx page. Are there any
controls available or is there something in the framework?
Thanks in Advance!!
...
|
by: Ron |
last post by:
Hello,
I am working on a registration application for my companies intranet. The
intranet is ASP classic based as of now. Unfortunately I only know ASP.NET.
But that was all okay until I decided I...
|
by: Sandy |
last post by:
Hello -
I tried to google this, but got back every page on the whole entire web that
has printer friendly versions . . .
I have a panel containing text from a repeater that also contains text...
|
by: dinoo |
last post by:
Can any one help me out?
I am looking out to implement printer friendly version of a web page.
I do not want the header and footer show up in the print and I do not want
to use frames (it is a...
|
by: weetat.yeo |
last post by:
Hi all ,
I have a print button in PHP page which using javascript
window.print() to print web page.
However , when user click "print" , the print preview display that the
page cut-off and...
|
by: weetat.yeo |
last post by:
Hi all ,
I have php page which the data in the page are extracted from MYSQL
database.
The data are retrieved when user click submit button .
In the php page , there is a print button for user...
|
by: tbanov |
last post by:
Hi,
I'm looking to create my own version of a printer-friendly page. Any resources I can find on this subject are extremely specific about what they consider "printer-friendly", and they don't...
|
by: Prisoner at War |
last post by:
Okay, I'd like to create a print-friendly website, so I've been
reading up on how to create print-friendly pages (without duplicating
my site, of course, by having separate versions of each...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
| |