Purchase Advertising On AWT
 Upload & Sell Your Software
 Upload & Sell Your eBook
 Enter The AWT Control Panel  Contact Applied Web Tools
 Sell Your eBook @ The Book Store  Password Troubles? Click Here!
Knowledge Center
Want to write for Applied Web Tools? Send your Writer's Query to
Editor@AppliedWebTools.net for details.
HTML
Reference
&
Tutorial
CSS
Reference
&
Tutorial
DOM
Reference
&
Tutorial
JavaScript
Reference
&
Tutorial
50+ Programming Examples
Use HTML, CSS, DOM & JavaScript Together
Misc. Essays & Documents
You'll Find Just About Anything In Here
50+ Web Page Constructions
Learn the Art of Using HTML, CSS, DOM & JavaScript Together
 Changing Background Colors
 Event Triggering With onLoad
 Disabling The Right Click
 DOM Driven Color Changing
 Switching Images
 innerHTML Attribute Access
 Change With innerHTML
 Changing Positions
 Change Position With onMouseMove
 Change Text Position
 Interactivity Skills
 Type-writing A Message
 Auto-changing Text Size
 Making Text Scroll
 Blinking Text
 Simple Form Authentication
 Change Background Color Of An INPUT
 Change Text Color Of An INPUT
 Change Background Image Of An INPUT
 Select All Checkboxes
 Select Color Of The Submit Button
 Change Text Color Of A Submit Button
 Insert Background Image To A Button
 Change Color Of Drop Down List
 Change Text Color Of A Drop Down List
 Change Color Of A TEXTAREA
 Change The Text Color Of A TEXTAREA
 Insert An Image Into A TEXTAREA
 Change The Size Of An Image
 Change The Source Of An Image
 Change The Position Of An Image
 Change The Background Image
 Moving Images Around The Page
 Drag & Drop An Image
 A Simple Image Viewer
 A Shaking Image
 A Digital Clock
 Drop Down List Link
 Top Drop Down Menu
 Always On Top Menu
 Inset Border Buttons
 A Description Generating Menu
 An Image Generating Menu
 A Horizontal Sliding Menu
 A Click Horizontal Sliding Menu
 Returning Cursor Co-ordinates
 Making Text Follow The Cursor
 Attaching An Image To The Cursor
inset or outset border buttons

So when you’ve learned to use bulleted lists, you were introduced to the concept of inset and outset placed buttons. Each bulleted item is placed in relation to the beginning location of the UL or OL tag. Each list item is then stated with an LI tag. Inset bullets are set to the right of the starting location specified by the OL or UL tag. Outset bullets are further to the left.

The style.borderStyle attribute works the same way. You are able to position the border in an inset or outset styled display. The easiest way to understand this is to simply run the script given below.

<html>
<head>

<script type="text/javascript">
function inset(elmnt) {
elmnt.style.borderStyle="inset";
}

function outset(elmnt) {
elmnt.style.borderStyle="outset";
}
</script>

<style>
td {
background:C0C0C0;
border:2px outset;
}

</style>

</head>

<body>

<table width="80">
<tr>
<td onmouseover="inset(this)" onmouseout="outset(this)">Item One</td>
</tr><tr>
<td onmouseover="inset(this)" onmouseout="outset(this)”>Item Two</td>
</tr><tr>
<td onmouseover="inset(this)" onmouseout="outset(this)”>Item Three</td>
</tr><tr>
<td onmouseover="inset(this)" onmouseout="outset(this)”>Item Four</td>
</tr>
</table>

</body>
</html>


We used the onMouseOver and onMouseOut to trigger the different border styles. You don’t have to go back to the original style, however, and can adjust the bordering styles as needed. A good example of this is to create a display of the sections of a document the user has read or reviewed. When they’re finished reviewing the entire document, all of the border styles will be the same, letting them know in an easy way that they’re finished what they started.
I do not employ cookies or tracking devices of any kind