1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Designing Problem in ASP

Discussion in 'C#' started by pushkar, Sep 6, 2006.

  1. #1
    Hi friends.

    I have asp pages in which i have included 2 files Header.asp & Right-Hand.asp.

    The problem is that the <TD> in both files(Header.asp & Right-Hand.asp) should be increase as the content of the current page increase.Besides header.asp also contain header and left side portion in which i want show advertise i mean in both left side & right side.
    SEMrush
    I can't do b'caz i have just include these files in every page.So i can't get idea how to increase the size of included files <TD> according the content of the current page.

    Can anybody have solution????
     
    pushkar, Sep 6, 2006 IP
    SEMrush
  2. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #2
    dude first of all the problem is in your HTML and not ASP

    second, place some examples, otherwise I will have to say you need to check wthether your HTML is correct or no, write there width='100%'
     
    ludwig, Sep 6, 2006 IP
  3. pushkar

    pushkar Peon

    Messages:
    125
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanx ludwig for Reply.

    This is my Right-ad-panel code
    if showRightAd = true then
    %><tr><td class="captionbg1">Ad Zone</td></tr>
    <tr><td height="1010" valign="top" align="center" class="lightbg">
    Fetch advertise from Database
    </td?</tr>
    It is same in header.asp.Now i m colling both file in my search.asp page.
    Now i want that the <td> that i have declared above <td height="1010">should be increase according search data.here i have manually increase the size of <td>.There is also issue for the advertise.Depend the size of the advertise image this td should increase.

    Now what is the solution???.........
     
    pushkar, Sep 6, 2006 IP
  4. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #4
    please provide an online URL, not what is in your head.asp, left.asp body.asp meta.asp etc................
     
    ludwig, Sep 7, 2006 IP
  5. pushkar

    pushkar Peon

    Messages:
    125
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I cant post live link.I m beginner.
    That is error when submiting.
    Live links and signatures are not available to you yet (read the FAQ).
     
    pushkar, Sep 7, 2006 IP
  6. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #6
    dont post the link, post the URL I can copy and paste it
     
    ludwig, Sep 7, 2006 IP
  7. pushkar

    pushkar Peon

    Messages:
    125
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I cant give u my live URL due to restriction.
    But for problem u can visit UR=www.codeproject.com/soap/betterxml.asp.
    In this URL u can see on left side Orange Column vl increase as content of page increase.

    I want to do like this.
     
    pushkar, Sep 7, 2006 IP
  8. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #8
    Oh I see it now,

    well I guess you want to have white there under the banner

    here is where that happens
    now lets do it like this, put a table inside your td

    put this code and test it
    let me know of the results
     
    ludwig, Sep 7, 2006 IP
  9. pushkar

    pushkar Peon

    Messages:
    125
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanx but stll problem.
    My pages have XHTML designing.
    Can u plz tell me ur email so that i can send u snapshots of problem pages.

    Pushkar
     
    pushkar, Sep 8, 2006 IP
  10. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #10
    you may send it via PM also or you can send me an e-mail via DP
     
    ludwig, Sep 8, 2006 IP