|
| 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 |
|
|
| |
|
| |
|
|
| 18 Feb 2015 05:59 PM |
| Come on, one of you must know html... |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 18 Feb 2015 06:09 PM |
| Thank you for at least acknowledging me :P |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 18 Feb 2015 06:40 PM |
| osht i didn't even realize I used css to define the table width... |
|
|
| Report Abuse |
|
|
|
| 18 Feb 2015 06:41 PM |
Try adding this attribute
style="height:100%;" |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|