What in the world is going on here...

Discussion in 'Programming' started by eruct, Apr 1, 2008.

  1. #1
    Can anyone tell me how this website works? I thought I knew a bit about coding but this totally throws me off.

    I really would like to know how it works. How are people able to signup and post with what little code there is?

    *Warning* There is adult and offensive language on some posts so be warned if you visit *Warning*

    http://www.poopface.com/

    If you don't wish to visit, here is what is throwing me off. This is all the code that is in the head of their site:
    <html>
    <head>
    	<title>PoopFace ~ Tell the HATERS to **** off.</title>
    	<style type="text/css" media="all">
    	/* <![CDATA[ */
    		body {margin:20px;padding:0px;}
    		body,td,input,textarea,select {font-family:Verdana;font-size:11px;}
    		.inputerror{color:#cc0000;}
    		#footer{padding-top:15px;margin-top:15px;border-top:1px solid #cccccc;}
    		img{border:0px;}
    		.content{margin-top:15px;margin-left:20px;width:550px;}
    		h2{font-weight:normal;}
    		.post{
    			padding-bottom:15px;margin-bottom:15px;border-bottom:1px solid #cccccc;
    		}
    		#argument{
    			margin-bottom:15px;border-bottom:1px solid #cccccc;
    		}
    		.postby{color:#888888;font-size:9px;margin-bottom:4px;}
    		.postbody{font-size:12px;}
    		.postadmin{
    			font-size:9px;
    			color:#AAAAAA;
    			padding-bottom:5px;
    		}
    		.Red{color:#dd3333;}
    		.Blue{color:#3333dd;}
    		form{margin:0px;padding:0px;}
    		#threadlisttitles td {font-size:9px;}
    		a {color:#BC2929;}
    		a:hover {background-color:#BC2929;color:#ffffff;}
    		.warnings{
    			padding:10px;
    			background-color:#ffffcc;
    			color:#990000;
    			font-size:12px;
    			margin-bottom:15px;
    		}
    	/* ]]> */
    	</style>
    </head>
    Code (markup):
    The rest just appears to be a div with a table inside... What am I missing?
     
    eruct, Apr 1, 2008 IP
  2. milesbparty

    milesbparty Peon

    Messages:
    148
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The code that you're listing is just the css.

    You would have to see the code that is running behind the scenes to figure out how it's working. You won't be able to get that from just the html and css.
     
    milesbparty, Apr 1, 2008 IP
  3. eruct

    eruct Well-Known Member

    Messages:
    1,189
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Right, but shouldn't there be some code somewhere that says it is calling in some sort of script other than the css or whatever?
     
    eruct, Apr 1, 2008 IP
  4. milesbparty

    milesbparty Peon

    Messages:
    148
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well, when you click on the "Got a Beef, Post it Here" link, it links to /post. There's probably an index page (index.php, index.asp, etc.) there that runs.
     
    milesbparty, Apr 2, 2008 IP