I was able to get shot of the table and put the form in a DIV as suggested but I could only create a parent DIV for the form and the Paypal image. When I tried to put the Paypal image in a child DIV the <form> tag was split in 2 and wouldn't validate. Any thoughts on this?
I used the following
CSS and now the form in centrally aligned in all browsers:
- Code: Select all
#formcontainer {
margin:0 auto;
text-align:center;
width:200px;
margin-top: 10px;
margin-bottom: 10px;
}
I created a space between the form fields and the Paypal image by puting an extra <br/> tag between them.
Can anyone tell me though why IE insists on putting a space between elements? For example, in the link below IE displays a space between the pictures heading "Polperro, Harbour" and the image itself whereas other browsers do not.
http://uk.geocities.com/johnson463@b...STD1LGOPT.html
I have reduced the number of erros in validation to about 8 but I think I will make a seperate post on these in the
HTML forum.