Give help. Get help.

  • # March 21, 2013 at 11:35 am

    oh the title2 is one of the titles in the page, code worked though.. outcome is what i was going for..

    i am getting this error though:

    URI : mystyle.css
    87 * Parse Error */ .morocco { background-image:url(“moroccobackground.jpg”); background-repeat:no-repeat; background-size:2000px 1000px; }

    my code:
    .morocco {
    background-size:2000px 1000px;

    every other page is working fine and im following the same syntax.

    # March 21, 2013 at 11:35 am

    .morocco {
    background-size:2000px 1000px;

    # March 21, 2013 at 11:46 am

    nvm, it fixed itself…somehow…

    one thing which is aggrivating me is I cannot get my mp3 player centered on the page.


    .mp3 {
    text-align: center;
    margin-left: auto;
    margin-right: auto }

    # March 21, 2013 at 11:58 am

    Try adding `display:block` to your .mp3 class.

    # March 21, 2013 at 12:05 pm

    > Oops sorry I was thinking of another user.

    He’s writing up a post now and will be posting it here soon, I bet.

    # March 21, 2013 at 12:11 pm

    >He’s writing up a post now and will be posting it here soon, I bet.

    You might think that…I couldn’t possibly comment.

    # March 21, 2013 at 12:19 pm

    naw the block didnt work..

    # March 21, 2013 at 12:23 pm

    >**naw the block didnt work..**

    It did when I tested it in Codepen so perhaps there is something else affecting /over-riding it.

    # March 21, 2013 at 12:24 pm

    im putting that aside for now.. tryna fix errors the validation shows me.. it says no space between attributes so i remove the space and put it ; and it just messes up everything

    # March 21, 2013 at 12:39 pm

    Can you give us a link to a live site…we’re kind of working in the dark here.


    Please..we don’t ask much but some semblance of proper English would be nice.

    # March 21, 2013 at 12:44 pm

    i just messed around and got it all cleaned up.. no more errors in validation.

    now im back to centering that mp3… is it better to use `

    .mp3 {
    align: center;
    width: 200px;
    margin-left: auto;
    margin-right: auto }

    i like the look of `

    # March 21, 2013 at 12:52 pm

    I could be wrong but align isn’t a CSS property (AFAIK) but rather an attribute so


    might work

    # March 21, 2013 at 12:56 pm

    You are correct!

    # March 21, 2013 at 1:04 pm

    Also, I think with the audio element you have to set a MIME type, which will help the browser identify the media correctly.

    # March 21, 2013 at 1:04 pm

    I agree, I shouldn’t have suggested w3schools, my bad. However, I would still look into the other two I posted and as Dillon said, I would definitely take a long walk-through ccs-tricks, because there is a lot here that will be helpful in your learning experience. Chris has a very awesome way of explaining things and contributes a lot to the industry.

Viewing 15 posts - 31 through 45 (of 75 total)

You must be logged in to reply to this topic.