Jump to content

Making more than 1 identical div?


Recommended Posts

I'm having a problem designing a site. I want to have 2 or more of the same boxes on the same page, but I can't use div id more than once. Do I use div class? If so, I can never get it to work.
Remember to identify the element as a class in the CSS..Box { /*Use a dot and not the # sign. */}You can use div class="Box" so long as you reference with a period. Simple enough?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...