Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Imar
Forum: Javascript How-To September 7th, 2003, 12:40 PM
Replies: 4
Views: 7,084
Posted By Imar
Yeah, I thought about using currentStyle too, but...

Yeah, I thought about using currentStyle too, but it returns "auto" :-(

The offsetWidth, however, does the trick:alert(document.getElementById('spTest').offsetWidth);returns 87 which is indeed the...
Forum: Javascript How-To September 7th, 2003, 05:29 AM
Replies: 4
Views: 7,084
Posted By Imar
Hi Jeri, I am not 100% sure, but I don't...

Hi Jeri,

I am not 100% sure, but I don't think you can do that. Consider the following example:<html>
<head>
<title>Test Width</title>
<script language="JavaScript" type="text/javascript">...
Showing results 1 to 2 of 2

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.