Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help overwriting CSS ([class*="a_class"]

    Hello,

    i've got this bit of code in a css framework stylesheet i need overwritten:

    [class*="column"] + [class*="column"]:last-child { float: none; }

    i need that to float:left; on a certain column, so i've tried adding an additional class to the div, but i can't seem to target it properly. I've tried things like:

    [class*="column.custom"] + [class*="column.custom"]:last-child { float: left; }

    and

    [class*="column custom"] + [class*="column custom"]:last-child { float: left !important; }

    can anyone help with this? thank you!

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,749
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Hello mwaaben,
    Can we see the markup that goes with this?
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

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