Chaps, I have a question about nesting elements. I am using bootstrap for a project I am working on, and for whoever didn't know that - I am one of those - in bootstrap buttons are
Now, I have this situation at the moment:
<p><button>My button</button> This button means X</p>
Is it acceptable to have the button before the text of the paragraph? Personally I think so, because
p is a block element and
button regardless of the value of its display property can be inside
p, but I thought I'd double check.
Hi Violet 82
I don't see anything wrong with that!
might want to let a more skilled member of the community confirm this though ;)
Is it acceptable to have the button before the text of the paragraph?
So from an HTML standards perspective, that will validate. So is that what you mean by acceptable?
That's right JorgeM, mainly validation. Thanks
I have a checkbox input switch set up over the Input text box that acts as an on/off switch for that particular field. I am also using jQuery Validator (jqueryvalidation.org) ...
For some reason when I click on my simple input box, the input box does not accept focus. Has anyone has a solution fot this? Here is a link ...
hello, i've bee searching for this from a while but i couldn't find an answer of my quetion, so i have 2 div with width 100% and heighh is really ...