Question

unregistered

What is inline style?

Asked by unregistered 2 months ago css

Answers

Gabe
0
 
It is a terrible, terrible idea in most cases, and should be avoided nearly at all costs. See my blog post here for more descriptive reasoning: gabe-harris.com

by Gabe 1 month ago

unregistered
0
 
Inline is where an element is styled within something, eg <div style="color:red"> <span style="color:green">Inline</span></div>

if you used this on a website every text outside the span tags would be red, but the INLINE styling of the span means that it is green.

It can also refer to the display:inline in css which causes a list to flow horizontally. I do not know of any other uses for the inline, apart from you can use it to display two divs side by side.

by unregistered 1 month ago

Diego.navarro
0
 
More than a style "inline" is a value of the property "display" CSS, and makes the html tag will become a tag line.

by Diego.navarro 2 months ago

Andrew Miller
0
 
Inline style is where an element is styled within the tags. E.g.
[code] <p color: Red;> This text will be red</p> [/code]

It will override any style set within the style sheet or between the style tags in the document.

by Andrew Miller 2 months ago

Answer this question

What is inline style?

0 errors found:

 
0