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 10 of 10
  1. #1
    Regular Coder
    Join Date
    Nov 2004
    Location
    The Netherlands
    Posts
    551
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Form element display problems

    What can i do about the domain check form on this page

  • #2
    cfc
    cfc is offline
    Regular Coder
    Join Date
    Dec 2004
    Location
    Keswick, Ontario
    Posts
    251
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What do you want to do about it? It's simple enough to look domains up in PHP using the gethostbyname() function but I don't know about client-side solutions.

    Or am I missing your intent completely?
    Last edited by cfc; 02-21-2005 at 09:02 PM.

  • #3
    Regular Coder
    Join Date
    Nov 2004
    Location
    The Netherlands
    Posts
    551
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well as you can see in internet explorer, it screws up the layout. Hence why I posted this in html and css, not php

  • #4
    Regular Coder
    Join Date
    Nov 2004
    Location
    The Netherlands
    Posts
    551
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I see a lot of views, but no reply's. What's keeping you guys from it?

  • #5
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    First of all, try adding background-repeat:none; to your td that holds the search box, and tell us how that looks...

    Dan

    EDIT: repeat-x:none; isn't a CSS command
    Last edited by whizard; 02-23-2005 at 03:27 PM.
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #6
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by mrruben5
    I see a lot of views, but no reply's. What's keeping you guys from it?
    Forget style. Code to semantics. Seperate style from structure, and structure from behaviour.
    I code to specs, and test only in Firefox (unless stated otherwise).

  • #7
    Regular Coder
    Join Date
    Nov 2004
    Location
    The Netherlands
    Posts
    551
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1.You're totally right. However, ie is crap too, so my post title isn't crap in some sort of way
    2. I did now. I'm sorry I haven't been clear in posting this problem.
    3. I think I was clear in explaining my problem, since most problems with layoutformatting appear in Internet Exploder(not a typo, lol).
    4. I know that mozzilla's products own, it's just that the majority of people still use IE , and I want to have this layout compatible with all of the latest browsers...

    Ok, now let me explain my problem/question:
    There is a problem with the form tag in ie. It is always aligned top, and it always has more space attached to the bottom. How is it possible to solve this? You can view the problem here, it's the domain check form.

  • #8
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Well looks like hemebond has done most of my job for me. I'll be renaming this thread to 'form element display problems'.

    1.You're totally right. However, ie is crap too, so my post title isn't crap in some sort of way
    What the? I'm not even going to try figure out how that's supposed to work.

    And as for your solution. You require a sprinkle of CSS I believe, hard to tell because that link goes nowhere for me. So I'm just guessing you need to set your margins to 0px.

    So in your stylesheet, or if you don't have one set the margin for the form element to 0px (you can use a class or id if you don't want this to work across the board but that's up to you):
    Code:
    <style type="text/css" media="screen">
    form {
      margin: 0px;
    }
    </style>
    Omnis mico antequam dominus Spookster!

  • #9
    Regular Coder
    Join Date
    Nov 2004
    Location
    The Netherlands
    Posts
    551
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks.

    I wonder, why didn't this get up in my mind? I should be able to see there's a margin under the form in internet imploder, at least try to remove the margin from <input>. Anyway, thanx Mhtml!

  • #10
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    No problems.
    Omnis mico antequam dominus Spookster!


  •  

    Posting Permissions

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