PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

CSS ...basic question!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    You might have more luck with:
    margin: auto;


    Good luck,
    Leon

    Comment


    • #3
      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; Nov-07-2007, 07:41 PM. Reason: more info

      Comment


      • #4
        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

        Comment

        Working...
        X