cancel
Showing results for 
Search instead for 
Did you mean: 

inline small css

inline small css

Hello Everybody,

 

This is my first thread and post here.

 

I own a store and want to know how to inline small css.

 

What are the exact and actual code to do so?

 

I am not at all good at coding so kindly give me actual and exact code.

 

Thank you!

2 REPLIES 2

Re: inline small css

Hi Abhishek,

 

You can write inline css into any HTML tag In magento you will check template file under template folder

File path:- add/design/frontend/base/default/template 

                  add/design/adminhtml/default/default/template 

Ex:- <div style="background-color:black; color:white; padding:20px;">Test</div>

Re: inline small css

Inline CSS simple means simply putting the CSS in to HTML

Actual code for inline CSS :

<style>
body{background: #f5f5f5;}
a{color: #24890d; text-decoration: none;}
h1{font-size: 26px;line-height: 1.3846153846;}
</style>