Print Page | Close Window

Alignment in IE / Firefox

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=18015
Printed Date: 13 April 2026 at 1:48pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Alignment in IE / Firefox
Posted By: Lynford
Subject: Alignment in IE / Firefox
Date Posted: 18 January 2006 at 1:36am
Can anyone help please ?

I have added a dropdown box in my Forum, with links to take the User to other sites. In IE, it appears in the middle of the page (which is where I want it to be) however in Firefox, the Dropdown box aligns left. This is the code I added to the Navigation buttons file:

<p align="center">
<form name="hop">
<select name="choose" onChange="window.open(this.options[this.selectedIndex].value)">
<option selected>FTL - Links</option>
<option value="http://fromthelane.co.uk/Forumguidelines.htm">FTL Forum guidlines</option>
<option value="http://topspurs.com">Topspurs.com</option>
<option value="http://www.fromthelane.co.uk/Affiliates/index.htm">FTL affiliates - Support your Message board</option>
<option value="http://asongforledley.co.uk">A song for Ledley</option>
<option value="http://fromthelane.co.uk/Robbointerview.htm">FTL's Paul Robinson interview</option>
<option value="http://coys.sportsmaestros.com/index.php">COYS Messageboard</option>
<option value="http://www.tottenhamtrust.com/">THST</option>
<option value="http://www.tottenhamhotspur.com/index.asp">Official Spurs site</option>
<option value="http://home.skysports.com/">Sky Sports</option>
<option value="http://www.newsnow.co.uk/newsfeed/?name=Tottenham+Hotspur">NewsNow</option>
<option value="http://news.bbc.co.uk/sport/">BBC Sport</option>
</select>
</form>
</p>

http://www.fromthelane.co.uk/forum/default.asp - And here is the result (the Dropdown box is marked "FTL - Links")

Can anyone tell me why it aligns left in Firefox please and more importantly, how to get it to align in the Centre ? You might think I should know what I am doing after putting that code in, but someone told me what to do Embarrassed

Cheers.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 18 January 2006 at 10:23am
Try <div> tags instead of <p> tags eg:-

<div align="center">


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Lynford
Date Posted: 18 January 2006 at 12:45pm
Perfect, thanks -boRg Big smile

Are there any good (not too heavy Embarrassed) books or websites where I can learn this type of simple thing ?


Posted By: WebWiz-Bruce
Date Posted: 18 January 2006 at 5:35pm
The way I learned is to use view source in web pages.

Running Dreamweaver in split screen mode may also help, as you can see the HTML as it is created.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Lynford
Date Posted: 19 January 2006 at 12:25pm
Thanks very much Big smile


Posted By: dpyers
Date Posted: 19 January 2006 at 10:45pm
http://www.w3schools.com/ - http://www.w3schools.com/ is commonly used as a reference source as well as a learning tool.

-------------

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net