Need help with html code!

Discussion in 'other software & services' started by ratchet, Jan 8, 2012.

Thread Status:
Not open for further replies.
  1. ratchet

    ratchet Registered Member

    Joined:
    Feb 20, 2006
    Posts:
    1,906
    I installed this WeatherUnderground widget with the following html code but it doesn't render properly. Also, I can't figure out how to set the location on the desktop or move it. This is on an XP system with a 1600x900 resolution monitor and the actual code added to the destop is in blue. The border you see is actually just part of the wallpaper. The issue is the large block of white instead of just the widget! Thank you!
    <span style="display: block !important; width: 180px; text-align: center; font-family: sans-serif; font-size: 12px;"><a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=zmw:16354.1.99999&bannertypeclick=wu_blueglass" title="Titusville, Pennsylvania Weather Forecast"><img src="http://weathersticke...&ForcedState=PA&zipcode=16354&language=EN" alt="Find more about Weather in Titusville, PA" width="160" /></a><br><a href="http://www.wunderground.com" title="Get latest Weather Forecast updates" style="font-family: sans-serif; font-size: 12px">Click for weather forecast</a></span>

    http://img856.imageshack.us/img856/9968/screenshot001sdl.jpg

    Uploaded with ImageShack.us
     
  2. JRViejo

    JRViejo Global Moderator

    Joined:
    Jul 9, 2008
    Posts:
    20,922
    Location:
    U.S.A.
    ratchet, first, see if this helps: How to add a Weather Sticker to your Desktop (Windows only)

    I don't run XP, however, I copied your HTML code (don't know why your img scr is in blue but that particular code is truncated) into Notepad, saving it as widget.html, and it rendered just fine, when opened in IE9. Below is the code for your review:
    Code:
    <span style="display: block !important; width: 180px; text-align: center; font-family: sans-serif; font-size: 12px;"><a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=zmw:16354.1.99999&bannertypeclick=wu_blueglass" title="Titusville, Pennsylvania Weather Forecast"><img src="http://weathersticker.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=wu_blueglass&airportcode=KFKL&ForcedCity=Titusville&ForcedState=PA" alt="Find more about Weather in Titusville, PA" width="160" /></a><br><a href="http://www.wunderground.com" title="Get latest Weather Forecast updates" style="font-family: sans-serif; font-size: 12px">Click for weather forecast</a></span>
    2012-01-08_215414.gif
     
  3. ratchet

    ratchet Registered Member

    Joined:
    Feb 20, 2006
    Posts:
    1,906
    Thank you for the reply! I'm thinking it has something to do with my monitor's resolution. Oh how I miss a functioning WeatherPulse (The Weather Channel now charging such programs for their data). All of the weather sites have programs but they all have tool bar type things.
     
Loading...
Thread Status:
Not open for further replies.