NIHVIVO-193 Changed right float on addNewLink div to left float, to accomodate different window sizes.

This commit is contained in:
rjy7 2010-04-01 05:16:34 +00:00
parent 7d26f8d322
commit 378808b007
2 changed files with 10 additions and 12 deletions

View file

@ -5,19 +5,18 @@
}
#content form div {
clear: both;
clear: left;
}
#content form h6 {
font-size: 110%;
}
#addNewLink {
/* Right float isn't the right way to do this, because the correct right margin
depends on window size. Should be floated left instead. */
float: right;
margin-right: 15em;
margin-top: .8em;
#content form div#addNewLink {
float: left;
clear: none;
margin-left: 5em;
margin-top: .9em;
width: 30%;
padding: .6em 0 .6em 1.5em;
border: 1px solid #9c9c9c;
@ -27,7 +26,6 @@
#content form #existing {
float: left;
clear: none;
display: inline-block;
}
#existingOrNew {

View file

@ -308,14 +308,14 @@
<form class="${editType}" action="<c:url value="/edit/processRdfForm2.jsp"/>" >
<div id="addNewLink">
If your organization is not listed, please <a href="#">add a new organization</a>.
</div>
<div id="existing">
<v:input type="select" label="Select Existing Organization" labelClass="required" id="organizationUri" /><span id="existingOrNew">or</span>
</div>
<div id="addNewLink">
If your organization is not listed, please <a href="#">add a new organization</a>.
</div>
<div id="new">
<h6>Add a New Organization</h6>
<v:input type="text" label="Organization Name" labelClass="required" id="newOrgName" />