Jump to content

Making more than 1 identical div?


clbembry

Recommended Posts

Sure you just don't have any error in your CSS? Can you post the CSS of your classes? That way we can take a look at it.

Link to comment
Share on other sites

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...