How to achieve the following design in css in jquery mobile


Tags: css

Problem :

![I want to achieve the following red circle through css. I am using jquery mobile with angular js.My code is as below.

<div data-role="page" id="p2">
<div class="ui-bar ui-bar-d "data-role="header"  >
    <a href="" data-role="button" class="ui-btn-left">Chat</a>
    <h1> contacts </h1>
    <a href="" class="ui-btn-right">Photos</a>
</div >
<div data-role="content" data-position="center">
<div ng-controller="TalkCtl">
<ul >
  Search:
  <input type="search"  ng-model="searchText"> 
    <li ng-repeat="talk in talks | filter:searchText">
      {{talk.name}} </br> {{talk.text}} 
    </li>
  </ul>

</div>
</div>

IMAGE SNAPSHOT



Solution :

This can be easily done using css background-image property, coupled with positioning and z-indexing.


    CSS Howto..

    How can I wrap a page with a centered DIV?

    How to limit a to only three lines?

    How do I stop internet explorer's propriety gradient filter from cutting off content that should overflow?

    how to write a css that only can be visible on desktop in bootstrap

    How to position a fixed div under another fixed div?

    How to align div to center of verital and horizontal

    How to detect which button is clicked in javascript?

    How to resize QR code?

    How does wikimedia code there input onfocus

    How to align image with text in a table ? (jquery datatable sort image with text in table header)

    How to fade out and fade in the divs sequentially

    How to adjust the size of background image with browsers window using media queries

    How to maneuver between two divs using CSS?

    How to do CSS for a grid of images

    How to vertically align image in a td cell, without vertically-align

    How to create this border styles in HTML/CSS? [closed]

    How do you make a make a page's worth of empty space (with only a title) followed by a div in CSS?

    How to select “label for=list[]” in CSS?

    How do I apply a border around a checkbox when checked?

    Switchery rendered wrong when triggering click after View is shown

    How to wrap a DIV around a DIV with CSS

    How to get the first parent that has a certain CSS property using jQuery?

    How to obtain the CSS font-family of installed fonts? [duplicate]

    How to inherit CSS using Less?

    How do I move the search bar to the top without hiding it? [closed]

    How to enable Stylus url() rewrites

    How to set jquery ui icon as background image per css?

    how can I overcome existing css and change button style to the default windows style button?

    How can I keep things aligned in an adaptive layout

    How do I detect box-sizing border-box support with Modernizr