Is it possible to declare CSS for a div
, so that the declared div
will be shown inside a line of text? E.g. a span
can be shown inside text, but how about div? See below or here for an example.
Thanks in advance
This is a * * * Text-Test! * * *
This is a * * * Text-Test! * <span style="position:absolute; width:200px; color:#FF0000; float:left;"><b>This Span is inside the text or line.</b></span>* * This is a * * * Text-Test! * * *<br/>
This is a * * * Text-Test! * * * This is a * * * Text-Test! * * *<br/>
This is a * * * Text-Test! * <div id="Helper" style="position:absolute; background-color:#00FF00; width:100px; height:20px; float:right;">*** This DIV is at the beginning of the text or line. *** </div>* * This is a * * * Text-Test! * * * <br/>
This is a * * * Text-Test! * * * This is a * * * Text-Test! * * *
` tag is invalid according to html standards.
– Ruchir Gupta Jul 29 '14 at 17:07