Member Panel


Sponsors and Ads

Live Tag Cloud

PC Forum PC Help Forum » Web & Networking » Web Design » HTML and Javascript

Web Design - HTML and Javascript posted in the Web & Networking forums; I need to set the height of a <td> to (screen.height-500). This doesnt seem to work: <td height="javascript screen.height-500)"> Neither does this: <script language="javascript"> document.TB1.TB2.TD1.height=(screen.height-500) </script> Anyone know how to ...

JOIN US NOW to remove these Ads

PC Help Forum, the number one FREE computer support website in the search engines
Post New Thread  Reply
  #1  
Old 03-07-2006
Ge64's Avatar
P C H F R 0 0 l Z
 
Join Date: Oct 2005
Location: Hong Kong
Posts: 232
PC Experience: Good at least
Ge64 - See this Members User comments on their Profile page
Send a message via MSN to Ge64
Default HTML and Javascript

I need to set the height of a <td> to (screen.height-500). This doesnt seem to work:

<td height="javascriptscreen.height-500)">

Neither does this:

<script language="javascript">
document.TB1.TB2.TD1.height=(screen.height-500)
</script>

Anyone know how to do this?


__________________
PCHF RoX ur SoX
:computer1
PC SmAsH0R
  #2  
Old 04-08-2006
MLS's Avatar
MLS MLS is offline
Bronze Member
My PC
 
Join Date: Apr 2006
Posts: 19
MLS - See this Members User comments on their Profile page
Default

Why are you using javascript? Simply use:
Code:
<td height="500"></td>
Are you using tables to make a website?



Reply
New! Norton Internet Security 2008 – Download Now Click Here

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT +1. The time now is 02:34 PM.
Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC7
All Graphics & Content Copyright © 2004-2008 - PC Help Forum.com


Back to Top