Traditional Culture Encyclopedia - Weather inquiry - How to add weather forecast to your own space?

How to add weather forecast to your own space?

Add weather forecast

[1] Go to Settings-> Advanced Settings.

[2] Click "Custom CSS" on the right to let you: Edit CSS files directly to achieve personalized effect. Let's start customizing.

[3] Add the following complete code at the bottom.

# comm _ info div . line { margin-top:8px; Line height:10px; border-top:2px solid # BBC 1c 6; Background: url(/sign.png) has no duplicate bottom; Fill-bottom:100px; Margin-bottom: 25px} where /sign.png is a picture, you can make it yourself and upload it to an album.

You can also add a clock:

The specific practice is as follows

Locate the line #header div.rc and replace it with the following code.

# header div . RC { background:URL(" JavaScript:document . body . onload = function(){ if(document . getelementbyid(" header ")){ var aminganjie = document . getelementbyid(" header "); aminganjie.innerHTML = " & ltdiv & gt& ltembed src = \ ' http://ys 168.9 1 . TC/flash/clock _ 1 . swf \ ' wmode = transparent style = \ ' position:absolute \ ' width = 100% height = 300 & gt; & lt/div & gt; "+aminganjie . innerhtml; }}"); Change the height =300 to 300, and it will be smaller when it is a little bit.