Alicia Posted July 2, 2012 Share Posted July 2, 2012 Hi, Can some experts please advise why style in my class 1mycolumn doesn't work in browsers even it shows okay in dreamweaver : <div class="TabbedPanelsContentGroup"> <div class="TabbedPanelsContent"> <div id="mycontainer"> Today's Buy <div class="1mycolumn">1 colum</div> <div class="1mycolumn">1 colum2</div> <div class="1mycolumn">1 colum3</div> <div class="1mycolumn">1 colum4</div> <div id="rightcolumn">wedwsrighthh <p> </p> <p> </p> <p> </p> <p> </p> </div> </div> </div> <div class="TabbedPanelsContent">Content 2</div> </div> other spry tab class and the righcolumn id works fine but not 1mycolumn class.. please advise. thanks. I am trying to show some content in multple same size columns. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/265106-div-class-is-not-working-in-div-id/ Share on other sites More sharing options...
haku Posted July 2, 2012 Share Posted July 2, 2012 Class names must start with letters. Change that and see if it fixes your problem. Quote Link to comment https://forums.phpfreaks.com/topic/265106-div-class-is-not-working-in-div-id/#findComment-1358543 Share on other sites More sharing options...
hakimserwa Posted July 8, 2012 Share Posted July 8, 2012 its no doubt that will work no class should start with a number. Quote Link to comment https://forums.phpfreaks.com/topic/265106-div-class-is-not-working-in-div-id/#findComment-1360090 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.