No fiddle
Results 1 to 3 of 3

Thread: No fiddle

  1. #1
    Senior Member
    Join Date
    Sep 2012
    Posts
    269

    Exclamation No fiddle

    This code doesn't work in my script. It does not work at JSFiddle. This is the source code from Safari:

    HTML Code:
    <head>
    
    <link rel="stylesheet" type="text/css" href="dispatch.css">
     <style>
    generic {
    	width: 225;
    	height: 32px;
    	margin:auto;
    	text-align:center;
    	font:18px/18px Helvetica, sans-serif;
    	color:blue;
    	line-height: 24px;
    	font-size:14px;
    	font-weight:900;
    }
    
    </style>
    
    <title>Processing Request</title>
    </head>
    
    <body>
    </body>
    </html>
    
    <div class="generic">Sulphur Springs, TX<br></div>
    what simple thing is this neophyte overlooking?

  2. #2
    Senior Member
    Join Date
    Mar 2009
    Posts
    809
    What does "doesn't work" mean? I am slightly puzzled as to why you have a link to an external style sheet but also decided to write internal CSS.

    One thing I notice is that you forgot the unit of measurement on the height (I assume you intended to put "px").
    Declare variables, not war.

  3. #3
    Senior Member
    Join Date
    Sep 2012
    Posts
    269
    even simpler -- I forgot to put the "dot" in front of the style name.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •