What is inline CSS?

silverice@282

New member
Joined
Sep 3, 2013
Messages
10
Points
0
Hi guys,

I'm a newbie. Could you tell me what the inline css is ....

Much appreciated....
 

Dmoz

New member
Joined
Jul 7, 2012
Messages
121
Points
0
Inline in Css as I knew then it will remove all padding, margin from its element, It's different from block in Css.
 

akashverma773

New member
Joined
Aug 23, 2013
Messages
10
Points
0
An inline style loses many of the advantages of style sheets by mixing content with presentation. Use this method sparingly!

To use inline styles you use the style attribute in the relevant tag. The style attribute can contain any CSS property. The example shows how to change the color and the left margin of a paragraph.

<p style="color:sienna;margin-left:20px">This is a paragraph.</p>
 
Latest threads
Replies
1
Views
7
Replies
1
Views
6
Replies
1
Views
124
Recommended threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top