Answers for "div tag line"

CSS
1

css prevent new line div

// The div tag is a block element that causes a new line by default/design.
// You should use a <span> element instead, which is inline.
// Although it's bad form, you can add style="display: inline;" to a div.
Posted by: Guest on November-07-2020
0

how to add div in new line

<div align="center" style="display: block; block; width: 100%; border: blue 1px solid; [COLOR="#FF0000"]clear:both;[/COLOR]">
Posted by: Guest on August-19-2020

Browse Popular Code Answers by Language