SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2008
    Location
    HidePoint
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Checkbox and label

    I am using a template. and when i add a checkbox and a label. i am not able to position them in the same line.

    i tried display:inline; but doesnt seem to work.

    http://godine.in/alpha/admin/restaurants/add



  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,593
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, it should unless you have something interferring with it . Could you telll me where this is happening? Checked Opera, IE7/8, and FF3.

    IE6 isn't responding will because you do attribute selectors like type=["checkbox"] and IE6 doens't understand that.
    Always looking for web design/development work. Willing to do it cheap to build portfolio!

  3. #3
    SitePoint Zealot
    Join Date
    Sep 2008
    Location
    HidePoint
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by RyanReese View Post
    Hi, it should unless you have something interferring with it . Could you telll me where this is happening? Checked Opera, IE7/8, and FF3.

    IE6 isn't responding will because you do attribute selectors like type=["checkbox"] and IE6 doens't understand that.
    oh ok. type=["checkbox"]
    actually a template element has a property width:98%. its making it go wide. am not able to reduce it.

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,593
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Mkay, so basically you can't change something that's causing mishaps in IE6..?
    Always looking for web design/development work. Willing to do it cheap to build portfolio!

  5. #5
    SitePoint Zealot
    Join Date
    Sep 2008
    Location
    HidePoint
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i am trying. can u send a screenshot if u can from ie6 ?

  6. #6
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,593
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    My IE6 looks like the label on one line, and the text on the next-too lazy to SS.
    Always looking for web design/development work. Willing to do it cheap to build portfolio!

  7. #7
    SitePoint Zealot
    Join Date
    Sep 2008
    Location
    HidePoint
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanx.

    Is there anyway to remove the hidden check box properties which is showing up. the template i use has a border for input field. and the hidden element which the cakephp produces is making it visible as shown below. i tried using

    input[type="hidden"] { display:none;} didnt work

    http://godine.in/alpha/admin/restaurants/add



  8. #8
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,593
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, it's possible it's being overridden, but try giving the parent of that a display:none;

    Some form elements you can't screw with .
    Always looking for web design/development work. Willing to do it cheap to build portfolio!

  9. #9
    SitePoint Zealot
    Join Date
    Sep 2008
    Location
    HidePoint
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i used css attribute selectors and it worked

    #page-content input[type="hidden"] {
    border: 0px solid #cccccc;
    }


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
  •