Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-12-2012, 11:33 PM   PM User | #1
blinnw
New to the CF scene

 
Join Date: Feb 2012
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
blinnw is an unknown quantity at this point
Background image + border for form field is badly misaligned

The grey outline on the input fields of contact form on this page is badly misaligned.
http://reputationadvocate.com/about-us/

It is the blue box "Get Help Now" - here:
The grey outline should align exactly with the edges of the white background.

I found this code in style sheets but do not see another place where code relating to this issue might reside. This is a custom Wordpress site.

Thanks in advance for your help!


#right .gform_body ul, #firststeps .gform_body ul{
margin: 0px;
list-style: none;
}

#right .gfield_label, #firststeps .gfield_label{
display: none;
}

#right .gfield input, #firststeps .gfield input{
width: 229px;
height: 37px;
background-image: url(images/form_field.jpg);
border: 0px !important;
margin-bottom: 20px;
font-size: 16px;
padding-left: 10px;
color: #838383;
text-transform: uppercase;
}

#right .gform_button, #firststeps .gform_button{
background-color: #5074b2;
color: white;
padding: 5px 10px;
margin-bottom: 15px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 0px;
font-size: 15px;
text-transform: uppercase;
font-weight: bold;
}

#right .gform_edit_link, #firststeps .gform_edit_link{
display: none;
}

a{
outline: 0px !important;
}
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-02-12 at 5.32.25 PM.png
Views:	47
Size:	27.3 KB
ID:	10834  
blinnw is offline   Reply With Quote
Old 02-12-2012, 11:47 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello blinnw,
Maybe this will help -
Code:
#right .gfield input, #firststeps .gfield input {
    background: url("images/form_field.jpg") no-repeat;
    border: 0 none !important;
    color: #838383;
    font-size: 16px;
    height: 37px;
    margin-bottom: 20px;
    padding-left: 10px;
    text-transform: uppercase;
    width: 229px;
}
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 02-13-2012, 12:24 AM   PM User | #3
blinnw
New to the CF scene

 
Join Date: Feb 2012
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
blinnw is an unknown quantity at this point
Excavator,
Thanks very much for your response - I did try this but it doesn't seem to work, even after clearing cache. Is there another spot I could insert the no-repeat?
blinnw is offline   Reply With Quote
Old 02-13-2012, 01:18 AM   PM User | #4
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
I don't see that the CSS has changed at all. Can you upload your current version?
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 02-13-2012, 08:05 PM   PM User | #5
blinnw
New to the CF scene

 
Join Date: Feb 2012
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
blinnw is an unknown quantity at this point
Oh, sorry- after it didn't work I reverted to the original code. It's now updated to the code you suggested. Thanks...do you see anything now?
blinnw is offline   Reply With Quote
Old 02-13-2012, 08:43 PM   PM User | #6
blinnw
New to the CF scene

 
Join Date: Feb 2012
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
blinnw is an unknown quantity at this point
Excavator- here is also the code for the sidebar.php

<div class="col omega">
<?php if ( ! is_page('16') && ! is_page('312') && ! is_page('319') ) { ?>
<div id="firststeps">


<h2><span style="text-decoration: none; color: #236cb4;"> Get Help Now.</span></a></h2>
<p style= "font-size: 11pt; line-height:150%">Request your free consultation.</p>
<?php
$recentPosts = new WP_Query();
$recentPosts->query('page_id=29');
?>
<?php while ($recentPosts->have_posts()) : $recentPosts->the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
<p>We promise to never sell your information to anyone. View our <a href="/contact-2/privacy-policy/" TARGET="_blank">Privacy Policy</a>.</p>

</div>
<?php } else { ?>
blinnw is offline   Reply With Quote
Old 02-13-2012, 10:44 PM   PM User | #7
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Quote:
Originally Posted by blinnw View Post
Oh, sorry- after it didn't work I reverted to the original code. It's now updated to the code you suggested. Thanks...do you see anything now?
It looks to have fixed the issue with your Name/Email/Phone buttons. If you are still seeing the problem, probably in IE, refresh your browser and see if that shows you the current version.

You should have a look at some easily correctable errors in your code. See the 66 errors the validator comes up with. See the links about validation in my signature line below.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Users who have thanked Excavator for this post:
blinnw (02-19-2012)
Old 02-19-2012, 08:39 PM   PM User | #8
blinnw
New to the CF scene

 
Join Date: Feb 2012
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
blinnw is an unknown quantity at this point
Excavator- thank you very much for your help!
I will also take a look at the 66 errors you mentioned...

This is what ended up working:

#right .gfield input, #firststeps .gfield input {
background: url(images/form_field.jpg); background-repeat: no-repeat;
border: 0 none !important;
color: #838383;
font-size: 16px;
height: 37px;
margin-bottom: 20px;
padding-left: 10px;
text-transform: uppercase;
width: 229px;
}
blinnw is offline   Reply With Quote
Reply

Bookmarks

Tags
contact form, css, style sheets

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:42 AM.


Advertisement
Log in to turn off these ads.