471,603 Members | 1,439 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,603 software developers and data experts.

need help with some code in my site...

10
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:
Expand|Select|Wrap|Line Numbers
  1. <table>
  2.         <tr>
  3.             <td valign="top" style="width: 140px; direction: rtl; background-color: rgb(153, 203, 228);
  4.                 height: 321px;">
  5.                 <div id="win_233906" style="height: 177px" onclick="return win_233906_onclick()">
  6.                     <div id="win_header_233906" style="background-image: url(index432.jpeg);">
  7.                         <a class="changeLink14" href="/site/flash/flashList.asp?line_id=233906">חדשות ועדכונים</a>
  8.                     </div>
  9.                     <div id="win_flash_233906">
  10.                         <ul>
  11.                             <li><a class="changeLink14" href="/site/flash/flashDetail.asp?flash_id=191969">ניסיון
  12.                                 2</a> </li>
  13.                             <li><a class="changeLink14" href="/site/flash/flashDetail.asp?flash_id=191968">ניסיון
  14.                                 1</a> </li>
  15.                         </ul>
  16.                     </div>
  17.                 </div>    
  18.                 <br />  <------------ need to remove this!
  19.             </td>
  20.         </tr>
  21.     </table>  
it's very urgent so i really need your help!!!
Dec 4 '07 #1
3 1210
drhowarddrfine
7,435 Expert 4TB
html/css is not a programming language so it cannot do this. Check with the javascript board.
Dec 4 '07 #2
mrhoo
428 256MB
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.
Dec 5 '07 #3
Death Slaught
1,137 1GB
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_233906 {
background-image: url('index432.jpeg);
}

</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_233906 {
background-image: url('index432.jpeg);
}

</style>
</head>

<body>

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

<div id="win_233906" onclick="returnwin_233906_onclick()">



<div id="win_header_233906">

<a class="changeLink14" href="/site/flash/flashList.asp?line_id=233906">????? ????????</a>

</div>

<div id="win_flash_233906">

<ul>
<li><a class="changeLink14" href="/site/flash/flashDetail.asp?flash_id=191969">?????? 2</a></li>
<li><a class="changeLink14" href="/site/flash/flashDetail.asp?flash_id=191968">?????? 1</a></li>
</ul>

</div>

</div>

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

</body>

</html>[/HTML]

Much better.

Thanks, Death
Dec 5 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.