Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7079711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:42:20+00:00 2026-05-28T06:42:20+00:00

jQuery Mobile Docs says if we wrap form element in div containing data-role=fieldcontain proper

  • 0

jQuery Mobile Docs says if we wrap form element in div containing data-role="fieldcontain" proper styles would be applied, like horizontal line at a bottom.

I spent hours trying to figure out why is this not working so I’m just wondering is this feature removed from 1.0 Final or is this bug? I could swear this was working just a few days ago.

As an example I prepared this simple html page with default scripts delivered through CDN: http://jsfiddle.net/eQe5A/.

Can someone please shed some light on this issue.

Thanks,
Klikerko

EDIT:

After doing more research I have found that Safari and Opera are only desktop browser that would render jQuery Mobile pages as mobile browser would. My question above is related to special style applied to form elements when browser size is less than 450px. Those styles would add horizontal line divider below form element and would move label above the field if width is less than 450px and remove horizontal line and place label next to field if it’s above 450px. As mentioned above only Safari and Opera desktop browsers would render this properly so I guess if you are testing on local machine use those two browsers.

Thanks everyone who replied!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:42:20+00:00Added an answer on May 28, 2026 at 6:42 am

    If you view you jsFiddle on a mobile device (I’m using iPhone 4 iOS 5) the styling appears

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i m using star rating plugin in jquery mobile to rate my docs my
jQuery Mobile has a fine collection of themes for buttons. http://jquerymobile.com/test/docs/buttons/buttons-themes.html However, I want
I've this navbar at the footer <footer data-role=footer> <div data-role=navbar data-iconpos=top> <ul> <li><a href=a.html
I am trying to style my jQuery Mobile Form inputs & textareas. Right now
I created my website with jQuery mobile and I would like to build the
I'd like to customize the jQuery Mobile slider http://jquerymobile.com/demos/1.0/docs/forms/slider/ so that I can keep
I am trying to create a list using the styles provided by jquery mobile.
I followed the introduction of the official jQuery Mobile docs: Important: Use pageInit(), not
I'm trying to make my first steps with jquery mobile and I would like
Using jquery mobile, I am trying to reset a form I am using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.