![]() |
XHTML sucks
Why did they leave out the "height"-tag?
Retards. |
That's what CSS is for :winkwink:
|
heh this thread aitn for me
|
Quote:
|
but they left "width"?
sounds fishy, maybe you typed it wrong |
Quote:
which kinda sucks. Now I'm back to using HTML :P |
Quote:
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. :) Have fun |
Quote:
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. |
Quote:
ie. in styles: body, html {height:100%;margin:0px} table.lala {height:100%} in xhtml document: <html> <body> <table cellspacing="0" cellpadding="0" class="lala"> <tr><td></td></tr> </table> </body> </html> ..and you claim that'd work? |
Quote:
no ? |
Quote:
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? |
Quote:
|
Quote:
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. |
can somebody help me with my frameset please?
|
Quote:
|
Quote:
You can't make valid XHTML + valid CSS and get a table spanning 100% of the document size. |
Table = tabular data, not a layout, they aren't intended to provide the behavior you are after.
|
Quote:
http://www.ninjito.com/ohyes.html http://validator.w3.org/check?uri=ht...2Fohyes.htm l Wow, a full height table in valid XHTML. Who would have thought. |
I asked you to help with my frameset, not create a table spanning the height of a page in valid xhtml....
loser. http://www.halcy0n.com/images/icon_xhtml.jpg |
Lol. Wtf?
Nice.. however I'm fucking baffled. as I've tried pretty much the exact same thing and I just couldn't make the bitch work. |
|
Lol. Wtf?
Nice.. however I'm fucking baffled. as I've tried pretty much the exact same thing and I just couldn't make the bitch work. |
Quote:
See, I didn't even ask for help. I just said it didn't work, and someone proved me wrong = I got help. |
Quote:
CRUEL OWNAGE!!! :1orglaugh |
Quote:
No matter how much I'd like to be right every time, I'm not. |
Oh incidentally, if you Google for "xhtml full height" and hit I'm feeling lucky, it shows a / the solution.
;) |
Quote:
|
who nose man...
|
Quote:
I actually tried google etc with css xhtml height 100% (not with fullheight). |
Boredom does THIS!
|
Quote:
Solutions on the 3rd, 4th and 5th result? |
Quote:
|
Quote:
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. |
Quote:
|
| All times are GMT -7. The time now is 05:35 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123