View Single Post
  #3 (permalink)  
Old 19-03-2008, 11:51 AM
nisha's Avatar
nisha nisha is offline
Junior Member
 
Join Date: Mar 2008
Gender: Female
Posts: 32
Default

Quote:
Originally Posted by MickyO View Post
I can't see your css for
q_contact_top_inside
thanks for attempting to have a look into my page
Here i am adding the css for your conveniences

inside.css
Code:
.q_contact_inside {
    width:242px;
    height:226px;
    float: left;
    margin-top: 30px;
    overflow: visible;
}
#q_contact_top_inside {
    width:242px;
    height:8px;
    background-image: url(../images/img_qcontact_top.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    overflow: hidden;
}
#q_contact_main_inside {
    background-image: url(../images/img_qcontact_main_bg.jpg);
    width: 242px;
}
.q_contact_head_inside  {
    font-family: "Trebuchet MS";
    font-size: 16px;
    font-weight: bold;
    color: #862B05;
    background-image: url(../images/img_qcontact_head_icon.jpg);
    background-position: 8px bottom;
    vertical-align: bottom;
    height: 30px;
    width: 220px;
    background-repeat: no-repeat;
    margin-right: 8px;
    margin-left: 8px;
    margin-bottom: auto;
    margin-top: auto;
    padding-top: 5px;
}

#q_contact_bottom_inside  {
    background-image: url(../images/img_qcontact_bottom.jpg);
    background-repeat: no-repeat;
    height: 12px;
    width: 242px;
    background-position: left top;
}

#q_contact_list_inside  {
    width: 215px;
    margin-right: 12px;
    margin-left: 12px;
    height: 160px;
}

from here the code starts for the form

.label {
    width:150px;
    float:left;
    text-align:left;
    padding:2px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #DCC281;
}
.FormInputs {
    border:1px #F1D99A solid;
}
.FormButton {
    background-color:#ECE9D8;
    border:2px #F1D99A outset;
    width:100px;
    padding:3px;
}
.error {
    color:#FF0000;
    font-weight:700;
}
#form_content {
    padding:10px 15px 15px 15px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #DCC281;
}
#form_content h2 {
    color:#836000;
    font-size:12px;
}
.inputbox_newsletter
{
    width: 150px;
    border: 1px solid #E5A708;
    line-height: 20px;
    color: #D39F17;
    font-family: "Trebuchet MS";
    font-size: 11px;
    background-color: #FDF4DE;
    background-repeat: no-repeat;
    margin: 10em;
    text-align: justify;
    vertical-align: middle;
    text-indent: 5px;
 }
 .inputbox_browse
{
    width: 70%;
    border: 1px solid #FCE8CC;
    line-height: 20px;
    color: #AD5029;
    font-family: "Trebuchet MS";
    font-size: 11px;
    background-color: #F4D18D;
    background-repeat: no-repeat;
    margin: 1em;
    text-align: justify;
    vertical-align: middle;
    text-indent: 5px;
 }
 .FormButton1 {
    position: relative;
    bottom: 8px;
    top: 8px;
}

.FormButton2 {
    position: relative;
    bottom: 8px;
    top: 8px;
    left: 8px;
    right: 0px;
}
.FormButton3 {
    position: relative;
    bottom: 8px;
    left: 110px;
    right: 0px;
    visibility: visible;
}
.inputbox_qcontact
{
    width: 150px;
    border: 1px solid #C79942;
    line-height: 20px;
    color: #CA7327;
    font-family: "Trebuchet MS";
    font-size: 11px;
    background-color: #FEE9BD;
    background-repeat: no-repeat;
    margin: 1em;
    text-align: justify;
    vertical-align: middle;
    text-indent: 5px;
 }
just gave u the code for the block

and here is the html for the block
HTML Code:
  
              <div class="q_contact_inside">
                 <div id="q_contact_top_inside"></div>
                    <div id="q_contact_main_inside">
                        <div class="q_contact_head_inside">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Quick Contact</div>
                           <div id="q_contact_list_inside">
                         
                  <form id=“loginForm” name=“loginForm” style="overflow:hidden; float:left">
                  <input name=name type=“text” class="inputbox_qcontact" id="name" value="Name"  onfocus="this.value='';" onblur="if (this.value=='') {this.value=' Name';}" />
                   <input name=email type=“text” class="inputbox_qcontact" id="email" value="Enter Email ID Here"  onfocus="this.value='';" onblur="if (this.value=='') {this.value=' Enter Email ID Here';}" />
                   <textarea name="Message" cols="20" class="inputbox_qcontact" id="Message" onFocus="this.value='';" onBlur="if (this.value=='') {this.value=' Message';}">Message</textarea>
                  <input type="image" src="images/img_qcontact_send_btn.jpg" name="Submit" value="Submit" alt="Submit" class="FormButton3">
                  </form>        
                 
                        
                      </div>

hope this will help u in giving me suggestions to fix my problems
in my code.

Also suggest me some good reference on making forms with css codes
or any tutorials on this topic.

Help appreciated.
Reply With Quote