By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,718 Members | 1,220 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,718 IT Pros & Developers. It's quick & easy.

Any explanations as to why IE won't do it right?

P: n/a
http://somestuff.batcave.net/menu2.html

Attempting to overcome the problem with span and IE.
As you'll see in IE, the span block appears totally within the boundaries of
the "thumbs" division and is cut off from view.
In Firefox, the span block is shown on top of the menu with the absolute
position based upon the "home" location.

What can be done to correct this so that the span block will show where I
want it?

This method would be nice to use so that those with JS turned off will still
see the larger images.

Jul 23 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Richard wrote:
http://somestuff.batcave.net/menu2.html

Attempting to overcome the problem with span and IE.
As you'll see in IE, the span block appears totally within the boundaries of
the "thumbs" division and is cut off from view.
In Firefox, the span block is shown on top of the menu with the absolute
position based upon the "home" location.

What can be done to correct this so that the span block will show where I
want it?

This method would be nice to use so that those with JS turned off will still
see the larger images.


For a start, you've got a <P> inside a <SPAN> element. Bad.

Secondly, this is a horrible effect.

--
Oli
Jul 23 '05 #2

P: n/a
rf
"Richard" <An*******@127.001> wrote
http://somestuff.batcave.net/menu2.html

Attempting to overcome the problem with span and IE.
As you'll see in IE, the span block appears totally within the boundaries of

What "span block"?

In any case span is, by default, an inline element so to call it a span
"block" is totally misleading.

Ah I see you have changed its display property to block with CSS, presumably
because you can't use a div there.

This idea was originally published here by brucie IIRC. Yep, it was.
the "thumbs" division and is cut off from view.
In Firefox, the span block is shown on top of the menu with the absolute
position based upon the "home" location.
Didn't I answer this yesterday? Go over to the recommendation and read up on
positioning (which you claim to know So Much about) and containing elements.
Not parent elements. Not the root element of the DOM. Containing elements.
Then consider IE's broken box model re same.
What can be done to correct this so that the span block will show where I
want it?


Shove it in the toilet.

This page is totally stuffed in both IE and FF.
Jul 23 '05 #3

P: n/a
Richard wrote:
http://somestuff.batcave.net/menu2.html
"<noscript><h2>Your javascript is turned off. Links to images will not
work.<br>
You will be redirected to another page.</h2></noscript>"

How are you going to redirect if JavaScript is off? <lol>
Attempting to overcome the problem


You'll never be able to do that. Find another hobby.

--
-bts
-This space intentionally left blank.
Jul 23 '05 #4

P: n/a
On Fri, 28 Jan 2005 00:00:03 -0500 Beauregard T. Shagnasty wrote:
Richard wrote:
http://somestuff.batcave.net/menu2.html "<noscript><h2>Your javascript is turned off. Links to images will not
work.<br>
You will be redirected to another page.</h2></noscript>" How are you going to redirect if JavaScript is off? <lol>
Would you like to see how my learned friend of wit?
No javascript required to redirect ya know.
Oh but RtS is just way to stoopid to figure that one out.

Attempting to overcome the problem

You'll never be able to do that. Find another hobby. --
-bts
-This space intentionally left blank.

Jul 23 '05 #5

P: n/a
Richard wrote:
On Fri, 28 Jan 2005 00:00:03 -0500 Beauregard T. Shagnasty wrote:
How are you going to redirect if JavaScript is off? <lol>
Would you like to see how my learned friend of wit? No javascript
required to redirect ya know.


Yes, I would like to see it.

There are several ways to do a redirect when JavaScript is off (or
on), but none would apply to the statement on your page.
Oh but RtS is just way to stoopid to figure that one out.


Thanks for admitting that. :-)

--
-bts
-This space intentionally left blank.
Jul 23 '05 #6

P: n/a

Richard wrote:
On Fri, 28 Jan 2005 00:00:03 -0500 Beauregard T. Shagnasty wrote:
Richard wrote:
http://somestuff.batcave.net/menu2.html
"<noscript><h2>Your javascript is turned off. Links to images will

not work.<br>
You will be redirected to another page.</h2></noscript>"

How are you going to redirect if JavaScript is off? <lol>


Would you like to see how my learned friend of wit?
No javascript required to redirect ya know.


However, if you're showing people the above message, it is. meta
refreshing won't do it, nor will a server-side redirect using headers.

Oh but RtS is just way to stoopid to figure that one out.


Clearly. Even Dubya looks smart next to you. Your code is getting
worse - how is that possible?

--
Hywel

Jul 23 '05 #7

P: n/a
Richard wrote:
http://somestuff.batcave.net/menu2.html

Attempting to overcome the problem with span and IE.
As you'll see in IE, the span block appears totally within the boundaries of
the "thumbs" division and is cut off from view.
In Firefox, the span block is shown on top of the menu with the absolute
position based upon the "home" location.

What can be done to correct this so that the span block will show where I
want it?

This method would be nice to use so that those with JS turned off will still
see the larger images.


hmmm well,

like others have said you cannot have a <p> *inside* a <span>. It works
fine the other way around tho: <p>something <span> blah </span></p> is
fine. That could be causing your problem.

There are still a lot of code errors:
http://validator.w3.org/check?verbos...net/menu2.html

....which cause IE (and FireFox for that matter) to run in Quirksmode. In
Quirks mode the way the browser renders is somewhat unpredictable. Best
bet is always to try get your page to fully validate before you come
looking for help.
--
x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
Jul 23 '05 #8

P: n/a
Richard wrote:
On Fri, 28 Jan 2005 00:00:03 -0500 Beauregard T. Shagnasty wrote:
Richard wrote:

http://somestuff.batcave.net/menu2.html
"<noscript><h2>Your javascript is turned off. Links to images will not
work.<br>
You will be redirected to another page.</h2></noscript>"

How are you going to redirect if JavaScript is off? <lol>


Would you like to see how my learned friend of wit?
No javascript required to redirect ya know.
Oh but RtS is just way to stoopid to figure that one out.

Attempting to overcome the problem

You'll never be able to do that. Find another hobby.

--
-bts
-This space intentionally left blank.


nice

Jul 23 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.