Welcome to WebmasterWorld Guest from 54.221.9.209

Forum Moderators: not2easy

Message Too Old, No Replies

Css Foo

Silliness from the CSS Crew

     
10:35 pm on May 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 4, 2002
posts:5044
votes: 0


Well, due to the huge amount of enthusiasm for the CSS Forum I'm proud to announce that we now need a thread to contain our silliness.

Rants, Raves, and general Dribblings from the CSS guys and girls here please ;-)

Nick

[edited by: Nick_W at 10:37 pm (utc) on May 3, 2003]

3:28 pm on Apr 29, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:May 9, 2001
posts:416
votes: 0


Be the style sheet.
4:00 pm on Apr 29, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 4, 2002
posts:5044
votes: 0


>Be the style sheet.

Ok, that wins it hands down!
ROFLMAO ;);)

Quote of the Month Award
hehehehe

Nick

9:33 am on May 1, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 25, 2003
posts:73
votes: 0


Be the stylesheet, I like it too.

Starsailor, thanks for the code. It works!

3:56 pm on May 1, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 13, 2003
posts:80
votes: 0


"Be the stylesheet" needs to be on someones coffee mug and join that other thread!

Sell it and I will buy!

Dian :)

11:07 am on May 3, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:May 3, 2003
posts:159
votes: 0


I also was looking into this issue for some time and I think it isn't possible with CSS alone. Though it could definitely be solved with a JavaScript snippet resizing the block that contains these floats.
5:58 pm on May 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 31, 2001
posts:1238
votes: 0


Lest not we forget my stearn admonishment to all webmaster's not yet weaned from the teat of NN4.x compatability: "This ain't your Mama's CSS!" - papabaer ;)
6:19 pm on May 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
posts:6807
votes: 0


ROFLMAO

I've got another one for you, Nick...

ROTFASTC

Rolling On The Floor And Scaring The Cat ;)

8:08 pm on May 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 4, 2002
posts:5044
votes: 0


>Scaring

Sheeesh Doc, you know my eyes ain't so hot, that nearly gave me a heart attack at first glance! hehehehehe ;)

Nick

9:38 pm on May 3, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:May 9, 2001
posts:416
votes: 0


Did you say you live in Sweden Nick?
9:40 pm on May 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 4, 2002
posts:5044
votes: 0


Denmark ;-)

Nick

9:45 pm on May 3, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:May 9, 2001
posts:416
votes: 0


That's not that far north.

Actually I really don't know what my point was in that last post.

Going now.

t

11:27 pm on May 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 4, 2002
posts:5044
votes: 0


Aw.. and I thought there was some weird thing that I couldn't fathom there. You take all the fun out toadhall! ;)

Nick

11:43 pm on May 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
posts:6807
votes: 0


I used to live in Sweden

...but then I heard that Nick lived in Denmark, so I moved ;)

11:45 pm on May 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 4, 2002
posts:5044
votes: 0


Tal som billied! er... I'd be surprised if any scandy could read that! - Means: Talk about cheap! ;)

Nick

11:59 pm on May 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
posts:6807
votes: 0


<html>
<head>
<title>CSS Foo</title>
<style type="text/css">
#foo {
background: red;
float: left;
position: absolute;
top: 50%;
left: 50%;
}
</style>
</head>
<body>
<div id="foo"></div>
<script type="text/javascript">
window.setInterval("foobar()",100);
function foobar() {
rand = Math.random()*200;
document.getElementById('foo').style.height = rand + "px";
document.getElementById('foo').style.width = rand + "px";
document.getElementById('foo').style.marginTop = "-" + (rand/2) + "px";
document.getElementById('foo').style.marginLeft = "-" + (rand/2) + "px";
}
foobar();
</script>
</body>
</html>
12:03 am on May 4, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:May 9, 2001
posts:416
votes: 0


"Yes master"

"I am in your power master"

12:28 am on May 4, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 26, 2001
posts:1422
votes: 0


oh great, geek humour. All the reason I suppose to start frequenting the css forum. Who knows, I may learn something. :)
1:36 am on May 4, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Mar 5, 2003
posts:636
votes: 0


My style sheet isn't busted. All those browsers are.
1:52 am on May 4, 2003 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 27, 2001
posts:12166
votes: 51


What the heck is a <font> tag? And why doesn't NN4.x render my pages correctly?
4:35 am on May 4, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 31, 2001
posts:1238
votes: 0


  • ...position THIS!
  • CSS Lovers do it with Style!
  • We've got Class, Style and all the best Positions...
  • wanna :hover?
  • :active or just :visited?
  • :focus is good!
  • 4:44 am on May 4, 2003 (gmt 0)

    Senior Member from US 

    WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

    joined:Apr 27, 2001
    posts:12166
    votes: 51


    We do it with <style>!
    5:15 am on May 4, 2003 (gmt 0)

    Senior Member

    WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

    joined:Mar 15, 2002
    posts:6807
    votes: 0


    <shakes head>
    This is getting scary ;)