473,473 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Compatibility problems on site with CSS

Hi,

I just updated the Ashwater website at http://www.ashwaterparish.org.uk to use
CSS rather than frames/tables for layout.

It works fine in NS7.1, Mozilla Firebird 0.6, IE6, Opera 5 and Opera 7 (all on
Windows XP), and looks passable in Lynx, but there are problems with NS6.2 and
NS4.7.

In Netscape 6.2, there are *two* right-hand scroll-bars, and you have to scroll
both of them to get to see the bottom of the content. How can I avoid this?

In Netscape 4.7, the UL menu appears _almost_ like a standard UL, except the
formatting is wrong, and the A elements are not clickable. Is there a solution,
or will I have to add a hack to make NS4.7 ignore the CSS?

Finally, the top image on http://www.ashwaterparish.org.uk/village/ is designed
to auto-resize with the frame. This is currently achieved by using width="100%",
but this means the height cannot be specified. Is there a way to achieve this
effect whilst specifying the height, so that browsers can layout the page
correctly before the image is downloaded?

Thanks,

Anthony
Jul 20 '05 #1
2 2166
Brian <us*****@mangymutt.com.invalid-remove-this-part> writes:
Anthony Williams wrote:
I just updated the Ashwater website at
http://www.ashwaterparish.org.uk to use CSS rather than
frames/tables for layout.
It works fine in NS7.1, Mozilla Firebird 0.6, IE6, Opera 5 and
Opera 7 (all on Windows XP), and looks passable in Lynx, but there
are problems with NS6.2 and NS4.7.
In Netscape 6.2, there are *two* right-hand scroll-bars, and you
have to scroll both of them to get to see the bottom of the
content. How can I avoid this?


DIV.content
{
overflow: auto;
}

Why do you have this declaration? I can't be certain of what you want
to achieve with it, but that will create scrollbars as needed.


I can't remember precisely. However, the current CSS was obtained through lots
of experimentation trying to get consistent behaviour wrt scrolling across all
the above browsers. I think this was needed for Opera --- if it was IE, I would
have put it in the IE-only comment block.

Are you suggesting that removing this should make the page work correctly in
NS6.2?

BTW, I would be grateful if someone with IE5.x could check the display.
In Netscape 4.7, the UL menu appears _almost_ like a standard UL,
except the formatting is wrong, and the A elements are not
clickable. Is there a solution, or will I have to add a hack to
make NS4.7 ignore the CSS?


I'd advise that you hide all css from NS4.x. It's much easier that
way, and NS 4.x users still get access to the content of the site. If
you are willing to put in extra work for them, hide only those styles
that NS 4 can't handle.


Most (90%+) of the visitors to the site use IE according to the logs, so my
concern about NS4 is merely personal --- I don't want to alienate anyone just
because they're using an old browser --- so I think I'll go for the "hide all
the CSS" option. Is it as simple as using @import, or am I misremembering?
the top image on http://www.ashwaterparish.org.uk/village/ is
designed to auto-resize with the frame.


You mean window, not frame, right?


Yes.
This is currently achieved by using width="100%", but this means the height
cannot be specified. Is there a way to achieve this effect whilst specifying
the height, so that browsers can layout the page correctly before the image
is downloaded?


Best not to have browsers resize images, as the results can be less
than pretty. Just put it in at its original size, and flow text
around it.


I see your point --- browsers aren't designed for manipulating images.

I do kinda like the auto-resizing of the image, as it means that people with
narrow screens don't have a sideways scrollbar just because of the image, whilst
people with large screens get a reasonably-sized image.

However, it may be better to do that than force browsers to redo the layout when
they know the final image size.

Thanks for your comments,

Anthony
Jul 20 '05 #2
Anthony Williams wrote:
BTW, I would be grateful if someone with IE5.x could check the display.
Tested with IE5 (W2k), little problems with the navigation list:
http://www.mfesser.de/temp/parish.gif (65K)

Try to avoid line breaks between </li> and <li>, e.g.

<ul class='top'><li>
<a href="/parish/">The Parish</a></li><li>
<a href="/village/">The Village</a></li><li>
....

In Mozilla 1.4b this list is not scrollable, i.e. in a small window
the bottom links are not reachable.

And this might be interesting too:

Don't use "click here" as link text
http://www.w3.org/2001/06tips/noClickHere
Most (90%+) of the visitors to the site use IE according to the logs, so my
concern about NS4 is merely personal --- I don't want to alienate anyone just
because they're using an old browser --- so I think I'll go for the "hide all
the CSS" option. Is it as simple as using @import, or am I misremembering?


@import or @media, NS4 doesn't recognize them.
The media attribute in the link element works as well.

Micha
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jason Mobarak | last post by:
Greetings! Say that it's desirable to provide backwards compatibility for methods of an object, consider the case where... class Foo: def bar (self, a, b): pass ....is a defined class...
33
by: Mark Tranchant | last post by:
My site now uses Apache MultiViews and some PHP code to determine whether your browser can handle the application/xhtml+xml media type. If it does, the document is sent with that content type and...
3
by: Kevin Matthews | last post by:
i'm having strange problems with browser compatibility between firefox and internet explorer, ---------------------------------------- The following is the CSS:...
3
by: Rob Oldfield | last post by:
Just a quick and hopefully straightforward question.... are there any issues with web sites based on .Net not working correctly (or at all) for clients using non IE browsers (Mozilla and Firefox...
1
by: Christian Aastorp | last post by:
Sorry if I too obviously clueles, but I'm just starting editing our web-site that was prepared by someone else. The web-site is running at a Norwegian web-hotel (www.domeneshop.no), running php...
1
by: rahulthathoo | last post by:
We are having some problem with out css- style on firefox. The same site displays fine in IE. But in Firefox, there are some hyperlinks which just dont appear as hyperlinks, rather appear as plan...
2
by: Carlo | last post by:
I recently started in a new position, and I inherited an application written in VB6 that uses a bunch of DLLs and OCX controls. Version Compatibility is set to Binary at the project level, but since...
57
by: HEX | last post by:
Have a site under development which works with both IE and Mozilla Firefox. Three MAC users accessed site and two have a small problem with one page and the other recently went to the new Leopard...
17
by: osama178 | last post by:
Hi, What does it mean for an object to be binary compatible? And why aren't STL objects binary compatible? Any insights, links, resources for further reading are greatly appreciated. Thanks.
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.