No. I mean, height does work with css. (like height:320px) BUT height:100% does NOT work. ie. the percentages no longer work with css or XHTML.
which kinda sucks. Now I'm back to using HTML :P
No. I mean, height does work with css. (like height:320px) BUT height:100% does NOT work. ie. the percentages no longer work with css or XHTML.
which kinda sucks. Now I'm back to using HTML :P
LOL.. OK got ya
Yep, I find myself going 'old school' HTML quite often. Good thing I learned all that code by manually typing it in notepad for all those projects.
No. I mean, height does work with css. (like height:320px) BUT height:100% does NOT work. ie. the percentages no longer work with css or XHTML.
which kinda sucks. Now I'm back to using HTML :P
No, it works, but it works differently to how you're probably trying to use it.
height: 100% will make it the height of its element/parent element, not cause it to fill the entire page or some empty area that height="100%" in a table would, for example.
No, it works, but it works differently to how you're probably trying to use it.
height: 100% will make it the height of its element/parent element, not cause it to fill the entire page or some empty area that height="100%" in a table would, for example.
Not true. Have you tested it?
ie. in styles:
body, html {height:100%;margin:0px}
table.lala {height:100%}
No, it works, but it works differently to how you're probably trying to use it.
height: 100% will make it the height of its element/parent element, not cause it to fill the entire page or some empty area that height="100%" in a table would, for example.
or do you mean that because there's nothing to fill with 'table' tag in my above statement that's the reason it doesn't fill the screen? Well, no shit. In other words it doesn't work.
I specified the body to have 0 margin = screen full of emptiness to be filled, so why doesn't the table height 100% fill it? Since body is basically the parent-tag of table, no?
or do you mean that because there's nothing to fill with 'table' tag in my above statement that's the reason it doesn't fill the screen? Well, no shit. In other words it doesn't work.
I specified the body to have 0 margin = screen full of emptiness to be filled, so why doesn't the table height 100% fill it?
I mean exactly what I said: It works, but not in the way you're trying to use it
I mean exactly what I said: It works, but not in the way you're trying to use it
Well, it doesn't work then.
OR, let me know how I can make a table span the length of a screen regardless of the resolution. If you can't tell me that, then CSS+XHTML is lacking.
Well, it doesn't work then.
OR, let me know how I can make a table span the length of a screen regardless of the resolution. If you can't tell me that, then CSS+XHTML is lacking.
Only thing lacking here is a google search or a trip to WC3.org
Only thing lacking here is a google search or a trip to WC3.org
I hope you're kidding.. as if I haven't checked both. I can only assume you *think* you can make it work, but I'd like to see.. as it doesn't.
You can't make valid XHTML + valid CSS and get a table spanning 100% of the document size.
I hope you're kidding.. as if I haven't checked both. I can only assume you *think* you can make it work, but I'd like to see.. as it doesn't.
You can't make valid XHTML + valid CSS and get a table spanning 100% of the document size.
I asked you to help with my frameset, not create a table spanning the height of a page in valid xhtml....
loser.
Lol. Start your own thread about it, maybe someone would help.
See, I didn't even ask for help. I just said it didn't work, and someone proved me wrong = I got help.
Nothing that actually worked. No idea why really. I tried quite a few times, the only reason I can come up with now in retrospect is that I had a typo somewhere. I was getting fucking fed-up with fucking around it, so I changed to html
Well, it doesn't work then.
OR, let me know how I can make a table span the length of a screen regardless of the resolution. If you can't tell me that, then CSS+XHTML is lacking.
Misunderstanding #1:
In terms of what your browser does with the code, XHTML is treated exactly the same as plain HTML, so a problem you are having in XHTML will not go away simply because you switch to HTML. If a switch to HTML appeared to cure it, you made some other change too or perhaps changed something else when you switched doctypes.
Misunderstanding #2:
Height works perfectly well, but if you quote a height as a %age, logic should have you asking "100% of what?". That's what a browser asks when it comes upon your instruction, so if the block you want to be 100% of something does not sit inside another block, not unreasonably, browsers treat the viewport (ie the visible area of the screen) as the container.
Anyway, whether that question occurred to you or not, the answer to it provides the basis for the various solutions people have already pointed you to.
Misunderstanding #1:
In terms of what your browser does with the code, XHTML is treated exactly the same as plain HTML, so a problem you are having in XHTML will not go away simply because you switch to HTML. If a switch to HTML appeared to cure it, you made some other change too or perhaps changed something else when you switched doctypes.
Funnily enough it worked as is after I switched to HTML transitional in the doctype. In opera, firefox and IE. Good enough for me.
Comment