This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > October 2005 > moving a table





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author moving a table
Ole Madsen

2005-10-19, 6:43 pm

for printing purposes I have made this

@media print {td.right {visibility: hidden}
}
@media print {td.bund {visibility: hidden}
}
@media print {td.toptop {position: absolut; top: -280px; font-size: 1pt}
}
@media print {td.top {position: absolut; top: -280px; visibility:
hidden; height: 10px}
}

@media print {h2 {font-size: 1pt}
}


http://danmarkforjesus.dk/andagter/altforham/1001.php

I want the top to go away, but I cant get the table to move up to -280px
in top, what do I do wrong? Have browsers gone away from this trick? I
once had no trouble doing it, is it me that do it wrong?

Hope someone can help

Ole
Leonard Blaisdell

2005-10-20, 3:23 am

In article <9Yy5f.359$NW.342@news.get2net.dk>,
Ole Madsen <o-madsen@tele2adsl.dk> wrote:

> for printing purposes I have made this
>
> @media print {td.right {visibility: hidden}


> @media print {td.toptop {position: absolut; top: -280px; font-size: 1pt}
> }
> @media print {td.top {position: absolut; top: -280px; visibility:
> hidden; height: 10px}


> I want the top to go away, but I cant get the table to move up to -280px
> in top, what do I do wrong? Have browsers gone away from this trick? I
> once had no trouble doing it, is it me that do it wrong?


Perhaps {position: absolute;} with an 'e'. I have no idea if this is
your whole problem. In the US, absolut is a vodka!

leo

--
<http://web0.greatbasin.net/~leo/>
Ole Madsen

2005-10-20, 3:23 am

Leonard Blaisdell wrote:
> In article <9Yy5f.359$NW.342@news.get2net.dk>,
> Ole Madsen <o-madsen@tele2adsl.dk> wrote:
>
>
>
>
>
>
>
>
> Perhaps {position: absolute;} with an 'e'. I have no idea if this is
> your whole problem. In the US, absolut is a vodka!
>
> leo
>

Thanks, that was it

Ole
'sNiek

2005-10-20, 3:23 am

Ole Madsen schreef:
> @media print {h2 {font-size: 1pt}


A bit small, isn't it? Or are printing the insurance policy? ;-)


--
Niek
Ole Madsen

2005-10-20, 3:23 am

'sNiek wrote:
> Ole Madsen schreef:
>
>
>
> A bit small, isn't it? Or are printing the insurance policy? ;-)
>
>

ha ha, well, no, it is just to be sure that it would not take up space,
but it is not necessary anymore

Ole
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews