Question
What is inline style?
Answers
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
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.
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.
More than a style "inline" is a value of the property "display" CSS, and makes the html tag will become a tag line.
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.
[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.

