Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Span for description not working

Reply
Thread Tools

Span for description not working

 
 
Richard
Guest
Posts: n/a
 
      01-27-2005
So I've been working with this span thing for a descriptions use.
Problem with it is, it only works within the division where I have the span.
Using position absolute top 0 left 0, puts the box in the upper left corner
of the thumbs division, not the window.
The text of, disappears out under the borders of the menu.
The span block sits on top of the thumbnail blocking the thumbnail.
I need a way of moving the span block entirely out of the menu system.
Any ideas appreciated.


 
Reply With Quote
 
 
 
 
Disco Octopus
Guest
Posts: n/a
 
      01-27-2005
Richard wrote :
> So I've been working with this span thing for a descriptions use.


WTF are you talking about?



> Problem with it is, it only works within the division where I have the span.
> Using position absolute top 0 left 0, puts the box in the upper left corner
> of the thumbs division, not the window.


WTF are you talking about?



> The text of, disappears out under the borders of the menu.


WTF are you talking about?




> The span block sits on top of the thumbnail blocking the thumbnail.


WTF are you talking about?



> I need a way of moving the span block entirely out of the menu system.


WTF are you talking about?




> Any ideas appreciated.


Is that because you have no idea?

--
eat beef jerky

 
Reply With Quote
 
 
 
 
Richard
Guest
Posts: n/a
 
      01-27-2005
On Wed, 26 Jan 2005 19:33:49 -0600 Richard wrote:

> So I've been working with this span thing for a descriptions use.
> Problem with it is, it only works within the division where I have the
> span.
> Using position absolute top 0 left 0, puts the box in the upper left
> corner
> of the thumbs division, not the window.
> The text of, disappears out under the borders of the menu.
> The span block sits on top of the thumbnail blocking the thumbnail.
> I need a way of moving the span block entirely out of the menu system.
> Any ideas appreciated.



Most interesting. In firefox the span block shows outside of the menu just
fine.
In IE, inside the thumbs division.


 
Reply With Quote
 
Richard
Guest
Posts: n/a
 
      01-27-2005
On Thu, 27 Jan 2005 03:21:39 GMT Disco Octopus wrote:

> Richard wrote :
>> So I've been working with this span thing for a descriptions use.


> WTF are you talking about?



Let me guess, Homer Simpson was your English teacher right?
Shows how S-M-R-T you are.


 
Reply With Quote
 
Daniel Ruscoe
Guest
Posts: n/a
 
      01-27-2005
In article <>, Richard says...
> So I've been working with this span thing for a descriptions use.
> Problem with it is, it only works within the division where I have the span.
> Using position absolute top 0 left 0, puts the box in the upper left corner
> of the thumbs division, not the window.
> The text of, disappears out under the borders of the menu.
> The span block sits on top of the thumbnail blocking the thumbnail.
> I need a way of moving the span block entirely out of the menu system.
> Any ideas appreciated.


A URL would be helpful as I can't quite figure out your problem here,
but would it not be easier to simply move the span out of the thumbs div
altogether?
 
Reply With Quote
 
Richard
Guest
Posts: n/a
 
      01-27-2005
On Thu, 27 Jan 2005 04:46:23 +0000 (UTC) Daniel Ruscoe wrote:

> In article <>, Richard says...
>> So I've been working with this span thing for a descriptions use.
>> Problem with it is, it only works within the division where I have the
>> span.
>> Using position absolute top 0 left 0, puts the box in the upper left
>> corner
>> of the thumbs division, not the window.
>> The text of, disappears out under the borders of the menu.
>> The span block sits on top of the thumbnail blocking the thumbnail.
>> I need a way of moving the span block entirely out of the menu system.
>> Any ideas appreciated.


> A URL would be helpful as I can't quite figure out your problem here,
> but would it not be easier to simply move the span out of the thumbs
> div
> altogether?


Sure. Then the span item would not be associated with the appropriate <a>
tag.
My script works fine but the hover description would be a nice touch for
when JS is turned off.

Basically what I have is this:

a span {display: none;}
a:hover span {display: block;
width: 250px; position:absolute; top:0px; left:0px;
padding: 5px; margin: 10px;
color: #0f0; background: black;
font: 13pt Verdana, sans-serif; text-align: center;}

Then in the thumbs division I have this:

<img src="images/thmb001.jpg" alt=""
onclick="document.main.src='images/barrod-galaxy.jpg',
main.alt='galaxy'"><span>Bar Red Galaxy</span></a>

IE shows the block only within the thumbs division.
Makes no difference with a z-index.
My thought is because the menu itself is using position:absolute it is over
riding any other uses of it.



 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      01-27-2005
"Richard" <Anonymous@127.001>

> My thought is because the menu itself is using position:absolute it is

over
> riding any other uses of it.


If you had spent just ten bloody minutes reading the recommendations
regarding how positioning works, including understanding[1] the concept of
the containing element, you would already have your asnwer.

[1] alien as that term is


 
Reply With Quote
 
JDS
Guest
Posts: n/a
 
      01-27-2005
On Wed, 26 Jan 2005 22:22:46 -0600, Richard wrote:

> Let me guess, Homer Simpson was your English teacher right? Shows how
> S-M-R-T you are.


What is your deal?

--
JDS |
| http://www.newtnotes.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm looking for html cleaner. Example : convert <h1><span><font>my title</font></span></h1> => <h1>my title</h1>… Stéphane Klein Python 2 03-30-2010 12:35 AM
Re: I'm looking for html cleaner. Example : convert <h1><span><font>my title</font></span></h1> => <h1>my title</h1>… Stefan Behnel Python 0 03-29-2010 08:14 PM
Can span include span? Fulio Open HTML 5 06-26-2009 10:24 PM
DataGrid (body only) contained in <span>...</span> tags Dan Bishop ASP .Net Datagrid Control 2 06-07-2004 04:00 PM
Enable drag and drop to the text between <span></span> Wang, Jay Javascript 5 05-25-2004 09:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57