Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

Dan Berlyoung

« Newer Snippets
Older Snippets »
2 total  XML / RSS feed 

US States Pop-up

Simply a pop-up form element of all 50 US States. Save you creating your own.

            <select name="state">
              <option value="" selected="selected">Select a state...option>
              /option>
              <option value="AK">Alaskaoption>
              /option>
              <option value="AR">Arkansasoption>
              /option>
              <option value="CO">Coloradooption>
              /option>
              <option value="DC">District of Columbiaoption>
              /option>
              <option value="FL">Floridaoption>
              /option>
              <option value="HI">Hawaiioption>
              /option>
              <option value="IL">Illinoisoption>
              /option>
              <option value="IA">Iowaoption>
              /option>
              <option value="KY">Kentuckyoption>
              /option>
              <option value="ME">Maineoption>
              /option>
              <option value="MA">Massachusettsoption>
              /option>
              <option value="MN">Minnesotaoption>
              /option>
              <option value="MO">Missourioption>
              /option>
              <option value="NE">Nebraskaoption>
              /option>
              <option value="NH">New Hampshireoption>
              /option>
              <option value="NM">New Mexicooption>
              /option>
              <option value="NC">North Carolinaoption>
              /option>
              <option value="OH">Ohiooption>
              /option>
              <option value="OR">Oregonoption>
              /option>
              <option value="RI">Rhode Islandoption>
              /option>
              <option value="SD">South Dakotaoption>
              /option>
              <option value="TX">Texasoption>
              /option>
              <option value="VT">Vermontoption>
              /option>
              <option value="WA">Washingtonoption>
              /option>
              <option value="WI">Wisconsinoption>
              /option>
            select>

Center something vert. and horz. in a web page using CSS

Here's how to center anything vertically and horizontally in a web page using CSS. Works with most all browsers that support CSS.

I adapted this from Jak psåt web, thanks!

<html>
        <head>
                <title>Center w/ CSStitle>
                
        
        
                
"outer">
"middle">
"inner"> your stuff here in center of page
« Newer Snippets
Older Snippets »
2 total  XML / RSS feed