Whats wrong with my code?

Discussion in 'HTML & Website Design' started by moneyzeal, Oct 27, 2008.

  1. #1
    I am using blogger. I am trying to add a modified "Subscription" item in my blog header. But blogger is not accepting my code.

    Here it is:
    <div style=" width:390px; height: 60px; float: right; padding-top: 19px">
    <a href="http://feeds.feedburner.com/Moneyzealblogspotcom"><img src="Image url" width="186" height="50" border="0" ></a>
    <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2142760"><img src="image url" width="186" height="48" border="0"></a></div>

    Whats the problem with my code? Anyone knows any solution to this problem?
    Please help me.
     
    moneyzeal, Oct 27, 2008 IP
  2. Sean@WMS

    Sean@WMS Peon

    Messages:
    134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    
    <img src="Image url" . . . >
    
    Code (markup):
    You need to put in an actual URL where you have "Image url". Something like "/images/myImage.png" -- wherever the image actually resides and what it's name is.
     
    Sean@WMS, Oct 27, 2008 IP
  3. moneyzeal

    moneyzeal Peon

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hey, I didnt use the actual image url here.I dont have problem in defining image url. But Blogger is not accepting my code.
     
    moneyzeal, Oct 27, 2008 IP
  4. Sean@WMS

    Sean@WMS Peon

    Messages:
    134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok, wasn't sure; you'd be surprised at the noobs up in here.

    Can you provide some real data we can peep it? PM it if you have to.
     
    Sean@WMS, Oct 27, 2008 IP
  5. moneyzeal

    moneyzeal Peon

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ok, If you just take a look at my blog, you will see that "subscribe"( in the top right corner) is not working. So, I decided to use two different image to use as RSS subscription and Email updates. The existing element is defined as follows:
    CSS:
    .subscribe{background:url(http://i254.photobucket.com/albums/hh92/eblogtemplates/wppremium/subscribebg_red.png) bottom left no-repeat; float:right; height:60px; position:absolute; right:0px; top:0px; width:383px}
    .subscribeform{float:left; overflow:hidden; padding:5px 0pt 0pt 18px}
    .subscribeform p{margin:0; padding:0; font:bold 14px Arial,Helvetica,sans-serif; color:#fff}
    .subscribeform .input{ width:188px; height:21px; padding:12px 5px 0 5px; border:none; background:url(http://i254.photobucket.com/albums/hh92/eblogtemplates/wppremium/sinputbg.png) no-repeat}

    .sbutton{width:74px; padding:5px 0 5px 0; text-align:center; font:bold 11px Arial,Helvetica,sans-serif; cursor:pointer; border:none; background:url(http://i254.photobucket.com/albums/hh92/eblogtemplates/wppremium/b_subscribebg_red.png) no-repeat}

    .rss{float:left; padding:8px 0 0 19px; margin:0px; height:46px; width:46px; background:url(http://i254.photobucket.com/albums/hh92/eblogtemplates/wppremium/rss.gif) no-repeat 19px 8px}
    Html:
    <div class='subscribe'>
    <a href='http://feeds.feedburner.com/Moneyzealblogspotcom'><span class='rss'/></a>

    <div class='subscribeform'>
    <p>Subscribe via Email </p>
    <form action='http://www.feedburner.com/fb/a/emailverify' method='post' onsubmit='window.open(&apos;http://www.feedburner.com&apos;, &apos;popupwindow&apos;, &apos;scrollbars=yes,width=550,height=520&apos;);return true' target='popupwindow'>
    <input class='input' name='email' type='text' value=''/>
    <input name='url' type='hidden' value='http://feeds.feedburner.com/~e?ffid=http://feeds.feedburner.com/ Moneyzealblogspotcom'/>
    <input name='title' type='hidden' value='Earn money while using yahoo'/>
    <input class='sbutton' type='submit' value='Subscribe'/>
    </form>
    </div>
    </div><!-- subscribe -->

    Here where I did is, delete the CSS completely and replace the html with this code(Exactly):

    <div style=" width: 390px;float: right; padding-top: 19px; height:55px;">
    <a href="http://feeds.feedburner.com/Moneyzealblogspotcom"><img src="http://i314.photobucket.com/albums/ll409/moneyzeal/RSS-button.png" width="186" height="50" border="0" ></a>
    <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2142760"><img src="http://i314.photobucket.com/albums/ll409/moneyzeal/Email-updates.png" width="186" height="48" border="0"></a></div>

    But I am wondering, blogger is not accepting my changes. Can you figure out the actual problem? Thanks.
     
    moneyzeal, Oct 27, 2008 IP
  6. Sean@WMS

    Sean@WMS Peon

    Messages:
    134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks; I'll look at it in detail tomorrow PDT afternoon.

    Meanwhile, please consider using BBCode in your posts; it just makes reading all of this easier. See BBCode.org for syntax.
     
    Sean@WMS, Oct 27, 2008 IP
  7. Sean@WMS

    Sean@WMS Peon

    Messages:
    134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I'm also wondering why you are using blogger.com when you want to control over your display or content? Why not install WordPress so that you have total control?
     
    Sean@WMS, Oct 27, 2008 IP
  8. moneyzeal

    moneyzeal Peon

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I dont understand wordpress and another reason is, now I think it would not be a wise decision to move my blog to wordpress.
     
    moneyzeal, Oct 27, 2008 IP
  9. Sean@WMS

    Sean@WMS Peon

    Messages:
    134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Please see my ealier post on this thread.

    But honestly, you do need to grow up and grab on to using WordPress.org

    As for the "wise decision" part, that's what development environments are for.

    Trust me, go WP.org and you'll have ultimate control over everything on you blog.
     
    Sean@WMS, Oct 27, 2008 IP
  10. moneyzeal

    moneyzeal Peon

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Thanks for your suggestions.I will think about it. But for now, I really need my code to be accepted by blogger.
     
    moneyzeal, Oct 28, 2008 IP