Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    -
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Forms & Css question

    Hi,


    I have a quick question that I'm hoping someone can answer.
    I am working on a website that has a form on the index page (well two forms actually).

    I have placed a border around each using css and the page displays really well in Firefox, but in IE I have a couple of 'line breaks' after the last form field and the submit button in each form. This is creating too much space and I would like to remove it, but despite several attempts at doing so have been unable to..

    In essence I want the page to look exactly like it does in Firefox/Mozilla for users using IE. Just wondered if someone could offer me the benefit of their wisdom.

    All help appreciated - thank you.
    The page in question is this one http://www.forsalebytheowner.co.uk/index.php

  • #2
    New Coder
    Join Date
    Jan 2005
    Location
    Iowa City
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Did you already find a solution to this?

    I checked your page on windows XP using both firefox and IE6 and could see no difference, the layout of the forms seemed fine.
    PS - this is what part of the alphabet would look like if Q and R were eliminated.

  • #3
    New Coder
    Join Date
    Aug 2002
    Location
    -
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No I haven't solved it unfortunately - if you look at the words 'PROPERTY SEARCH' you will see a space above this in IE which isn't there in Mozilla, there is also a space below the 'Search' button.

    There is also a space below the second form where it says "e.g. 4200-6844-2848" and below the search field......

    It is these I want to 'remove'...

  • #4
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try setting:
    Code:
    form { margin:0; }
    Differences in how your CSS displays can sometimes be attributed to browsers' default stylesheets. So you often have to override these default values to have things behave as you expect.
    Last edited by mcdougals4all; 02-04-2005 at 08:27 PM.
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •