Jump to content

[SOLVED] More alignment help


debtless

Recommended Posts

Hi, I have explored through the forum however can not find the answer for me. I am new to CSS and are having one last problem putting a line of text where it needs to go. I want the line "Please be as accurate as you can." to be left aligned to the "2" image. Here is the webpage.

http://allnewzealandrealestate.com/formpage.html

Note the links do not work yet and neither does the form. That is the next step. Just trying to get this piece of css out of the way first.

Thanks for your help.

Brent

Link to comment
Share on other sites

First, remove the div for the "2" image.

 

Next, replace the CSS rules for the selector .formboxcontent h2 to:

.formboxcontent h2 {
font-weight: bold;
height: 34px;
line-height: 34px;
margin-left: 75px;
padding-left: 40px;
font-size: 1.3em;
background: url(../images/Step02.gif) no-repeat;
color: #415181;
}

Link to comment
Share on other sites

Thanks Daniel0. That was so simple. I can see I was stuck on one train of thought.

 

A friend just commented on the form being long. I don't want to break it into 2 pages but maybe I can squeeze it a little. How would I get the check boxes to be in 2 columns?

 

Cheers

Link to comment
Share on other sites

Hmmmm...OK. Tried that with the list however does not seem to work. Tried in a blank page with minimal css and it works. Maybe because my divs are already list items? But you can put a list within a list correct?

 

Here is my checkbox list:

 

<li id="" class=" ">
<label class="desc" id="" for="living">
	Living Areas
			</label>

<div class="columns"><ul>
	<li class="lareas"><input id="" name="living" type="checkbox" class="field checkbox" value="Open Plan" tabindex="6" />
<label class="choice" for="living">Open Plan</label></li>
	<li class="lareas"><input id="" name="living" type="checkbox" class="field checkbox" value="Separate Lounge" tabindex="7" />
<label class="choice" for="living">Separate Lounge</label></li>
	<li class="lareas"><input id="" name="living" type="checkbox" class="field checkbox" value="Family Room" tabindex="8" />
<label class="choice" for="living">Family Room</label></li>
	<li class="lareas">	<input id="" name="living" type="checkbox" class="field checkbox" value="Seperate Dining" tabindex="9" />
<label class="choice" for="living">Seperate Dining</label></li>
		<li class="lareas"><input id="" name="living" type="checkbox" class="field checkbox" value="Office" tabindex="10" />
<label class="choice" for="living">Office</label></li>
		<li class="lareas"><input id="" name="living" type="checkbox" class="field checkbox" value="Sunroom Conservatory" tabindex="11" />
<label class="choice" for="living">Sunroom/Conservatory</label></li>
<li class="lareas"><input id="" name="living" type="checkbox" class="field checkbox" value="Rumpus Room" tabindex="12" />
<label class="choice" for="living">Rumpus Room</label></li>
	</ul></div>
</li>

 

There must be other css code interferring....

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.