HighDots Forums  

div span float left

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss div span float left in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alred Wallace
 
Posts: n/a

Default div span float left - 02-07-2007 , 08:34 PM






Hi all,

Here is the code i want to be ok on mozilla.
who can help???

copy paste the code in an html document:it works on (ie) but not on mozzzz.
all javascript functions are OK.
My probleme is CSS, float,div and span or display??

THX
_________________________________________

<script>
function alb_aff( a_id ){


aff_id = document.getElementById('alb_cont['+a_id+']')
if( aff_id.style.display == 'block')
aff_id.style.display = 'none';
else
aff_id.style.display = 'block';
}
function myopen( url , w , h ){
window.open(
url,
'_blank',
'directories=0,scrollbar=0,menubar=0,statusbar=yes
,width='+w+',height='+h
);

}
</script>
<style>
..alb_{
float:left

}
..alb_bar{
width:100%;

height:15px;
background:#ccccff;
border:0px solid red
}
..alb_aff{
width:15px;
}
..alb_titre{
width:150px;
}
..alb_date{
width:75px;
}
..alb_mod{
width:15px;
}
..alb_cont{
width:100%;

display:none;
border:1px solid red
}
..spacer50{
width:50px;
}
..chan_nom{
width:250px;
}

</style>






<div class="alb_bar">
<div class="alb_ alb_aff">
<a style="display:block" href="#" onclick='javascript:alb_aff(20)'
Quote:
plus</a
/div
<div class="alb_ alb_titre">&nbsp;</div>
<div class="alb_ alb_date">07 02 2007</div>
<div class="alb_ alb_mod">
<a onclick="myopen('page/ecoute/a_insert.php?a_id=20',400,150)">M</a>
</div>
<div class="alb_ alb_mod">20</div>
</div>



<div class="alb_cont" id='alb_cont[20]' >
<a onclick="myopen('page/ecoute/b_insert.php?a_id=20',400,150)">
Nouvelle chanson ......</a>


<div class="alb_ alb_aff">
<a style="display:block" href="#" onclick='javascript:alb_aff(20)' >@</a>
</div>
<div class="alb_ spacer50">&nbsp;</div>
<div class="alb_ chan_nom">ddddddddddd</div>


</div>





<div class="alb_bar">
<div class="alb_ alb_aff">
<a style="display:block" href="#" onclick='javascript:alb_aff(19)'
Quote:
plus</a
/div
<div class="alb_
alb_titre">ffffffffffffffffffffffffffffffffffff&nb sp;</div>
<div class="alb_ alb_date">07 02 2007</div>
<div class="alb_ alb_mod">
<a onclick="myopen('page/ecoute/a_insert.php?a_id=19',400,150)">M</a>
</div>
<div class="alb_ alb_mod">19</div>
</div>



<div class="alb_cont" id='alb_cont[19]' >
<a onclick="myopen('page/ecoute/b_insert.php?a_id=19',400,150)">
Nouvelle chanson ......</a>


<div class="alb_ alb_aff">
<a style="display:block" href="#" onclick='javascript:alb_aff(19)' >@</a>
</div>
<div class="alb_ spacer50">&nbsp;</div>
<div class="alb_ chan_nom">qsfzfze</div>


</div>

__________________________________________________ ___________________________




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.