HighDots Forums  

display: inline question?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss display: inline question? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Geoff Cox
 
Posts: n/a

Default display: inline question? - 04-26-2008 , 12:11 PM






Hello,

I am using the following css

..hiddenDiv2 {
display: none;
}

..visibleDiv2{
display: inline;
}

which works fine after one of the first set of mypitch1 and
notmypitch1 images has been clicked, in that the titles and images for
Tests 2, 3 and 4 all appear in the same place on the page.

After Test 1 though Test 2 appears lower down the page - how can I get
all 4 sets in the same position?

Cheers

Geoff

<div id="test1" class="visibleDiv2">
<h3>Test 1:</h3>
<IMG alt="image" id="a10" src="../assets/images/play1.gif"
onclick="musicSelect(this);">
</div>
<div id="test11" class="hiddenDiv2">
<IMG alt="image" id="a11" src="../assets/images/mypitch1.gif"
onclick="checkThisFirst(this);">
<IMG alt="image" id="a12" src="../assets/images/notmypitch1.gif"
onclick="checkThisSecond(this);">
</div>

<div id="test2" class="hiddenDiv2">
<h3><em>Test 2:</em></h3>
<IMG alt="image" id="a20" src="../assets/images/play1.gif"
onclick="musicSelect(this);">
</div>
<div id="test21" class="hiddenDiv2">
<IMG alt="image" id="a21" src="../assets/images/mypitch1.gif"
onclick="checkThisFirst(this);">
<IMG alt="image" id="a22" src="../assets/images/notmypitch1.gif"
onclick="checkThisSecond(this);">
</div>

<div id="test3" class="hiddenDiv2">
<h3>Test 3:</h3><IMG alt="image" id="a30"
src="../assets/images/play1.gif" onclick="musicSelect(this);">
</div>
<div id="test31" class="hiddenDiv2">
<IMG alt="image" id="a31" src="../assets/images/mypitch1.gif"
onclick="checkThisFirst(this);">
<IMG alt="image" id="a32" src="../assets/images/notmypitch1.gif"
onclick="checkThisSecond(this);">
</div>

Reply With Quote
  #2  
Old   
Geoff Cox
 
Posts: n/a

Default Re: display: inline question? - 04-26-2008 , 04:43 PM






On Sat, 26 Apr 2008 18:11:12 +0100, Geoff Cox <gcox (AT) freeuk (DOT) notcom>
wrote:


sorted - the problem was in another part of the code!

Cheers

Geoff

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

Default Re: display: inline question? - 04-27-2008 , 01:27 PM




Geoff Cox wrote:
Quote:
On Sat, 26 Apr 2008 18:11:12 +0100, Geoff Cox <gcox (AT) freeuk (DOT) notcom
wrote:

sorted - the problem was in another part of the code!
That's one reason why you should always post a URL instead of code snippets.

--
Berg


Reply With Quote
  #4  
Old   
Geoff Cox
 
Posts: n/a

Default Re: display: inline question? - 04-29-2008 , 07:30 AM



On Sun, 27 Apr 2008 13:27:52 -0500, Bergamot <bergamot (AT) visi (DOT) com>
wrote:

Quote:
Geoff Cox wrote:
On Sat, 26 Apr 2008 18:11:12 +0100, Geoff Cox <gcox (AT) freeuk (DOT) notcom
wrote:

sorted - the problem was in another part of the code!

That's one reason why you should always post a URL instead of code snippets.
Berg,

the difficulty there is that the site is password protected until
finished ....

Cheers

Geoff




Reply With Quote
  #5  
Old   
Andy Dingley
 
Posts: n/a

Default Re: display: inline question? - 04-29-2008 , 07:40 AM



On 29 Apr, 13:30, Geoff Cox <g... (AT) freeuk (DOT) notcom> wrote:
Quote:
That's one reason why you should always post a URL instead of code snippets.

Berg,

the difficulty there is that the site is password protected until
finished ....
I've uploaded your answer, but I'm afraid that Homeland Security
prevents me from posting its location.here.


Reply With Quote
  #6  
Old   
Bergamot
 
Posts: n/a

Default Re: display: inline question? - 04-29-2008 , 08:37 AM




Geoff Cox wrote:
Quote:
On Sun, 27 Apr 2008 13:27:52 -0500, Bergamot <bergamot (AT) visi (DOT) com
wrote:

That's one reason why you should always post a URL instead of code snippets.

the difficulty there is that the site is password protected until
finished ....
And that stops you from making a test page and uploading it somewhere
that is *not* password protected? Yet you expect us to do that for you...

Not very conducive to getting the help you seek, dontcha think?

--
Berg


Reply With Quote
  #7  
Old   
Geoff Cox
 
Posts: n/a

Default Re: display: inline question? - 05-04-2008 , 12:45 AM



On Tue, 29 Apr 2008 08:37:26 -0500, Bergamot <bergamot (AT) visi (DOT) com>
wrote:

Quote:
Geoff Cox wrote:
On Sun, 27 Apr 2008 13:27:52 -0500, Bergamot <bergamot (AT) visi (DOT) com
wrote:

That's one reason why you should always post a URL instead of code snippets.

the difficulty there is that the site is password protected until
finished ....

And that stops you from making a test page and uploading it somewhere
that is *not* password protected? Yet you expect us to do that for you...

Not very conducive to getting the help you seek, dontcha think?
You are right - will do that the next time. All is well now - I found
an error in another part of the code.

Thanks

Geoff


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.