Micheal Jordan
Micheal Jordan

Reputation: 37

Adding HTML to Wordpress CSS Stylesheet

Is is possible to add an html code to a css style sheet? like setting an css code to work with the html to pass through?

Upvotes: 0

Views: 152

Answers (2)

apaul
apaul

Reputation: 16170

Try this:

<div style="position: fixed; left:0px; top:0px"><script type="text/javascript"><!-- google_ad_client = "ca-pub-2558981689087321"; /* AdVertical */ google_ad_slot = "9183597492"; google_ad_width = 120; google_ad_height = 600; //--> </script> <script type="text/javascript" src="pagead2.googlesyndication.com/pagead/show_ads.js">; </script> </div>

Upvotes: 0

apaul
apaul

Reputation: 16170

I'm not sure what it is you're trying to do... but, as far as I know html can not be placed inside style tags or in external style sheets.

Are you trying to do an inline style? like this:

<p style="color:red;">Hello World?</p>

What have you tried?

Upvotes: 1

Related Questions