Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////////////
- // borders.html contents:
- ///////////////////////////
- <HTML>
- <head>
- <link rel="stylesheet" type="text/css" href="stylesheet.css" />
- </head>
- <body>
- <button type="button" class="style" onClick="window.location='http://stackoverflow.com/'">This is a button</button>
- <div class="style">This is some text in a div</div>
- <textarea ROWS=5 class="style">This is a text area</textarea>
- </body>
- </HTML>
- ///////////////////////////
- // stylesheet.css contents:
- ///////////////////////////
- .style{
- text-align: center;
- display: block;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 1px;
- width: 50%;
- border: solid 5px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement