saradrungta Posted January 17, 2009 Share Posted January 17, 2009 hi friends.... i hv designed 2 pages and a stylesheet. in both pages i hv displayed fieldset. i want both the fieldset in pages should be different (eg width: 20em; & width: 30em;) can any one help me with this.... Thanks fieldset.contact { width: 30em; } fieldset.login { width: 20em; } fieldset { border: 1px solid #781351; background-image: url(images/bg-box-s2.JPG); } this code is not doing Quote Link to comment Share on other sites More sharing options...
dropfaith Posted January 18, 2009 Share Posted January 18, 2009 hrmm all that css looks fine whats the html it should be <fieldset class="login"> </fieldset> Quote Link to comment Share on other sites More sharing options...
saradrungta Posted January 18, 2009 Author Share Posted January 18, 2009 thanks.... actually i was using ID instead of CLASS..... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.