www.webdeveloper.com
Results 1 to 2 of 2

Thread: providing space between fields within single div tag

Threaded View

  1. #1
    Join Date
    Dec 2013
    Posts
    15

    providing space between fields within single div tag

    this is my code: html

    Code:
     
    <div class="fieldDate">
    <label for="statusEmp">Status of Employee:</label>
                        <select  name="statusEmp" id="statusEmp">
                            <option value="0">Active</option>
                            <option value="1">Inactive</option>
                        </select>
    
                        
                        <label  for="fromDate">From:</label>
                        <input type="date" name="fromdate" id="fromDate">
    
                        <label for="toDate">To:</label>
                        <input  type="date" name="todate" id="toDate">
    
                        <label for="search">Search:</label>
                        <input  type="search" name="search" id="search">
                        <input type="submit">
                        </div>
    css :
    
    .fieldDate {
    
            float: right;
            margin-right: 200px;
        }
    
        margin-right: 200px;
        }
    i want to have space between the three fields: status, from/to,search how do i do it?

    they all appear in the same line( which is what i want) without space in between the fields.
    Last edited by rajshekar90; 01-15-2014 at 01:47 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles