Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to cut off data

Status
Not open for further replies.

timgerr

IS-IT--Management
Jan 22, 2004
364
US
I have a question for ya, I have this css code that I need to use because I am creating a drag and drop box. Here is the code:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
	<head>
		<style type="text/css">		
		.box {		  
		  background-color: #ffff00;
		  border: 1px solid #000000;
		  border-bottom: 5px solid #000000;
		  border-right:  5px solid #000000;
		  color: #000000;
		  padding: 0px;
		  position: absolute;
		}		
		.bar {
		  background-color: #008080;
		  color: #ffffff;
		  font-weight: bold;
		  padding: 2px 1em 2px 1em;		
		}		
		.content {
		  padding: 1em;
		}		
		</style>
	</head>
	<body>
		<div class="box">
		<div class="bar">This is the bar</div>
			Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla
			Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla
			Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla
			Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla 
		</div>
	</body>
</html>
This looks like this
Code:
---------------------------------------------------------
|                                                       |
---------------------------------------------------------                            
|                                                       |
|                                                       |
|                                                       |
|                                                       |
|                                                       |
|                                                       |
---------------------------------------------------------
and in the tool bar (.bar) I want to add a little .gif file that will syomble a close button (X} to look like this
Code:
---------------------------------------------------------
|                                                      X|
---------------------------------------------------------                            
|                                                       |
|                                                       |
|                                                       |
|                                                       |
|                                                       |
|                                                       |
---------------------------------------------------------
How can I do this? Remember, this is a dragable window so what I do will need to be able to move with the container .box.

thanks,
-T

-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!
 
Shoot I forgot to change the subject.

-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top