Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-24-2008, 05:51 AM
Tatania
 
Posts: n/a
Styling a forms with 2 columns

Adobe has an online tuturial on how to use CSS (in Dreamweaver) style a form
with 2 columns.
http://www.adobe.com/devnet/dreamwea...ms_pt3_02.html
which I used on a site I'm working on. The form displays perfectly on IE 7 but
in Firefox the first column is at the bottom of the fieldset and the second
column is on top. http://www.aexcea.com/clientpageTest.php (Most of the fields
won't show because you have to log in and the fields return information from a
database.

Is there a fix for this or does this simply not work in Firefox? The code I
used it straight from Macromedia.

CSS is:
#formContainer {
width: 100%;
}

#Col1 {
width: 49%;
}


#Col2 {
width: 49%;
float: right; }

HTML is:


<div id="formContainer">
<!--Begin Forms -->
<form id="form1" name="form1" etc>
<fieldset>
<legend>Business Details</legend>

<!--Begin Column Two -->
<div id="Col2">
<div class="row"><label for="PrimaryEmail">Primary Email:</label>
<span class="mainbodyblack"><?=$bdremail;?></span></div>
<div class="row"><label for="PrimaryPhone">Primary Phone:</label>
<span class=" etc.></div>
</div>

<!--Begin Column One -->
<div id="Col1">

<div class="row"><label for="BusinessName">Business Name:</label>
<span class="mainbodyblack"><?=$bname;?></span></div>


<div class="row"><label for="BusinessAddressline1"> Business&nbsp;Address
line&nbsp;1:</label>
<span class="mainbodyblack"><?=$badd1;?></span></div>
<div class="row"><label for="BusinessAddressline2">Business&nbsp;Address
line&nbsp;2:</label>
<span class="mainbodyblack"><?=$badd2;?></span> </div>
<div class="row"><label for="City"> City: </label>
<span class="mainbodyblack"><?=$bcity;?></span> </div>
<div class="row"><label for="State/Province">State/Province:</label>
<span class="mainbodyblack"><?=$bstateProv;?></span> </div>
</div>
</fieldset>

</form>

</div> <!--End of 2 col form div -->

Reply With Quote
  #2 (permalink)  
Old 07-24-2008, 02:57 PM
Mangler
 
Posts: n/a
Re: Styling a forms with 2 columns

On Jul 24, 1:51*am, "Tatania" <webforumsu...@macromedia.com> wrote:
> Adobe has an online tuturial on how to use CSS (in Dreamweaver) style a form
> with 2 columns.http://www.adobe.com/devnet/dreamwea...g_forms_pt3_02...
> which I used on a site I'm working on. The form displays perfectly on IE 7 but
> in Firefox the first column *is at the bottom of the fieldset and the second
> column is on top.http://www.aexcea.com/clientpageTest.php*(Most of the fields
> won't show because you have to log in and the fields return information from a *
> database.
>
> *Is there a fix for this or does this simply not work in Firefox? The code I
> used it straight from Macromedia.
>
> *CSS is:
> *#formContainer {
> * * * * width: 100%;
> *}
>
> *#Col1 {
> * * * * width: 49%;
> *}
>
> *#Col2 {
> * * * * width: 49%;
> * * * * float: right; }
>
> *HTML is:
>
> *<div id="formContainer"> * * * * * * * * *
> * <!--Begin Forms -->
> * * * * * * * *<form id="form1" name="form1" etc>
> *<fieldset>
> *<legend>Business Details</legend>
>
> *<!--Begin Column Two -->
> * <div id="Col2">
> * * * * *<div class="row"><label for="PrimaryEmail">PrimaryEmail:</label>
> * <span class="mainbodyblack"><?=$bdremail;?></span></div>
> *<div class="row"><label for="PrimaryPhone">Primary Phone:</label>
> *<span class=" etc.></div>
> *</div>
>
> *<!--Begin Column One -->
> *<div id="Col1">
>
> *<div class="row"><label for="BusinessName">Business Name:</label>
> *<span class="mainbodyblack"><?=$bname;?></span></div>
>
> *<div class="row"><label for="BusinessAddressline1"> Business&nbsp;Address
> line&nbsp;1:</label>
> *<span class="mainbodyblack"><?=$badd1;?></span></div>
> *<div class="row"><label for="BusinessAddressline2">Business&nbsp;Address
> line&nbsp;2:</label>
> *<span class="mainbodyblack"><?=$badd2;?></span> * *</div>
> *<div class="row"><label for="City"> City: </label>
> *<span class="mainbodyblack"><?=$bcity;?></span> </div>
> * <div class="row"><label for="State/Province">State/Province:</label>
> * <span class="mainbodyblack"><?=$bstateProv;?></span> </div>
> *</div>
> * * * * </fieldset>
>
> *</form>
>
> *</div> *<!--End of 2 col form div -->


Did you figure this out yet?
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:02 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109