tashakota 0 Newbie Poster

Use a gif.

tashakota 0 Newbie Poster

What versions of Firefox and IE? Because it looks fine on IE 7 and Firefox Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

tashakota 0 Newbie Poster

what happens on the page? Can you link to it?

tashakota 0 Newbie Poster

It seems fine in Firefox and IE on my end. If my window is too small then the scroll bars take away space and the resume page "shrinks" because of the added width of the scroll bars. Is this what you're seeing?

tashakota 0 Newbie Poster

the above code is long and messy, so once *I* get it to the way I like, I use CSS instead of having all that in the main page. So each element would be given a name or class which would dictate what would happen to it.

So:
Main page of site

<div class="Orangebox">
	   <div class="yellowbox">
	   		<div class="otherorangebox">
			</div>
	   </div>
	</div>
	<div class="Orangebox">
	   <div class="yellowbox">
	   		<div class="otherorangebox">
			</div>
	   </div>
	</div>
	<div class="Orangebox">
	   <div class="yellowbox">
	   		<div class="otherorangebox">
			</div>
	   </div>
	</div>
	<div class="Orangebox">
	   <div class="yellowbox">
	   		<div class="otherorangebox">
			</div>
	   </div>
	</div>
	<div class="Orangebox">
	   <div class="yellowbox">
	   		<div class="otherorangebox">
			</div>
	   </div>
	</div>
	<div class="Orangebox">
	   <div class="yellowbox">
	   		<div class="otherorangebox">
			</div>
	   </div>
	</div>

CSS

.Orangebox {
	width:300px; 
	height: 300px; 
	background-color:orange; 
	float:left; 
	margin:0px 3px 3px 3px;
}

.yellowbox {
	width:200px; 
	height:200px; 
	position:relative; 
	left:30px; 
	top:30px; 
	background-color:yellow;
}

.otherorangebox {
	width:200px; 
	height:200px; 
	position:relative; 
	left:40px; 
	top:40px; 
	background-color:#FFCC33;
}
tashakota 0 Newbie Poster
<div style="width:300px; height: 300px; background-color:orange; float:left; margin:0px 3px 3px 3px;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   		<div style="width:200px; height:200px; position:relative; left:40px; top:40px; background-color:#FFCC33;">
			</div>
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left; margin:0px 3px 3px 3px;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   		<div style="width:200px; height:200px; position:relative; left:40px; top:40px; background-color:#FFCC33;">
			</div>
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left; margin:0px 3px 3px 3px;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   		<div style="width:200px; height:200px; position:relative; left:40px; top:40px; background-color:#FFCC33;">
			</div>
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left; margin:0px 3px 3px 3px;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   		<div style="width:200px; height:200px; position:relative; left:40px; top:40px; background-color:#FFCC33;">
			</div>
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left; margin:0px 3px 3px 3px;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   		<div style="width:200px; height:200px; position:relative; left:40px; top:40px; background-color:#FFCC33;">
			</div>
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left; margin:0px 3px 3px 3px;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   		<div style="width:200px; height:200px; position:relative; left:40px; top:40px; background-color:#FFCC33;">
			</div>
	   </div>
	</div>
tashakota 0 Newbie Poster

As far as I know, you can't round corners of divs without using pictures.

tashakota 0 Newbie Poster
<div style="width:300px; height: 300px; background-color:orange; float:left;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   </div>
	</div>
	<div style="width:300px; height: 300px; background-color:orange; float:left;">
	   <div style="width:200px; height:200px; position:relative; left:30px; top:30px; background-color:yellow;">
	   </div>
	</div>
tashakota 0 Newbie Poster

It has to do with widths. You will have to set your table width to the width of the div. Or set it to auto instead of a percentage and then use padding or margins to increase or decrease distances from the edges.

tashakota 0 Newbie Poster

I have what I thought was a basic form with multiple text boxes and one select box. The form submits and info is updated in a database. However, it fails because of the select box. The select box is automatically selected to the user's organization if they have one. The select box submits a value in the form 575,575. (575 is the id of the Organization and the value of the option) If you change the organization it's more like 575,815 (with the 575 being the initial value and the 815 being the new value).

I can't seem to figure this one out. And whenever I get to the point of needing to finally ask about it, it turns out to be something I've missed. However, I can't seem to find any problems with my code.

<cfquery name="listorgs" datasource="members">
	SELECT tblOrganizations.INSTITUT, tblOrganizations.OrganizationID 
	FROM tblOrganizations
	ORDER BY tblOrganizations.INSTITUT;
</cfquery>

<select name="OrgID" style="width:30em;">
	<option value="">None Selected</option>
	<option value="0">Add New Organization</option>
	<cfloop query="listorgs">
		<cfif listorgs.OrganizationID eq SESSION.AMSPerson.OrgID>
			<option value="#listorgs.OrganizationID#" selected>#listorgs.INSTITUT#</option>
		<cfelse>
			<option value="#listorgs.OrganizationID#">#listorgs.INSTITUT#</option>
		</cfif>
	</cfloop>
</select>

ETA: Oh and if I comment out the line of code to update the OrgID, it works just fine.

tashakota 0 Newbie Poster

To make clear: My problem is on the Processing page. I need to be able to update MULTIPLE images (filedatd field in db) with names (picturename field in db) They will have the SAME listnumber, but different ID numbers.

I believe if you update the db using the listnumber instead of the id, then you should be updating all records with that listnumber.

ie:

cfquery name="titlepicture" datasource="#dsn#"
UPDATE uploads SET
picturename = '#form.picturename#'
WHERE listnumber = #form.listnumber#
cfquery
      
cflocation url="index.cfm
tashakota 0 Newbie Poster

Tnaks for the suggestion, but that did not work either. In fact the code would not execute with a 1 in there.

tashakota 0 Newbie Poster
Set rstDeps = CurrentDb.OpenRecordset("SELECT Members.OrgID, Members.ID, Members.Member, Members.PrimaryRep, Members.MembershipType " _
                & "FROM Members " _
                & "WHERE (Members.Member=True AND Members.OrgID=" & !OrgID & " AND Members.MembershipType='" & !MembershipType & "');")

This is my query in VBA in MSAccess. I just want the number of people that fall into those criteria and it SHOULD be 4. But this consistently pulls 6 records. If I run this same query in a normal query it pulls 4.

The 6 records include 2 Members.Member=False. Why would it pull them as well? I'm fed up with this and don't understand why this does not work.