GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   XHTML sucks (https://gfy.com/showthread.php?t=671525)

Jakke PNG 10-29-2006 08:51 AM

XHTML sucks
 
Why did they leave out the "height"-tag?
Retards.

StuartD 10-29-2006 08:52 AM

That's what CSS is for :winkwink:

polish_aristocrat 10-29-2006 08:53 AM

heh this thread aitn for me

Jakke PNG 10-29-2006 08:53 AM

Quote:

Originally Posted by StuartD (Post 11182484)
That's what CSS is for :winkwink:

You sure about that? :winkwink:

OG LennyT 10-29-2006 08:56 AM

but they left "width"?

sounds fishy, maybe you typed it wrong

Jakke PNG 10-29-2006 08:58 AM

Quote:

Originally Posted by dvd316 (Post 11182500)
but they left "width"?

sounds fishy, maybe you typed it wrong

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

OG LennyT 10-29-2006 09:00 AM

Quote:

Originally Posted by TeenGodFather (Post 11182511)
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. :)

Have fun

quantum-x 10-29-2006 09:01 AM

Quote:

Originally Posted by TeenGodFather (Post 11182511)
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.

Jakke PNG 10-29-2006 09:04 AM

Quote:

Originally Posted by quantum-x (Post 11182534)
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%}

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?

quantum-x 10-29-2006 09:05 AM

Quote:

Originally Posted by TeenGodFather (Post 11182545)
Not true. Have you tested it?

ie. in styles:
body, html {height:100%;border: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?


no ?

Jakke PNG 10-29-2006 09:06 AM

Quote:

Originally Posted by quantum-x (Post 11182534)
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?

quantum-x 10-29-2006 09:08 AM

Quote:

Originally Posted by TeenGodFather (Post 11182556)
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 :winkwink:

Jakke PNG 10-29-2006 09:13 AM

Quote:

Originally Posted by quantum-x (Post 11182562)
I mean exactly what I said: It works, but not in the way you're trying to use it :winkwink:

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.

dozey 10-29-2006 09:16 AM

can somebody help me with my frameset please?

quantum-x 10-29-2006 09:19 AM

Quote:

Originally Posted by TeenGodFather (Post 11182582)
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 :thumbsup

Jakke PNG 10-29-2006 09:21 AM

Quote:

Originally Posted by quantum-x (Post 11182599)
Only thing lacking here is a google search or a trip to WC3.org :thumbsup

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.

dozey 10-29-2006 09:29 AM

Table = tabular data, not a layout, they aren't intended to provide the behavior you are after.

quantum-x 10-29-2006 09:36 AM

Quote:

Originally Posted by TeenGodFather (Post 11182610)
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 was really hoping YOU were kidding.

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.

dozey 10-29-2006 09:39 AM

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

Jakke PNG 10-29-2006 09:41 AM

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.

quantum-x 10-29-2006 09:41 AM

http://www.ninjito.com/tofu.jpg

Jakke PNG 10-29-2006 09:43 AM

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.

Jakke PNG 10-29-2006 09:44 AM

Quote:

Originally Posted by dozey (Post 11182672)
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. 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.

interracialtoons 10-29-2006 09:45 AM

Quote:

Originally Posted by quantum-x (Post 11182659)
I was really hoping YOU were kidding.

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.


CRUEL OWNAGE!!! :1orglaugh

Jakke PNG 10-29-2006 09:47 AM

Quote:

Originally Posted by interracialtoons (Post 11182693)
CRUEL OWNAGE!!! :1orglaugh

No it's not. It's a page that proves me wrong and I can use that.
No matter how much I'd like to be right every time, I'm not.

quantum-x 10-29-2006 09:47 AM

Oh incidentally, if you Google for "xhtml full height" and hit I'm feeling lucky, it shows a / the solution.

;)

quantum-x 10-29-2006 09:48 AM

Quote:

Originally Posted by TeenGodFather (Post 11182695)
No it's not. It's a page that proves me wrong and I can use that.
No matter how much I'd like to be right every time, I'm not.

Nah, it's ownage.

MaddCaz 10-29-2006 09:49 AM

who nose man...

Jakke PNG 10-29-2006 09:51 AM

Quote:

Originally Posted by quantum-x (Post 11182697)
Nah, it's ownage.

If it makes you feel manly ;)

I actually tried google etc with css xhtml height 100% (not with fullheight).

MaddCaz 10-29-2006 09:57 AM

Boredom does THIS!

quantum-x 10-29-2006 10:24 AM

Quote:

Originally Posted by TeenGodFather (Post 11182704)
If it makes you feel manly ;)

I actually tried google etc with css xhtml height 100% (not with fullheight).


Solutions on the 3rd, 4th and 5th result?

Jakke PNG 10-29-2006 10:32 AM

Quote:

Originally Posted by quantum-x (Post 11182829)
Solutions on the 3rd, 4th and 5th result?

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 :1orglaugh

jayeff 10-29-2006 10:44 AM

Quote:

Originally Posted by TeenGodFather (Post 11182582)
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.

Jakke PNG 10-29-2006 10:46 AM

Quote:

Originally Posted by jayeff (Post 11182908)
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.


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