- This topic is empty.
March 20, 2013 at 6:27 pm #129067March 20, 2013 at 8:09 pm #129077hannon33Member
i have also embeded a song into the website,
how do i center this in the middle of the page using CSS? i tried what i thought but it did not seem to workMarch 21, 2013 at 12:24 am #129114TheDocMember
@hannon33 – please use the Code button when entering code into your post. Simply select the code that you’ve typed (or pasted) and then click the ‘Code’ button (it’s right beside ‘Quote’).March 21, 2013 at 4:20 am #129122Kitty GiraudelParticipant
> i have also embeded a song into the website,
Please don’t.March 21, 2013 at 5:06 am #129126rpotterjrParticipant
hannon33, you dear poor soul… You’re taking an online course to learn HTML and CSS? Why in the world would you do that? There are plenty of websites that you can learn this stuff from for free! I am sure we can all give you some links to such resources.
Here are a few:
Please, don’t jump ahead of yourself!
Should be this:
/* Body Styles */
}March 21, 2013 at 5:10 am #129127rpotterjrParticipant
Also, just to point this out as a helpful gesture… Don’t use auto margins like this and please use the hexidecimal code for the color you want to use. If you are going to set the margins and use color, set them like this:
margin: 0 auto;
}March 21, 2013 at 5:55 am #129132CrocoDillonParticipant
In before ranting! I learned html and css here since it has a really easy, almost linear learning curve (not even sure what that means). However many consider it a bad resource, I think mainly because of [this](http://w3fools.com/). I still don’t regret using w3schools, though they should look at w3fools and fix where they are wrong… can’t be any easier than that.March 21, 2013 at 6:03 am #128796Kitty GiraudelParticipant
Please don’t recommand W3Schools. Reason given by Dillon.March 21, 2013 at 9:06 am #129151
Please don’t overlook the link I provided in my earlier post. It’s by far the most comprehensive guide out there.March 21, 2013 at 9:12 am #129152Paulie_DMember
>Please don’t overlook the link I provided in my earlier post. It’s by far the most comprehensive guide out there.
Enough self-promotion, thank you!
Other than that…nice site.March 21, 2013 at 9:27 am #129153
I have zero affiliation with that site.
I’m only here to help.March 21, 2013 at 9:41 am #129155hannon33Member
whats wrong with code like this?March 21, 2013 at 9:51 am #129156
Technically there’s nothing wrong with the code.
But you left out the context. Where in the HTML are you using the class of `.title2`?March 21, 2013 at 10:29 am #129162Paulie_DMember
Oops sorry I was thinking of another user.
Apologies.March 21, 2013 at 11:11 am #129172
No worries Paulie.
- The forum ‘CSS’ is closed to new topics and replies.