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

Member
Registered
Joined
Jul 7, 2012
Messages
46
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
6
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>
 
Older Threads
Replies
4
Views
2,651
Replies
4
Views
3,043
Replies
0
Views
2,176
Replies
4
Views
5,444
Latest Threads
Replies
0
Views
62
Replies
0
Views
214
Replies
0
Views
93
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

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