clbembry Posted September 21, 2007 Share Posted September 21, 2007 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. Link to comment Share on other sites More sharing options...
Err Posted September 22, 2007 Share Posted September 22, 2007 Yes, use class. What do you mean you can't get it to work? Link to comment Share on other sites More sharing options...
clbembry Posted September 22, 2007 Author Share Posted September 22, 2007 nothing shows up... Link to comment Share on other sites More sharing options...
Err Posted September 22, 2007 Share Posted September 22, 2007 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 More sharing options...
jlhaslip Posted September 23, 2007 Share Posted September 23, 2007 http://jlhaslip.trap17.com/samples/image_d...splay_3col.htmlSample page required? Link to comment Share on other sites More sharing options...
mistergalarza Posted September 23, 2007 Share Posted September 23, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.