[SOLVED] positioning problems

This is a discussion on "[SOLVED] positioning problems" within the Web Page Design section. This forum, and the thread "[SOLVED] positioning problems are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 9th, 2007, 09:01
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] positioning problems

hey, does anyone know why my form is positioning to the left in mozilla? its fine in ie...

http://www.geneticsweb.co.uk/contact.php
Reply With Quote

  #2 (permalink)  
Old Nov 9th, 2007, 09:11
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: positioning problems

Start by validating your code. Then we can talk.

If you don't validate your code, different browsers will make different guesses about how to display it.
Reply With Quote
  #3 (permalink)  
Old Nov 9th, 2007, 09:16
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: positioning problems

Have a look at your errors

http://validator.w3.org/check?uri=ht...Inline&group=0
Reply With Quote
  #4 (permalink)  
Old Nov 9th, 2007, 10:33
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
Thanks: 0
Thanked 0 Times in 0 Posts
Re: positioning problems

hey could u check the link again...why the hell am i getting all them errors i dont understand, have i declared the right doctype etc?

http://www.geneticsweb.co.uk/contact.php
Reply With Quote
  #5 (permalink)  
Old Nov 9th, 2007, 10:55
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: positioning problems

You have your form in a paragraph tag but the .p is not styled. Maybe if you centered that p tag you would get the form centered.
You also have it sitting in the #wrapper and that's defaulting text-left.

I think I would place the form inside a div. and center the div.

Code: Select all
.form {
     margin: 0 auto;
     width: 400px;
     }
Reply With Quote
  #6 (permalink)  
Old Nov 9th, 2007, 11:17
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
Thanks: 0
Thanked 0 Times in 0 Posts
Re: positioning problems

thanks lchad
Reply With Quote
  #7 (permalink)  
Old Nov 9th, 2007, 11:26
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: [SOLVED] positioning problems

your form method post should be lower case

You are miissing the end slash in your link to the style sheet and your meta tag....should end />

all your <br> should be <br />

and you are missing a closing </div> probably for the wrapper

If you use firefox, get the html validator add-on. It will show you any errors and where they are so you can fix them

Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with CSS positioning ZekeLL Web Page Design 1 May 26th, 2008 15:27
Text Positioning Problems Ed Web Page Design 15 Oct 8th, 2007 03:09
problems positioning with css in IE bengtec Web Page Design 3 Sep 24th, 2007 08:47
IE Experts please help. Positioning problems... jay019 Web Page Design 17 Jul 27th, 2007 16:21
IE/Firefox positioning problems jordan8201 Web Page Design 11 Dec 6th, 2005 18:34


All times are GMT. The time now is 22:00.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43