473,382 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

moving a table

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
Oct 19 '05 #1
4 1596
In article <9Y**************@news.get2net.dk>,
Ole Madsen <o-******@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/>
Oct 20 '05 #2
Leonard Blaisdell wrote:
In article <9Y**************@news.get2net.dk>,
Ole Madsen <o-******@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

Thanks, that was it

Ole
Oct 20 '05 #3
Ole Madsen schreef:
@media print {h2 {font-size: 1pt}


A bit small, isn't it? Or are printing the insurance policy? ;-)
--
Niek
Oct 20 '05 #4
'sNiek wrote:
Ole Madsen schreef:
@media print {h2 {font-size: 1pt}

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
Oct 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Eric | last post by:
Let me start by saying that I'm still very new at PHP/MySql and will take any advice. :-) The issues is that every once in a while users get an error when they use this code. I believe the...
0
by: HeroOfSpielburg | last post by:
hi, I know this is a much-travelled subject, but I was wondering what people's thoughts were on the bare minimum (and conversely the grand scheme) for augmenting standard memory references to...
6
by: Stephen Miller | last post by:
Firstly, sorry for the long post, but I've included a fair bit of sample data. Im doing a comparision of 10yr Bond prices and CPI adjustments, with an 18 week moving average of the CPI. I'm...
2
by: Wayne Aprato | last post by:
I've read most, if not all, of the posts on moving average and still can't find a simple solution to my problem (if a simple solution exists!) I have a table with 2 fields: Hours and Injuries. I...
12
by: swingingming | last post by:
Hi, in the NorthWind sample database, when clicking on the next navigation button on the new order record with nothing on the subform (order details), we got an order with nothing ordered. How can...
1
by: cricketunes | last post by:
Hey folks I am implementing the Huffman encoding algorithm. I have created the tree and its perfect. Now while searching for a node value, I need to write a 0 to the encoded file if I am moving...
2
by: fuzzybr80 | last post by:
I am using MySQL 5.0 with a number of innodb tables whose ibdata files are growing quite quickly and filling up the /var partition (file is /var/mysql/ibdata1). Earlier on I followed instructions...
1
by: SyddyS | last post by:
Hi all, please help ASAP! Well, it's been a long and bumpy ride, but my little Access DB is finally graduating and moving out of the house. My homebrewed contact and sales database is being...
0
by: SuzK | last post by:
I am trying to calculate in VBA in Access 2002 a moving average and update a table with the calculations. Fields in my WeeklyData table are Week Ending (date) ItemNbr (double) Sales Dollars...
3
by: c0l0nelFlagg | last post by:
I have a moving dispatcher database. There are 99 drivers, 99 loaders, and 50 different vehicles. The scheduler database is built on a 13 4 week month year so that it can be used repeatedly in any...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.