generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: td height isn't responding to 100% in html?

Previous Thread :: Next Thread 
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 05:50 PM
just a snip-it of my code trying to make the sidebar black and it won't respond to my 100% but when I put a pixel value it works?

table style="width:33%"
tr
td height="100%" bgcolor="000000"
/td
/tr
/table

I DO HAVE <> AROUND ALL LINES BUT ROBLOX WON'T LET ME POST IT LIKE THAT
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 05:52 PM
bump of epic web design
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 05:56 PM
b
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 05:59 PM
Come on, one of you must know html...
Report Abuse
LuaLlama is not online. LuaLlama
Joined: 25 Jan 2014
Total Posts: 1123
18 Feb 2015 06:06 PM
I have VERY LITTLE knowledge in this area of coding, sorry i can't help :C
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 06:09 PM
Thank you for at least acknowledging me :P
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
18 Feb 2015 06:23 PM
If this is HTML5 then the height attribute of td isn't supported. You should use CSS instead.
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 06:32 PM
I hate HTML5 with all my heart. All browsers still support HTML4, so I never specified which I'm using. It assumes it's HTML4, right? I declared the DOCTYPE as flat up html

It should work, right?
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 06:33 PM
And I KNOW that's not the issue, because if I replace 100% with a pixel value, say 1000 it works.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
18 Feb 2015 06:35 PM
> I declared the DOCTYPE as flat up html

You mean like [!DOCTYPE html]? That's html5.

By the way, 5 isn't fully out yet, so varying support for it isn't a legitimate reason to hate it. In a few years, all browsers will fully support it and it will be the default.
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 06:36 PM
I hate it because I don't feel like learning CSS, lmao. But the width attribute works for the table, and it's not a problem of HTML5 because if I changed it to td height="1000" it works...
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 06:40 PM
osht i didn't even realize I used css to define the table width...
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
18 Feb 2015 06:41 PM
Try adding this attribute

style="height:100%;"
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 06:42 PM
I don't understand why this isn't working, I tried yours too. The width is working fine, but the height is like 2px
Report Abuse
FrostyFires is not online. FrostyFires
Joined: 11 Jul 2013
Total Posts: 272
18 Feb 2015 10:39 PM
I got it, I had to set the bounds of both of it's parents, html and body to 100% height as well.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image