javascript - Problems with IE7 keeping two buttons in a same line -
I have problems with IE7.
I'm trying to put 2 buttons in the same line .. but this is not working for IE 7 only in all other browsers, it works as it should be (IE 6 will not be checked, it will not check). This is a picture so that you can know what I mean
You see that this black border is just something I keep, so I can see that How long my glass is long Which CSS style should you want to be in the same line of buttons thanks
UPDATE-> Here's some HTML:
& lt; Div style = "border: 1px solid; width: 300px; height: 30px; float: left; padding: 0; margin: 0; text-align: left;" & gt; & Lt; A class = "Button Good Button" & gt; & Lt; Div id = "first" square = "action_button" & gt; Edit category & lt; / Div & gt; & Lt; / A & gt; & Lt; A class = "Button Good Button" & gt; & Lt; Div id = "action_delete" class = "action_button1" & gt; DELETE RECORDS & lt; / Div & gt; & Lt; / A & gt; & Lt; / Div & gt;
in the left one float: left;
should be correct and float: true;
and to clear: both
with div
with the
button
s.
Example:
& lt; Div class = "buttons" & gt; & Lt; Button class = "left" & gt; Left button & lt; / Button & gt; & Lt; Button class = "right" & gt; Right button & lt; / Button & gt; & Lt; / Div & gt; With
.buttons {width: 300px; }. Left {float: left; } .right {float: right; }
Comments
Post a Comment