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 12-23-2012, 10:37 AM   PM User | #1
GeoFunk
New to the CF scene

 
Join Date: Dec 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
GeoFunk is an unknown quantity at this point
Need help positioning elements in an Opt-In form in a word press widget

I hope this makes sense, as I'm not a programmer, but just someone who's been googling a lot and learning along the way...

What I'm trying to do is position the email box in an opt-in form and this is what I've done so far and the results:

what I have in the widget:

<div class="optinform">
<div align="right">
<script type="text/javascript" src="http://app.getresponse.com/view_webform.js?wid=######">
</script>
</div></div>

what I have in my style.css:


.optinform {
background: url(http://website.com/wp-content/upload.../12/optin2.png) no-repeat;
height: 262px;
width: 430px;
color: #ffffff;
font-size: 16px;
font-weight: bold;
}


And this is the result:



I want to find a way to get the email input box down below the arrows...

Any help is greatly appreciated!!

Thanks,
George
GeoFunk is offline   Reply With Quote
Old 12-23-2012, 02:40 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,376
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
I don't see a div that contains the email: box or the submit button unless they're generated by the js, but I'd use padding-top: on it to force the contents toward the bottom.
sunfighter is online now   Reply With Quote
Users who have thanked sunfighter for this post:
GeoFunk (01-07-2013)
Old 01-07-2013, 07:56 AM   PM User | #3
GeoFunk
New to the CF scene

 
Join Date: Dec 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
GeoFunk is an unknown quantity at this point
Quote:
Originally Posted by sunfighter View Post
I don't see a div that contains the email: box or the submit button unless they're generated by the js, but I'd use padding-top: on it to force the contents toward the bottom.
I believe those are in the js. What code exactly would you put in padding-top: ?
I really don't know how to come up with code myself, I cut and paste based on searches I've done. Can you tell me what code to put and where?
GeoFunk is offline   Reply With Quote
Old 01-07-2013, 01:34 PM   PM User | #4
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,376
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
First, I think you should stop cutting and pasting and learn how to code. Learn HTML and CSS for starters. You are lost at a very easy place and the road is only going to get harder. HTML http://www.w3schools.com/html/default.asp Then here http://www.w3schools.com/html/html5_intro.asp
CSS http://www.w3schools.com/css/default.asp then here http://www.w3schools.com/css3/default.asp

For the answer to your last question look here http://www.w3schools.com/css/css_padding.asp
sunfighter is online now   Reply With Quote
Old 01-16-2013, 11:18 PM   PM User | #5
GeoFunk
New to the CF scene

 
Join Date: Dec 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
GeoFunk is an unknown quantity at this point
Quote:
Originally Posted by sunfighter View Post
First, I think you should stop cutting and pasting and learn how to code. Learn HTML and CSS for starters. You are lost at a very easy place and the road is only going to get harder. HTML http://www.w3schools.com/html/default.asp Then here http://www.w3schools.com/html/html5_intro.asp
CSS http://www.w3schools.com/css/default.asp then here http://www.w3schools.com/css3/default.asp

For the answer to your last question look here http://www.w3schools.com/css/css_padding.asp
Thanks for your concern. I'm not a coder, I think I mentioned that in the OP. I'm building this site for my wife as a DYI. I only need to learn exactly what code I'm missing in order to get the desired effect. Can you help with that specifically?
GeoFunk is offline   Reply With Quote
Old 01-16-2013, 11:22 PM   PM User | #6
GeoFunk
New to the CF scene

 
Join Date: Dec 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
GeoFunk is an unknown quantity at this point
Quote:
Originally Posted by sunfighter View Post
For the answer to your last question look here http://www.w3schools.com/css/css_padding.asp

I've tried adding padding in the past, but the problem is that it moves the whole widget section down and ruins the layout of the home page. I've built this in WP and am using widgets to position the opt-in box.
GeoFunk is offline   Reply With Quote
Reply

Bookmarks

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 02:36 PM.


Advertisement
Log in to turn off these ads.