469,949 Members | 2,430 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,949 developers. It's quick & easy.

How to set width to 100%

Hi all,

I want to set the width of an object to 90%.

OBJECT.width=90%
and
OBJECT.width="90%"
won't work

How can I do that?

Thanks
Gertjan

--
This E-mail is printed on 100% recycable pixels.
Jul 23 '05 #1
2 11459
Ivo
"Gertjan Huiskes" asked
I want to set the width of an object to 90%.

OBJECT.width=90%
and
OBJECT.width="90%"
won't work

How can I do that?


Depending on the nature of your object, the syntax is most likely this:
OBJECT.style.width="90%";
HTH
Ivo
Jul 23 '05 #2
Thnx.
"Ivo" <no@thank.you> schreef in bericht
news:40***********************@news.wanadoo.nl...
"Gertjan Huiskes" asked
I want to set the width of an object to 90%.

OBJECT.width=90%
and
OBJECT.width="90%"
won't work

How can I do that?


Depending on the nature of your object, the syntax is most likely this:
OBJECT.style.width="90%";
HTH
Ivo

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Alex Shi | last post: by
7 posts views Thread by Graham J | last post: by
8 posts views Thread by BiNZGi | last post: by
6 posts views Thread by Hacking Bear | last post: by
3 posts views Thread by McKirahan | last post: by
11 posts views Thread by yawnmoth | last post: by
1 post views Thread by psion | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.