HighDots Forums  

Re: html/css problem in firefox

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: html/css problem in firefox in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jim Moe
 
Posts: n/a

Default Re: html/css problem in firefox - 12-17-2005 , 02:07 PM






ruby_bestcoder (AT) hotmail (DOT) com wrote:
Quote:
I already posted this in the javascript group, but seemed to be the
wrong place to ask. The code I will post here works in IE, but not in
ff. Its basically a group of li that contain divs. Clicking on one of
the nested divs, should hide/show other nested divs. In ff, the li
(whose div should hide) moves a line up, messing up things totally.

You floated everything in sight. It was really quite unnecessary. I
removed all instances of float:left and changed the rest as shown below.

Try this:
<ul class="sortablelist" id="secondlist" style="height: 150px; width: 200px;">
<li class="orange">
<div style="float: right">
<img src="t_files/min.gif" style="cursor: pointer;" alt=""
onclick="minimizeThis('underMusic', 'musicMin')" height="18" width="20">
<img src="t_files/max.gif" alt="" height="18" width="20">
</div>

<div class="handle" style="background-color: rgb(153, 153, 153);
font-family: Verdana; font-weight: bold;">
&nbsp;Music
</div>

<div id="underMusic" style="padding: 5px; height: 100px;">
text
</div>
</li>
...
</ul>

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
  #2  
Old   
ruby_bestcoder@hotmail.com
 
Posts: n/a

Default Re: html/css problem in firefox - 12-17-2005 , 05:55 PM






Oh great, it works
Thanks


Reply With Quote
  #3  
Old   
Arne
 
Posts: n/a

Default Re: html/css problem in firefox - 12-18-2005 , 02:24 AM



Once upon a time *ruby_bestcoder (AT) hotmail (DOT) com* wrote:

Quote:
Oh great, it works
Thanks
What works? Thanks to who?

How to quote: http://www.netmeister.org/news/learn2quote.html#toc2
From Google: http://www.safalra.com/special/googlegroupsreply/

--
/Arne

Tech Support: Your password is the small letter a as in apple,
a capital letter V as in Victor, the number 7.
Customer: Is that 7 in capital letters?


Reply With Quote
  #4  
Old   
Leonard Blaisdell
 
Posts: n/a

Default Re: html/css problem in firefox - 12-18-2005 , 03:26 AM



In article <40kkkdF1b1085U1 (AT) individual (DOT) net>,
Arne <invalid (AT) domain (DOT) invalid> wrote:

Quote:
Once upon a time *ruby_bestcoder (AT) hotmail (DOT) com* wrote:

Oh great, it works
Thanks

What works? Thanks to who?

How to quote: http://www.netmeister.org/news/learn2quote.html#toc2
From Google: http://www.safalra.com/special/googlegroupsreply/
From now on, assume they are all thanking *me*. If they're cursing,
assume they are all cursing you :-)
Seriously, a pretyped boilerplate response to this stuff is really in
order. I have a small one but have only used it once. Here's mine:

<text>
These offered links do not address your question but are of direct
benefit to you. The links below will help you if you wish to be
helped. This posting is not meant to offend you.

<news:news.announce.newusers>
<http://oakroadsystems.com/genl/unice.htm>
<http://www.safalra.com/special/googlegroupsreply/>
<http://blinkynet.net/comp/uip5.html>
</text>

Someone with authority in the group(s) could make a boilerplate link
that everyone can cite. Perhaps in the allmyfaqs domain and give
everyone a link to post to this stuff instead of answering questions.
Of course, the question is original and doesn't show the problem till
later, but a more clever person than me can figure out the proper
response. The problem is usenet-wide as you know.

leo

--
<http://web0.greatbasin.net/~leo/>


Reply With Quote
  #5  
Old   
ruby_bestcoder@hotmail.com
 
Posts: n/a

Default Re: html/css problem in firefox - 12-19-2005 , 07:46 AM



Sorry all. I wanted to thank Jim Moe. Its solution works great:
Jim Moe wrote:

Quote:
You floated everything in sight. It was really quite unnecessary. I
removed all instances of float:left and changed the rest as shown below.

Try this:
ul class="sortablelist" id="secondlist" style="height: 150px; width: 200px;"
li class="orange"
div style="float: right"
img src="t_files/min.gif" style="cursor: pointer;" alt=""
onclick="minimizeThis('underMusic', 'musicMin')" height="18" width="20"
img src="t_files/max.gif" alt="" height="18" width="20"
/div

div class="handle" style="background-color: rgb(153, 153, 153);
font-family: Verdana; font-weight: bold;"
&nbsp;Music
/div

div id="underMusic" style="padding: 5px; height: 100px;"
text
/div
/li
...
/ul
PS: am a little stressed but I promise I will learn to quote before
posting next time



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.