CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Need help positioning elements in an Opt-In form in a word press widget (http://www.codingforums.com/showthread.php?t=284600)

GeoFunk 12-23-2012 10:37 AM

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:

http://i47.tinypic.com/2bs7l4.png

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

Any help is greatly appreciated!!

Thanks,
George

sunfighter 12-23-2012 02:40 PM

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.

GeoFunk 01-07-2013 07:56 AM

Quote:

Originally Posted by sunfighter (Post 1301811)
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?

sunfighter 01-07-2013 01:34 PM

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

GeoFunk 01-16-2013 11:18 PM

Quote:

Originally Posted by sunfighter (Post 1304590)
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 01-16-2013 11:22 PM

Quote:

Originally Posted by sunfighter (Post 1304590)
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. :(


All times are GMT +1. The time now is 11:01 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.