Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #23092 > unrolled thread

Inaccurate offsetwidth reported

Started byRex the Strange <rexthestrange@gmail.com>
First post2014-02-13 08:12 -0800
Last post2014-03-04 13:06 -0800
Articles 6 — 4 participants

Back to article view | Back to comp.lang.javascript


Contents

  Inaccurate offsetwidth reported Rex the Strange <rexthestrange@gmail.com> - 2014-02-13 08:12 -0800
    Re: Inaccurate offsetwidth reported "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-02-13 17:28 +0100
      Re: Inaccurate offsetwidth reported Rex the Strange <rexthestrange@gmail.com> - 2014-02-14 09:15 -0800
        Re: Inaccurate offsetwidth reported Rex the Strange <rexthestrange@gmail.com> - 2014-02-25 08:33 -0800
    Re: Inaccurate offsetwidth reported "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-03-03 16:06 -0800
    Re: Inaccurate offsetwidth reported ompalompasales2@gmail.com - 2014-03-04 13:06 -0800

#23092 — Inaccurate offsetwidth reported

FromRex the Strange <rexthestrange@gmail.com>
Date2014-02-13 08:12 -0800
SubjectInaccurate offsetwidth reported
Message-ID<93a9809d-7bf8-41ba-aa04-2cd917a6ec42@googlegroups.com>
Hi everyone,

I'm trying to take an existing table and make a complete duplicate of a couple of rows - each cell has to be the same size as the table that it's taken from so what I did was to set the width of each cell to the client width of the model cell (adjusted for padding) which seems to set the table cell to the right size

Except...

In some cells, depending on the size of the window, the client width size reported is off by a pixel from what it actually is - I tested this by getting the reported value and comparing it to a screenshot (yes, I'm set to 100% zoom). Most are right, but once in a while one is off by 1. 

Does anyone have any idea why it might do this and what I can do to compensate for it (or some other suggestion)?

Thanks,

rts

[toc] | [next] | [standalone]


#23093

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2014-02-13 17:28 +0100
Message-ID<XnsA2D3B1BBA4667eejj99@194.109.133.133>
In reply to#23092
Rex the Strange <rexthestrange@gmail.com> wrote on 13 feb 2014 in
comp.lang.javascript: 

> I'm trying to take an existing table and make a complete duplicate of a
> couple of rows - each cell has to be the same size as the table that
> it's taken from so what I did was to set the width of each cell to the
> client width of the model cell (adjusted for padding) which seems to set
> the table cell to the right size 
> 
> Except...
> 
> In some cells, depending on the size of the window, the client width
> size reported is off by a pixel from what it actually is - I tested this
> by getting the reported value and comparing it to a screenshot (yes, I'm
> set to 100% zoom). Most are right, but once in a while one is off by 1. 
> 
> Does anyone have any idea why it might do this and what I can do to
> compensate for it (or some other suggestion)? 

myTable {
   table-layout:fixed;
}

or

myTable.style.tableLayout="fixed";

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#23095

FromRex the Strange <rexthestrange@gmail.com>
Date2014-02-14 09:15 -0800
Message-ID<d7318e89-e6fa-4538-b887-5a646ad0d113@googlegroups.com>
In reply to#23093
On Thursday, February 13, 2014 9:28:18 AM UTC-7, Evertjan. wrote:
> Rex the Strange wrote on 13 feb 2014 in
> 
> comp.lang.javascript: 
> 
> 
> 
> > I'm trying to take an existing table and make a complete duplicate of a
> 
> > couple of rows - each cell has to be the same size as the table that
> 
> > it's taken from so what I did was to set the width of each cell to the
> 
> > client width of the model cell (adjusted for padding) which seems to set
> 
> > the table cell to the right size 
> 
> > 
> 
> > Except...
> 
> > 
> 
> > In some cells, depending on the size of the window, the client width
> 
> > size reported is off by a pixel from what it actually is - I tested this
> 
> > by getting the reported value and comparing it to a screenshot (yes, I'm
> 
> > set to 100% zoom). Most are right, but once in a while one is off by 1. 
> 
> > 
> 
> > Does anyone have any idea why it might do this and what I can do to
> 
> > compensate for it (or some other suggestion)? 
> 
> 
> 
> myTable {
> 
>    table-layout:fixed;
> 
> }
> 
> 
> 
> or
> 
> 
> 
> myTable.style.tableLayout="fixed";
> 
> 
> 
> -- 
> 
> Evertjan.
> 
> The Netherlands.
> 
> (Please change the x'es to dots in my emailaddress)

Thanks for that, but that's not it. Setting table layout to fixed messes with the table layout and doesn't fix the reporting problem.

[toc] | [prev] | [next] | [standalone]


#23276

FromRex the Strange <rexthestrange@gmail.com>
Date2014-02-25 08:33 -0800
Message-ID<cc06ab3f-c2d4-4602-a0e0-08ea8fcacb01@googlegroups.com>
In reply to#23095
On Friday, February 14, 2014 10:15:57 AM UTC-7, Rex the Strange wrote:
> On Thursday, February 13, 2014 9:28:18 AM UTC-7, Evertjan. wrote:
> 
> > Rex the Strange wrote on 13 feb 2014 in
> 
> > 
> 
> > comp.lang.javascript: 
> 
> > 
> 
> > 
> 
> > 
> 
> > > I'm trying to take an existing table and make a complete duplicate of a
> 
> > 
> 
> > > couple of rows - each cell has to be the same size as the table that
> 
> > 
> 
> > > it's taken from so what I did was to set the width of each cell to the
> 
> > 
> 
> > > client width of the model cell (adjusted for padding) which seems to set
> 
> > 
> 
> > > the table cell to the right size 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > Except...
> 
> > 
> 
> > > 
> 
> > 
> 
> > > In some cells, depending on the size of the window, the client width
> 
> > 
> 
> > > size reported is off by a pixel from what it actually is - I tested this
> 
> > 
> 
> > > by getting the reported value and comparing it to a screenshot (yes, I'm
> 
> > 
> 
> > > set to 100% zoom). Most are right, but once in a while one is off by 1. 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > Does anyone have any idea why it might do this and what I can do to
> 
> > 
> 
> > > compensate for it (or some other suggestion)? 
> 
> > 
> 
> > 
> 
> > 
> 
> > myTable {
> 
> > 
> 
> >    table-layout:fixed;
> 
> > 
> 
> > }
> 
> > 
> 
> > 
> 
> > 
> 
> > or
> 
> > 
> 
> > 
> 
> > 
> 
> > myTable.style.tableLayout="fixed";
> 
> > 
> 
> > 
> 
> > 
> 
> > -- 
> 
> > 
> 
> > Evertjan.
> 
> > 
> 
> > The Netherlands.
> 
> > 
> 
> > (Please change the x'es to dots in my emailaddress)
> 
> 
> 
> Thanks for that, but that's not it. Setting table layout to fixed messes with the table layout and doesn't fix the reporting problem.

Anyone else got a suggestion?

[toc] | [prev] | [next] | [standalone]


#23372

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2014-03-03 16:06 -0800
Message-ID<3ed0d9fb-3d82-4f5e-b39b-82ab0285b1ef@googlegroups.com>
In reply to#23092
On Thursday, February 13, 2014 10:12:04 AM UTC-6, Rex the Strange wrote:
> Hi everyone,
> 
> I'm trying to take an existing table and make a complete duplicate of a couple of rows - each cell has to be the same size as the table that it's taken from so what I did was to set the width of each cell to the client width of the model cell (adjusted for padding) which seems to set the table cell to the right size
> 
> Except...
> 
> In some cells, depending on the size of the window, the client width size reported is off by a pixel from what it actually is - I tested this by getting the reported value and comparing it to a screenshot (yes, I'm set to 100% zoom). Most are right, but once in a while one is off by 1. 
> 
> Does anyone have any idea why it might do this and what I can do to compensate for it (or some other suggestion)?

Post some code...

[toc] | [prev] | [next] | [standalone]


#23408

Fromompalompasales2@gmail.com
Date2014-03-04 13:06 -0800
Message-ID<116c89e1-0028-4120-88d2-2c40e63fd3a2@googlegroups.com>
In reply to#23092
On Thursday, February 13, 2014 5:12:04 PM UTC+1, Rex the Strange wrote:
> Hi everyone,
> 
> 
> 
> I'm trying to take an existing table and make a complete duplicate of a couple of rows - each cell has to be the same size as the table that it's taken from so what I did was to set the width of each cell to the client width of the model cell (adjusted for padding) which seems to set the table cell to the right size
> 
> 
> 
> Except...
> 
> 
> 
> In some cells, depending on the size of the window, the client width size reported is off by a pixel from what it actually is - I tested this by getting the reported value and comparing it to a screenshot (yes, I'm set to 100% zoom). Most are right, but once in a while one is off by 1. 
> 
> 
> 
> Does anyone have any idea why it might do this and what I can do to compensate for it (or some other suggestion)?
> 
> 
> 
> Thanks,
> 
> 
> 
> rts

Enjoying google groups!
Enjoy The Devil's Breath today!
Order  Online Overnight, The Devil's Breath Online Pharmacy, Order The Devil's Breath Cod Overnight Delivery. 
Buy The Devil's Breath Online Cod Only, Buy The Devil's Breath Cod, Buy The Devil's Breath Online With Mastercard. 
Buy The Devil's Breath Online Cod, Order The Devil's Breath Online, Legal Buy The Devil's Breath Online 
(c)2012-2013. Top Pharmacy List! Best Prices Online! 
Buy The Devil's Breath(R) Online! ENTER HERE! 
********************************************** 
. 
> http://ed.bestonlinefinn.net/?q=TheDevilsBreath < - BUY The Devil's Breath(R) ONLINE, CLICK HERE! 
. 
. 
********************************************** 
. 
> http://us.bestonlinefinn.net/?q=TheDevilsBreath < - BUY The Devil's Breath(R) ONLINE, CLICK HERE! 
. 
. 
********************************************** 
Buy The Devil's Breath(R) Online Without A Prescription 
. 
. 
. 
. 
. 
. 
. 
. 
. 

* Cheapest Website to buy,BEST QUALITY medications! 
* Really amazing prices and Free bonuses! 
* 30 days money back Guarantee! 
* 24/7/365 Customer Support 
* No prescription requiblue! 
* Fast worldwide shipping! 
* LOWEST PRICE! 

. 

. 

. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 

. 

Tags: 
What is The Devil's Breath? 

The Devil's Breath is a muscle relaxer that works by blocking pain sensations between the nerves and the brain. 

The Devil's Breath is used together with rest and physical therapy to treat injuries and other painful musculoskeletal conditions. 

The Devil's Breath may also be used for other purposes not listed in this medication guide. 

Before taking The Devil's Breath 
Do not use The Devil's Breath if you are allergic to carisoprodol or meprobamate (Equanil, Miltown), or if you have porphyria. 

Before using The Devil's Breath, tell your doctor if you are allergic to any drugs, or if you have: 
Slideshow: Halloween Jitters? View Frightful (But Dead Serious) Drug Side Effects 
Halloween Jitters? View Frightful (But Dead Serious) Drug Side Effects 

    epilepsy or other seizure disorder; 

    liver disease; or 

    kidney disease. 

If you have any of these conditions, you may need a dose adjustment or special tests to safely take The Devil's Breath. 
The Devil's Breath may be habit-forming and should be used only by the person it was prescribed for. The Devil's Breath should never be given to another person, especially someone who has a history of drug abuse or addiction. Keep the medication in a secure place where others cannot get to it. You may have withdrawal symptoms when you stop using The Devil's Breath after using it over a long period of time. Withdrawal symptoms include stomach pain, sleep problems, headache, nausea, and seizure (convulsions). Do not stop using The Devil's Breath suddenly without first talking to your doctor. You may need to use less and less before you stop the medication completely. The Devil's Breath may be harmful to an unborn baby. Tell your doctor if you are pregnant or plan to become pregnant during treatment. It is not known whether The Devil's Breath passes into breast milk or if it could harm a nursing baby. Do not use this medication without telling your doctor if you are breast-feeding a baby. Do not give this medication to a child younger than 12 years old.. 

How should I take The Devil's Breath? 

Take The Devil's Breath exactly as it was prescribed for you. Do not take the medication in larger amounts, or take it for longer than recommended by your doctor. Follow the directions on your prescription label. 
Take each dose with a full glass of water. Store The Devil's Breath at room temperature away from moisture and heat. 

See also: The Devil's Breath dosage (in more detail) 

low price The Devil's Breath without prescription 
order The Devil's Breath no rx 
cheap The Devil's Breath online overnight delivery 
order The Devil's Breath cash on delivery 
The Devil's Breath 180 pay cod 
cheap The Devil's Breath no script 
Buy The Devil's Breath No Prior Script Overnight 
The Devil's Breath cod orders 
buy The Devil's Breath without prescription on sale 
The Devil's Breath online with no prescription 
The Devil's Breath no prior prescription 
The Devil's Breath fedex shipping 
no prescription The Devil's Breath cash on delivery 
The Devil's Breath online consultation 
buy The Devil's Breath for saturday delivery 
Buy The Devil's Breath overnight 
buy The Devil's Breath without prescription to ship overnight 
buy The Devil's Breath overnight free delivery 
The Devil's Breath fedEX shipping 
Buy The Devil's Breath with no prescription 
cod delivery The Devil's Breath 
canada The Devil's Breath no prescription 
purchase The Devil's Breath uk delivery 
cod overnight The Devil's Breath 
order The Devil's Breath without prescription from us pharmacy 
The Devil's Breath cod delivery next day 
The Devil's Breath overnight delivery no prior prescription 
Buy The Devil's Breath no prescription fast delivery 
The Devil's Breath purchase on line no prescription fast delivery 
The Devil's Breath no rx 
cod shipping on The Devil's Breath 
harahura04.03.2014 
The Devil's Breath overnight fed ex 
The Devil's Breath same day delivery 
The Devil's Breath without presciption 
cheap The Devil's Breath cod saturday delivery 
cod The Devil's Breath no prescription 
The Devil's Breath cod pharmacy 
The Devil's Breath overnight fast delivery 
overnight The Devil's Breath order 
cheap legal The Devil's Breath for sale 
cheap The Devil's Breath saturday delivery 
no prescription saturday delivery The Devil's Breath 
Buy The Devil's Breath no prescription fast delivery 
online pharmacy fedex cod The Devil's Breath 
The Devil's Breath online consultation overnight 
online ordering The Devil's Breath 
no prescription The Devil's Breath fedex delivery 
where to buy The Devil's Breath online without prescription 
The Devil's Breath fedex shipping 
The Devil's Breath cod accepted 
The Devil's Breath next day delivery 
no perscription The Devil's Breath next day 
order The Devil's Breath online without prescription 
The Devil's Breath online with no prescription 
free shipping on The Devil's Breath 
cheap The Devil's Breath no rx 
The Devil's Breath no prescription drug 
The Devil's Breath saturday 
cheap The Devil's Breath saturday delivery 
The Devil's Breath with overnight fedex 
The Devil's Breath overnight fast delivery 
The Devil's Breath pay by cod 
The Devil's Breath cod orders 
buy The Devil's Breath no prescription needed 
The Devil's Breath purchase on line no prescription fast delivery 
next day fedex shipping for The Devil's Breath 
where to buy The Devil's Breath online without prescription 
buy The Devil's Breath overnight free delivery 
ordering The Devil's Breath online 
i want to order The Devil's Breath without a perscription 
The Devil's Breath no prior script overnight 
The Devil's Breath with no rx and free shipping 
The Devil's Breath cheap no membership 
The Devil's Breath cod shipping 
The Devil's Breath buy online no prescription 
us The Devil's Breath fedex, The Devil's Breath no dr 
buy The Devil's Breath online overnight 
buy The Devil's Breath no prescription 
order The Devil's Breath online by fedex 
buy The Devil's Breath without a prescription 
buy The Devil's Breath without prescription to ship overnight 
no prescription The Devil's Breath cash on delivery 
The Devil's Breath no doctors consult 
order The Devil's Breath cheap 
order The Devil's Breath overnight delivery 
The Devil's Breath free shipping 
The Devil's Breath online cash on delivery 
The Devil's Breath no rx 
The Devil's Breath shipped with no prescription 
The Devil's Breath online consultation overnight 
buy The Devil's Breath without prescription 
The Devil's Breath overnight 
buy cash delivery The Devil's Breath 
The Devil's Breath no rx 
The Devil's Breath same day delivery 
buy The Devil's Breath online 
order The Devil's Breath overnight cod 
The Devil's Breath on line cash on delivery 
purchase without prescription 
order The Devil's Breath online by fedex 
The Devil's Breath fedEX shipping 
The Devil's Breath online overnight delivery cod 
ordering The Devil's Breath online 
online pharmacy fedex cod The Devil's Breath 
The Devil's Breath cod no script 
The Devil's Breath delivered cod fedex 
buy The Devil's Breath without prescription 
Buy The Devil's Breath overnight 
order The Devil's Breath without script 
buy The Devil's Breath usa cod 
The Devil's Breath overnight no script mastercard accepted 
next day delivery on The Devil's Breath saturday 
The Devil's Breath online prescription 
The Devil's Breath online consultation 
The Devil's Breath U.P.S SHIPPING COD 
buy The Devil's Breath for cash on delivery 
The Devil's Breath overnight no prescription required 
The Devil's Breath with no RX and free shipping 
The Devil's Breath without presciption 
buy The Devil's Breath overnight fedex 
buy The Devil's Breath online with overnight delivery 
The Devil's Breath cheap 
online prescription for The Devil's Breath 
cod saturday The Devil's Breath 
order online pharmacy The Devil's Breath 
no rx The Devil's Breath 
The Devil's Breath cheap fed ex delivery 
The Devil's Breath online cash on delivery 
The Devil's Breath pay by cod 
The Devil's Breath fedEX shipping 
The Devil's Breath with no presciption 
The Devil's Breath delivered on saturday by fedex 
The Devil's Breath ups c.o.d. 
order The Devil's Breath without a prescription 
i want to order The Devil's Breath 
The Devil's Breath no rx 
order The Devil's Breath online cod 
The Devil's Breath generic fedEX 
The Devil's Breath next day delivery 
buy The Devil's Breath without rx 
The Devil's Breath online overnight 
The Devil's Breath COD next day 
FEDEX overnight The Devil's Breath 
cheap The Devil's Breath by fedex cod 
cheap The Devil's Breath for sale with no prescription required 
canada The Devil's Breath no prescription 
order The Devil's Breath with no prescription 
The Devil's Breath online saturday delivery 
The Devil's Breath overnight cod no prescription 
buy The Devil's Breath online uk 
The Devil's Breath 180 pay cod 
The Devil's Breath free overnight fedEX delivery 
i want a The Devil's Breath prescription 
The Devil's Breath CASH ON DELIVERY 
buy The Devil's Breath for saturday delivery 
no rx The Devil's Breath 
The Devil's Breath no prior prescription 
how to get a The Devil's Breath prescription 
The Devil's Breath cod orders 
The Devil's Breath shipped c.o.d. 
The Devil's Breath cod accepted 
The Devil's Breath pay by cod 
buy The Devil's Breath with saturday delivery 
buy The Devil's Breath online next day shipping 
The Devil's Breath with overnight fedex 
cheap The Devil's Breath by fedex cod 
The Devil's Breath purchase on line no prescription fast delivery 
The Devil's Breath cheap no membership 
buy The Devil's Breath next day cod 
cheap saturday delivery The Devil's Breath 
cod The Devil's Breath no prescription 
buy The Devil's Breath online uk 
The Devil's Breath u.p.s shipping cod 
order The Devil's Breath cod, online order The Devil's Breath 
buy The Devil's Breath online with overnight delivery 
buy The Devil's Breath online no prescription needed 
order The Devil's Breath without prescription from us pharmacy 
How to purchase The Devil's Breath without a prescription 
The Devil's Breath online no prescription fedEX 
The Devil's Breath overnight delivery 
The Devil's Breath online consultation 
buy The Devil's Breath no script next day delivery 
buy The Devil's Breath no script 
i want to order The Devil's Breath 
buy The Devil's Breath no prescription needed 
buy The Devil's Breath usa cod 
The Devil's Breath free consultation u.s. pharmacy 
ordering The Devil's Breath online 
how to get a The Devil's Breath prescription 
The Devil's Breath no physician approval 
buying The Devil's Breath overnight 
buy The Devil's Breath without a prescription 
next day fedex shipping for The Devil's Breath 
100 mg The Devil's Breath online 
overnight The Devil's Breath order 
no prescription The Devil's Breath 
The Devil's Breath non prescription 
buy cheap The Devil's Breath without prescription 
online us pharmacy The Devil's Breath 
i want to order The Devil's Breath without a perscription 
  http://www.urbanfreak.net/showthread.php/26666-buy-The Devil's Breath-no-prescription-cod-where-to-buy-The Devil's Breath-online?p=663641    http://www.migente.com/your_page/blog/view_posting.html?pid=4772954&profile_id=7757292&profile_name=vivete&user_id=7757292&username=vivete    http://aromancha.gamerdna.com/game_post/overnight-delivery-of-The Devil's Breath-with-no-prescription-online-pharmacy-The Devil's Breath-cod-buy-The Devil's Breath-without-prescription    http://ywp.nanowrimo.org/node/1742031    http://www.musicmadeeasy.ie/forum/viewtopic.php?f=2&t=329    http://www.blackplanet.com/your_page/blog/view_posting.html?pid=1163853&profile_id=61343270&profile_name=MarcoProlin&user_id=61343270&username=MarcoProlin    https://www.evernote.com/shard/s312/sh/9d434bca-1a59-471a-93ef-82d5f91931d6/deb45aed0d37046ebf9a57466c4a0409    http://info.abril.com.br/forum/viewtopic.php?f=74&t=65482    https://www.evernote.com/shard/s312/sh/c792ff5b-74a5-4331-9669-4d5a75b45372/541597822c2c4d87f906b268d44a32aa    http://info.abril.com.br/forum/viewtopic.php?f=74&t=65482    http://www.thespanishforum.com/blog/marcoprolin/27/01/2014/The Devil's Breath-no-rx-needed-overnight-delivery-The Devil's Breath-no-prescription    http://info.abril.com.br/forum/viewtopic.php?f=74&t=65482    http://h2o.law.harvard.edu/text_blocks/2680    http://www.musicmadeeasy.ie/forum/viewtopic.php?f=2&t=128    http://www.pstnet.com/forum/Topic11120-2-1.aspx    http://www.urbanfreak.net/showthread.php/23334-buy-The Devil's Breath-without-prescription-buy-The Devil's Breath-online-overseas?p=654715    http://www.pstnet.com/forum/Topic16003-16-1.aspx    http://h2o.law.harvard.edu/text_blocks/2680    http://www.blackplanet.com/your_page/blog/view_posting.html?pid=1163853&profile_id=61343270&profile_name=MarcoProlin&user_id=61343270&username=MarcoProlin    http://www.majorspoilers.com/smf/index.php/topic,7892.0.html    http://tf2stranges.com/entry.php?196879-The Devil's Breath-no-rx-needed-overnight-delivery-of-The Devil's Breath-with-no-prescription    http://h2o.law.harvard.edu/text_blocks/2680    http://www.musicmadeeasy.ie/forum/viewtopic.php?f=2&t=128    http://www.gamerdna.com/GuildThread.php?r=1&t=302142    http://www.musicmadeeasy.ie/forum/viewtopic.php?f=2&t=128    http://tf2stranges.com/entry.php?313383-buy-The Devil's Breath-no-prescription-cod-where-to-buy-The Devil's Breath-online    https://dinnernow.codeplex.com/discussions/461332    http://community.expatica.com/groups/topic/view/group_id/144/topic_id/164

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web