That CSS & Print subject again

G

Guest

Thanks for your previous help on this subject - the problem is almost
resolved but...

When using Firefox my stylesheet below my printed page is perfect. (
everything within td.print-contents and no border).

When I use IE 6, my page prints as above but has a border around it - which
I do not want.

Am I missing a line of code in the style sheet that IE needs?

I also need to make the site accessable to visitors using screen readers -
can I use a similar stylesheet to achieve this.

Any help would be greatly appreciated.

Thanks

Stlyle sheet

body {
color : black;
background-colour : white;
font : Arial, sans-serif;
font-size: 12pt;
}
TABLE.main {
border-collapse: collapse;
border:0;
left: 0px;
top: 0px;
margin: 0px;
padding: 0px;
width: 100%;
height:100%
colour: black;
background-colour: white;
}

td.logo {
display:none
}
td.main-navigation {
display:none
}
td.print-contents{
display:block
}
td.text-navigation {
display:none
}
 
M

Murray

colour != color

body {
color : black;
background-colour : white; ****
font : Arial, sans-serif;
font-size: 12pt;
}
TABLE.main {
border-collapse: collapse;
border:0;
left: 0px;
top: 0px;
margin: 0px;
padding: 0px;
width: 100%;
height:100%
colour: black; ****
background-colour: white; ****
}
 
T

Trevor L.

VivD must be from that other part of the world where we use English
spelling.

As an Australian, it can sometimes be confusing for me to remember
e.g. color not colour
There are others, but no so important
e.g. favorite not favourite

LOL
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au
colour != color

body {
color : black;
background-colour : white; ****
font : Arial, sans-serif;
font-size: 12pt;
}
TABLE.main {
border-collapse: collapse;
border:0;
left: 0px;
top: 0px;
margin: 0px;
padding: 0px;
width: 100%;
height:100%
colour: black; ****
background-colour: white; ****
}


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
G

Guest

Thanks for that - I will have to remember not to use English spelling,.
I have corrected the spelling - but I still have the same result. The
printed page is perfect in Firefox but IE leaves a border whichI do not want.

I have devided up my page using

<table class="main" >
<td class="main-navigation" >
<td class="print-this" >
etc

my stylesheet now looks like this

body {
color : black;
background-color : white;
font : Arial, sans-serif;
font-size: 12pt;
}
TABLE.main {
border-collapse: collapse;
border:0;
left: 0px;
top: 0px;
margin: 0px;
padding: 0px;
width: 100%;
color: black;
background-color: white;
}

td.logo {
display:none
}
td.main-navigation {
display:none
}
td.print-this{
display:block
}
td.text-navigation {
display:none
}

Any other ideas - thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top