HTML button not working after adding css to a h3 -
i wanted h3 aligned buttons made position absolute , couple other things. if want view problem can go here. don't know else use describe problem. oh , show once upon time season 5. appreciated greatly.
try these changes in html code
<form method="get"> <h3 class="watching_what"> <button class="change" style="float:left;" type="submit" name="episode_num" value="0">previous</button> watching episode 1 <button class="change" style="float:right;" type="submit" name="episode_num" value="2">next</button> </h3> </form>
and in css code remove transform property
.watching_what { text-align: center; color: 003099; position: absolute; /* position: element(#target); */ /* transform: translatey(-100%); */ left: 0px; right: 0px; padding-top: 18pt; padding-bottom: 18pt; }
Comments
Post a Comment