<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Background Color Disappears when Embedded?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Background Color Disappears when Embedded?</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 03:26:52 +0000</pubDate>

<item>
<title>yuniar on "Background Color Disappears when Embedded?"</title>
<link>https://www.machform.com/forums/topic/background-color-disappears-when-embedded#post-11019</link>
<pubDate>Thu, 09 Dec 2010 17:27:04 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11019@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;To change the background color, you will need to change this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#main_body
{
	background:#ffffff;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 15px;
	margin:8px 0 16px;
	text-align:center;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#main_body
{
	background:#eaeaea;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 15px;
	margin:8px 0 16px;
	text-align:center;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To align the name and email fields, I think you will need to set the width for both of them to be less than 50% each. Try 45%.&#60;/p&#62;
&#60;p&#62;Change your current code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#li_1{
  float: left;
  width: 50%;
  margin-right:0px;
}

#li_2{
  float: left;
   width: 50%;
  clear: both;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#li_1{
  float: left;
  width: 45%;
  margin-right:0px;
}

#li_2{
  float: left;
   width: 45%;

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you can see that I changed the width and removed the &#34;clear&#34; attribute from the email field, to make it float.
&#60;/p&#62;</description>
</item>
<item>
<title>skyblue on "Background Color Disappears when Embedded?"</title>
<link>https://www.machform.com/forums/topic/background-color-disappears-when-embedded#post-11013</link>
<pubDate>Thu, 09 Dec 2010 03:19:14 +0000</pubDate>
<dc:creator>skyblue</dc:creator>
<guid isPermaLink="false">11013@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
For some reason the background color of my form disappears when I embed it in my website. You can see it fine here: &#60;a href=&#34;http://erindavidson.ca/machform/view.php?id=1&#34; title=&#34;&#34;&#62;FORM&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I've changed the background color @ #main_body input.file&#60;/p&#62;
&#60;p&#62;But when embedded, it disappears: &#60;a href=&#34;http://erindavidson.ca/newhe/free_consultation.html&#34; rel=&#34;nofollow&#34;&#62;http://erindavidson.ca/newhe/free_consultation.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;ALSO, I'm trying to get the E-mail input to line up on the same line as Name. I did it correctly once, but changed something in the CSS and can't figure out how to get it back up there on the same line.&#60;/p&#62;
&#60;p&#62;Any help is appreciated! Thank you!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
