Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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. 
 
PREVIOUS NEXT
Tagged: #css #prevent #line #div
ADD COMMENT
Topic
Name
1+8 =