Ok the issue is solved to much to explain but here is the solution if you want to put an image next to the form and have the form rap around the image this is the page structure and the css notice the bottom fields wrap around the form also this works in all browsers including iphone/pad also ie 6,7,8,9 http://nichedeliverysystem.com/post-new-ad/ if after site is done http://www.adszoom.com/post-new-ad/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?php /* Template Name: post new ad
*/ ?>
<?php get_header(); ?>
<title>Post new classified ads</title>
</head>
<div class="searchpagebox">
<body>
<div id="container">
<div id="content" role="main">
<div class="post-instructions1">
<!--======================== BEGIN COPYING THE HTML HERE ==========================-->
<img name="readbeforeyoupost2" src="/wp-content/themes/adszoom/images/readbeforeyoupost2.gif" width="400" height="800" border="0" usemap="#m_readbeforeyoupost2" alt="" />
<map name="m_readbeforeyoupost2">
<area shape="rect" coords="191,125,226,141" href="http://nichedeliverysystem.com/keywords-tool-help-page/" target="_blank" title="keywords tool help" alt="keywords tool help" />
</map>
<!--========================= STOP COPYING THE HTML HERE =========================-->
</div><!-- post-instructions1 -->
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->
</body>
<?php get_footer(); ?>
css page
/* post-instructions */
.post-instructions1{
position:absolute;
float:left;
height:800px;
margin-left:420px;
padding-bottom:10px;
padding-top:10px;
}
/* posts new ads page */
.gform_wrapper .ginput_complex .ginput_full input {
font-family:Georgia, "Times New Roman", Times, serif;
width: 98% !important;
}
forms....1.6.4.5 (line 554)
.gform_wrapper .top_label input.medium {
font-family:Georgia, "Times New Roman", Times, serif;
padding-right: 2px;
}
forms....1.6.4.5 (line 304)
.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
font-family:Georgia, "Times New Roman", Times, serif;
width: 47%;
}
forms....1.6.4.5 (line 300)
.gform_wrapper .ginput_complex input, .gform_wrapper .ginput_complex select {
font-family:Georgia, "Times New Roman", Times, serif;
width: 95% !important;
}
forms....1.6.4.5 (line 233)
body, input, textarea {
color: #373737;
font: 300 15px/1.625 Georgia,"Times New Roman", Times, serif;
}
.gform_wrapper form {
width:475px;
float: left;
margin-left:-60px;
}
.gform_page {
width:475px;
float: left;
}
.gform_wrapper .top_label .gfield_label {
font-family:Georgia, "Times New Roman", Times, serif;
clear: both;
display: inline-block;
font-weight: bold;
line-height: 1.3em;
margin: 10px 0 4px;
}
.gform_wrapper .description, .gform_wrapper .gfield_description, .gform_wrapper .gsection_description, .gform_wrapper .instruction {
clear: both;
font-family:Georgia, "Times New Roman", Times, serif;
font-size: 0.85em;
letter-spacing: normal;
line-height: 1.5em;
}
.gform_wrapper .gfield_description {
font-family:Georgia, "Times New Roman", Times, serif;
padding: 10px 0 0;
width: 99.8%;
}
.singular.page .hentry {
width:400px;
padding: 3.5em 0 0;
}
.ginput_container{
font-family:Georgia, "Times New Roman", Times, serif;
width:800px;
}
.ginput_full {
font-family:Georgia, "Times New Roman", Times, serif;
display: block;
width:475px;
overflow: hidden;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required { /* controls the error width ad width to change */
font-family:Georgia, "Times New Roman", Times, serif;
margin-bottom: 12px !important;
margin-top: 12px;
}
.gform_wrapper .ginput_complex .ginput_left, .gform_wrapper .ginput_complex .ginput_right, .gform_wrapper .ginput_complex .ginput_full {
font-family:Georgia, "Times New Roman", Times, serif;
display: block;
min-height: 43px;
overflow: hidden;
}
/* logged in edit bitton */
.singular .entry-meta .edit-link a {
font-family:Georgia, "Times New Roman", Times, serif;
margin:-22px;
bottom: auto;
left: 50px;
position: absolute;
right: auto;
top: 80px;
}
.entry-meta .edit-link a, .commentlist .edit-link a {
margin:10px;
background: none repeat scroll 0 0 #CCC;
border-radius: 3px 3px 3px 3px;
font-family:Georgia, "Times New Roman", Times, serif;
color: #000099;
float: right;
font-size: 12px;
font-weight: 300;
line-height: 1.5em;
padding: 0 8px;
text-decoration: none;
}
.edit-link a:hover{
color: #FFF;
background:#999;
}
( please excuse all the font-family:Georgia, "Times New Roman", Times, serif; )
for some reason this is the only way all browsers would change from serif as chose 1 lol
Posted 12 years ago on Monday June 11, 2012 |
Permalink