Forum Moderators: not2easy
This . . . . . . . . . That | The Other <style>
.left { float: left }
.rt { float: right }
.clear { clear: both }
.mobile { display: none }
@media only screen and (max-width: 660px) {
.mobile { display: block }
}
</style>
<div>
<div onClick="showSub()">
This
<div class="rt">
That
<div class="rt mobile">
| The Other
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
...
</div> <style>
.left { float: left }
.rt { float: right }
.clear { clear: both }
.mobile { display: none }
@media only screen and (max-width: 660px) {
.showsub { margin-right: 50px }
.mobile { display: block }
}
</style>
<div>
<div class="showsub" onClick="showSub()">
This
<div class="rt">
That
</div>
<div class="clear"></div>
</div>
<div class="rt mobile">
| The Other
</div>
<div class="clear"></div>
...
</div>