Results 1 to 4 of 4

Thread: CSS ...basic question!

  1. #1
    Join Date
    Dec 2006
    Posts
    28

    Default CSS ...basic question!

    Sorry but I can't figure out how to center the Search Form.

    I just want to center the form, so I read your instructions but still missing something.

    .zoom_searchform { font-size: 100%; float: center; }

    In bold, this is what I added!

    The float center is probably wrong! Could you post the CSS code?

    Thanks

    Roger

  2. #2
    Join Date
    Jan 2007
    Posts
    111

    Default

    You might have more luck with:

    margin: auto;


    Good luck,
    Leon

  3. #3
    Join Date
    Dec 2006
    Posts
    28

    Question Css code works at 66% but...

    Hi!

    The CSS code you provided works fine in:
    Explorer
    Opera

    but do not works with:
    Firefox

    Search box still stuck on the left side! Any work around?

    Thanks

    Roger

    To make it easier to test it, you can go to http://search.internet-marketing-library.org/
    Last edited by quebecostarica; 11-07-2007 at 06:41 PM. Reason: more info

  4. #4
    Join Date
    Dec 2004
    Location
    Sydney, Australia
    Posts
    3,573

    Default

    Try searching for "CSS centering" on Google for various multi-browser solutions.

    Here's one article on centering things with CSS:
    http://www.w3.org/Style/Examples/007/center
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

Posting Permissions

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