This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > July 2004 > why will it not float in opera 7.5?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
why will it not float in opera 7.5?
|
|
| The Master 2004-07-22, 7:18 pm |
| Why will the unordered list not float in opera 7.5 unless a
fixed/liquid width is applied to the unordered lists containing block?
Then on the same token why does specifying a fixed/liquid width on the
containing block then cause the floating to brake in safari 1.2 (it
also brakes it in opera 4-6, hence the reason I use a sudo-element not
recognized by opera 4-6 so it doesn't apply the fixed/liquid width)?
http://www.goldhilmedia.com/showbug/showbug.html
http://www.goldhilmedia.com/showbug/css/showbug.css
Sincerely,
The Master
| |
| kchayka 2004-07-22, 7:18 pm |
| The Master wrote:
>
> Why will the unordered list not float...
>
> http://www.goldhilmedia.com/showbug/showbug.html
> http://www.goldhilmedia.com/showbug/css/showbug.css
I think you might be making this more complicated than it needs to be.
Why don't you draw a mockup of what you want it to look like, preferably
in context? I can't quite grasp what you're trying to accomplish or the
browser issues from your explanations.
--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
| |
| The Master 2004-07-23, 7:17 pm |
| kchayka <usenet@c-net.us> wrote in message news:<2maiuoFl2ehuU1@uni-berlin.de>...
> I think you might be making this more complicated than it needs to be.
>
> Why don't you draw a mockup of what you want it to look like, preferably
> in context? I can't quite grasp what you're trying to accomplish or the
> browser issues from your explanations.
Ok here is what the final page looks like on every browser I tested in
(ie 5.0, ie 5.5, ie 6.0, firefox, moz 1.0, moz 1.4, netscape 6,
ie5.2mac, opera4-6):
http://www.goldhilmedia.com/showbug/finalproduct.jpg
Except opera 7.5 and/or safari 1.2 depending on if I have this css
declaration or not:
head:first-child+body #bc ul { width:72%; }
When the declaration is there it works in opera 7.5 but not in safari
1.2. On the other hand if its not there it works in safari 1.2 but not
opera 7.5.
I discovered that the above declaration was the cause of the weird
display after I went through and deleted css code until I found the
one causing it. The file
http://www.goldhilmedia.com/showbug/css/showbug.css is a version of
the file with most of the code striped out.
head:first-child+body #bc ul { width:72%; }
I had original used this declaration to make the Bread Crumb section
to float in opera 7.5 because, for whatever reason it would not float
the list unless it was given a specified width.
Then when I final got around to testing it in Safari I discovered that
the very declaration that I used to fix the floating issue in Opera
7.5 caused the floating to brake in Safari as it does in opera 7.5
without the declaration.
The interesting thing to note, is if I had just used
#bc ul { width:72%; }
Not only would it brake in safari 1.2 but also in opera 4-6 (but
instead of not floating any of the list items, it only floats the
first two list items and doesn't allow the last item to float). That
is why I used the head:first-child+body selector since opera 4-6
doesn't support the sudo-class :first-child thus effectively hiding
the declaration from opera 4-6.
Sense I posted this question I discovered that even
head:first-child+body #bc ul { width:72%; } doesn't completely fix the
problem in opera 7.5, because as soon as I hit a certain character
length in the middle section of the bread crumb it causes the final
item to not float. I just didn't notice it before since by pure chance
the middle part was short enough to give me the appearance I had fixed
the issue in Opera 7.5.
| |
| kchayka 2004-07-26, 11:16 pm |
| The Master wrote:
>
> Ok here is what the final page looks like on every browser I tested in
>
> http://www.goldhilmedia.com/showbug/finalproduct.jpg
>
> Except opera 7.5 and/or safari 1.2
Maybe I'm wrong, but I don't think an unordered list is the right markup
for a breadcrumb trail. Since your problem is with floats and this
particular multi-level list, it would simplify your code a lot if you
just used a plain old div instead.
my 2p.
--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
| |
| Spartanicus 2004-07-27, 4:16 am |
| kchayka <usenet@c-net.us> wrote:
>Maybe I'm wrong, but I don't think an unordered list is the right markup
>for a breadcrumb trail.
It's perfectly appropriate if they are nested ULs.
--
Spartanicus
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|