Page 1 of 2

Pause's Bizarre Behavior

PostPosted: November 21st, 2012, 1:45 pm
by Zorro
Pause being Pause.

typical-pause.png
(80.73 KiB) Downloaded 646 times

Re: Pause's Bizarre Behavior

PostPosted: November 21st, 2012, 7:47 pm
by BlackCat
Cool iframe.

Re: Pause's Bizarre Behavior

PostPosted: November 21st, 2012, 10:31 pm
by Zorro
It's not an iframe. It's a regular HTML element (<dt> to be exact) with a CSS property of "overflow: auto", which creates scrollbars if the content within the element exceeds the element's specified width and/or height. The image (<img />) is placed within the element. Since the image is taller than the element, and since the "overflow:auto" property is set, you get scrollbars. That's all for today, class.

:ugeek:

P.S. iframes and overflow scrollbars won't work as expected on most tablets and mobile devices.

Re: Pause's Bizarre Behavior

PostPosted: November 21st, 2012, 10:48 pm
by BlackCat
Good info. Do a lot of coders use iframes instead of regular HTML elements so that the page doesn't break or mess up?

Re: Pause's Bizarre Behavior

PostPosted: November 23rd, 2012, 3:27 am
by Bullet Magnet
Don't answer. He's makin' porn.

Re: Pause's Bizarre Behavior

PostPosted: November 23rd, 2012, 10:52 am
by BlackCat
lol. It's illegal in my state to profit from porn I think.

Re: Pause's Bizarre Behavior

PostPosted: November 23rd, 2012, 10:40 pm
by Zorro
BlackCat wrote:lol. It's illegal in my state to profit from porn I think.


No, it's illegal to produce (i.e. shoot, film) pornography for commercial purposes in Michigan. California is the only place in the United States where you can legally produce adult film content for commercial purposes, as most other states consider it a form of prostitution.

Re: Pause's Bizarre Behavior

PostPosted: November 24th, 2012, 3:29 am
by Bullet Magnet
They're makin' em wear condoms now.

Re: Pause's Bizarre Behavior

PostPosted: November 24th, 2012, 11:00 am
by Zorro
Yea. Talk about hypocrisy on right and wrong. To make it funnier, the dumb Californians actually voted for it by popular majority. I'm not sure when the law goes into effect but it's quite amusing how stupid those people over on the west coast have become. :lol:

Re: Pause's Bizarre Behavior

PostPosted: November 24th, 2012, 11:11 am
by BlackCat
You seem to be an expert on this topic, Zorro. Is there something we need to know about? ;)