Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Alignment in IE / Firefox
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Alignment in IE / Firefox

 Post Reply Post Reply
Author
Lynford View Drop Down
Groupie
Groupie


Joined: 14 December 2004
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lynford Quote  Post ReplyReply Direct Link To This Post Topic: Alignment in IE / Firefox
    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" target="_blank">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>

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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2006 at 10:23am
Try <div> tags instead of <p> tags eg:-

<div align="center">
Back to Top
Lynford View Drop Down
Groupie
Groupie


Joined: 14 December 2004
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lynford Quote  Post ReplyReply Direct Link To This Post 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 ?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Lynford View Drop Down
Groupie
Groupie


Joined: 14 December 2004
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lynford Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2006 at 12:25pm
Thanks very much Big smile
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2006 at 10:45pm
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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.