need help with some code in my site...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asafok
    New Member
    • Aug 2007
    • 10

    need help with some code in my site...

    I have the attached code is the site i'm working on and I need to remove the <br/>
    node that comes after the " <div id="win_233906" ... "
    my question is : how can I get access to the <br/> and how can I replace it with an empty string or even remove it completely.

    The Code:
    [CODE=html]<table>
    <tr>
    <td valign="top" style="width: 140px; direction: rtl; background-color: rgb(153, 203, 228);
    height: 321px;">
    <div id="win_233906 " style="height: 177px" onclick="return win_233906_oncl ick()">
    <div id="win_header_ 233906" style="backgrou nd-image: url(index432.jp eg);">
    <a class="changeLi nk14" href="/site/flash/flashList.asp?l ine_id=233906"> חדשות ועדכונים</a>
    </div>
    <div id="win_flash_2 33906">
    <ul>
    <li><a class="changeLi nk14" href="/site/flash/flashDetail.asp ?flash_id=19196 9">ניסיון
    2</a> </li>
    <li><a class="changeLi nk14" href="/site/flash/flashDetail.asp ?flash_id=19196 8">ניסיון
    1</a> </li>
    </ul>
    </div>
    </div>
    <br /> <------------ need to remove this!
    </td>
    </tr>
    </table> [/CODE]

    it's very urgent so i really need your help!!!
    Last edited by eWish; Dec 4 '07, 02:11 PM. Reason: Added Code Tags
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    html/css is not a programming language so it cannot do this. Check with the javascript board.

    Comment

    • mrhoo
      Contributor
      • Jun 2006
      • 428

      #3
      Some browsers use adjacent selectors, so your css could include

      #win_233906 + br{display:none }

      But I think it is more urgent for you to get that mess out of the table.

      Comment

      • Death Slaught
        Top Contributor
        • Aug 2007
        • 1137

        #4
        I completely agree with mrhoo.

        [HTML]<html>

        <head>
        <style type="text/css">

        td {
        width:140px;
        height:321px;
        direction:rtl;
        background-color: rgb(153, 203, 228);
        }

        #win_233906 {
        height:177px;
        }

        #win_header_233 906 {
        background-image: url('index432.j peg);
        }

        </style>
        </head>

        <body>

        <table>
        <tr>
        <td<html>

        <head>
        <style type="text/css">

        td {
        width:140px;
        height:321px;
        direction:rtl;
        background-color: rgb(153, 203, 228);
        }

        #win_233906 {
        height:177px;
        }

        #win_header_233 906 {
        background-image: url('index432.j peg);
        }

        </style>
        </head>

        <body>

        <table>
        <tr>
        <td valign="top">

        <div id="win_233906 " onclick="return win_233906_oncl ick()">



        <div id="win_header_ 233906">

        <a class="changeLi nk14" href="/site/flash/flashList.asp?l ine_id=233906"> ????? ????????</a>

        </div>

        <div id="win_flash_2 33906">

        <ul>
        <li><a class="changeLi nk14" href="/site/flash/flashDetail.asp ?flash_id=19196 9">?????? 2</a></li>
        <li><a class="changeLi nk14" href="/site/flash/flashDetail.asp ?flash_id=19196 8">?????? 1</a></li>
        </ul>

        </div>

        </div>

        </td>
        </tr>
        </table>

        </body>

        </html>[/HTML]

        Much better.

        Thanks, Death

        Comment

        Working...