Can you add and alignment feature to a <UL> tag so it appears at a top of a page?

<ul class=mainForm id="mainForm_2">

Recommended Answers

First of all the class name needs to be enclosed in 'quotes (")', second you have to explain yourself a bit more

Jump to Post

All 4 Replies

At the top of the page? Can you provide a screenshot of where it is on your page and where you would like it?

Jack

First of all the class name needs to be enclosed in 'quotes (")', second you have to explain yourself a bit more

Sorry for the lack of details, I am new to this and really didn’t know how to explain it. I have a multi-page registration form. When I click the button to go to the next page, it opens up in the middle or bottom of the next page. Obviously I would like it to go to the top of the next page so people don’t fail to fill in some of the fields. I was told by another individual all I had to do is edit that line of code to align to the top of the page since that is the link to open the next page………I don’t know if that is correct or not? I’ll post the portion of the code that is between two of the pages (I can post more if needed).

Thanks for all your help with this.

<!-- next page buttons --><li class="mainForm">
					<input type=button onClick="if (validatePage1()) { collapseElem('mainForm_1'); expandElem('mainForm_2');}" class="mainForm" value="Go to page 2"/>	
				</li>
		<!-- close the display stuff for this page -->
		</ul>
<ul class=mainForm id="mainForm_2">

Please post the complete markup or a link to your test page. Simply telling us you want it at the top could mean several things, and wastes everyone's time.

Regards, Arkinder

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.