SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Chrome on HTML forms

  1. #1
    SitePoint Mentor bronze trophy

    Join Date
    Feb 2008
    Location
    Preston, UK. - LCA, Cyprus
    Posts
    1,269
    Mentioned
    58 Post(s)
    Tagged
    0 Thread(s)

    Chrome on HTML forms

    I seam to be running into browser imcompatibility with Google Chrome. Initially there was a browser outline on all the form inputs when you focus it, but this was soleved by putting in element:focus {outline:none}.

    Now I seam to be running into drop down issue. I get a blue outline on the drop down, and there is also a box problem around it.

    I need to learn more on HTML forms, but I think maybe there might be a quirk with Chrome and forms, hence the title.

    The site can be found here, http://tinyurl.com/ctbmcsu.

  2. #2
    It's all Geek to me silver trophybronze trophy
    SitePoint Award Recipient ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, Australia
    Posts
    20,297
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    The outline has a very important purpose—to assist some of your site visitors to know where they are on the page. So rather than remove it, style it differently.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Try your hand at the new JavaScript Challenge!

    If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.

  3. #3
    Non-Member
    Join Date
    Sep 2007
    Posts
    148
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Chrome does this as a means to let users know where exactly they are and that they need to fill something in. Like Ralph said, removing it isn't always the best option, but it gives you teh ability to style it a bit and add another appealing bit to your site.

  4. #4
    SitePoint Mentor bronze trophy

    Join Date
    Feb 2008
    Location
    Preston, UK. - LCA, Cyprus
    Posts
    1,269
    Mentioned
    58 Post(s)
    Tagged
    0 Thread(s)
    yep, you're right. It's like the notion of styling the browsers scroll-bars. The border-bottom in Chrome, what's that all about. Chrome acts funny when it comes to forms. The drop down also has a blue outline. I don't think this is a major issue to anybodies standards, so it's something the site can live with.

Tags for this Thread

Bookmarks

Posting Permissions

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