Get a free trial // Grow your CSS skills // Land your dream job

Need some css style help

  • AFQ
    # February 16, 2013 at 3:54 am

    I cant understand how can I align the grey background of both headings in front of each other so it looks like one long bar. Secondly, I cant understand why the part in front of “Terms and Conditions:” is not turning grey.

    Please help me out.

    # February 16, 2013 at 4:15 am

    Did you take a second look at your markup? What is ``?

    # February 16, 2013 at 4:31 am

    I am sorry but I dont know much about CSS. I am just trying to get this to work.

    # February 16, 2013 at 5:46 am

    I agree with @chirsburton, you need to convert the tags into divs with classes

    # February 16, 2013 at 6:00 am

    @AFQ I was referring to the HTML not CSS. Do you know HTML?

    I removed `` (which there is no such thing) and replaced it with an `

    ` and it worked like you wanted it to. If you clean up your markup I think it would solve some of your issues.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed