I have an application here wheree when user clicks on the plus button, it displays a modal window.
Problem is that I want the close button to appear on the right hand side of the window, on the same line as the “PREVIOUS QUESTIONS” heading. But it doesn’t seem to be moving to the right at all. What am I doing wrong?
Below is the code:
HTML:
<div class="previouslink">
<h1>PREVIOUS QUESTIONS</h1>
<button type="button" id="close" onclick="return closewindow();">Close</button>
</div>
CSS:
#close{
float:right;
display:block;
margin-right:0px;
clear:left;
}
There is an error in your
QandATableStyle2.cssfile.Remove
;after:And it should work fine.
;character prevents#closedefinition from loading.