say i have and index file that looks like this
[code]<div id=”main_box”>
<div id=”label_15p”>Name:</div>
<div id=”box_35p”><INPUT type=”text” id=”name” style=width:100%></div></div>
and i have a css file that looks like this
[code]#main_box {
width: 100%;
float: left;
margin-bottom: 10px;
}
#label_15p {
color: rgb(0,0,180);
text-align: right;
width: 14%;
float: left;
padding-right: 1%;
}
#box_35p {
float: left;
width: 35%;
}
What can I do to add a small icon to the right of the textbox? I have the icon (it is a png from FAM FAM silk…)Everything I do, just gives me a normal text followed by textbox. The icon never shows up.
Then, if I might ask a followup question, how do i effect that icon from the javascript area?
[code]<script type=”text/javascript”>
//blah blah
</script>