anderson_catchme Posted September 9, 2014 Share Posted September 9, 2014 I have a boostrap conflict regarding box sizing. I solved it with a simple CSS rule: * { box-sizing: content-box; } Now the problem is my bootstrap form isn't working. I need to make the box sizing apply to everything except the bootstrap form: <form id="contactForm" action="<?php echo htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES); ?>" method='post'> <!-- HTML HERE --> </form> Any ideas? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/290939-bootstrap-conflict-universal-selector-issue/ Share on other sites More sharing options...
Shiftoii Posted September 16, 2014 Share Posted September 16, 2014 (edited) Not completely sure what you're talking about here but I will do my best to help you out. .UNIQUE { box-sizing: content-box;} You could always just create a div and title it something completely "Unique" that won't be used anywhere else and then work it into your css as intended. <div class="unqiue"> <form id="contactForm" action="<?php echo htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES); ?>" method='post'> <!-- HTML HERE --> </form> </div> Edited September 16, 2014 by Shiftoii Quote Link to comment https://forums.phpfreaks.com/topic/290939-bootstrap-conflict-universal-selector-issue/#findComment-1491258 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.