473,770 Members | 5,284 Online
Bytes | Software Development & Data Engineering Community
+ 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 2183
Brian <us*****@mangym utt.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
1787
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 that can be serialized and later be deserialized.
33
3474
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 the XHTML 1.1 DOCTYPE. If not, it is sent as text/html and the XHTML 1.0 DOCTYPE. Details of how this is achieved and the problems solved en route can be seen in these two pages: http://tranchant.plus.com/notes/xhtml11
3
2501
by: Kevin Matthews | last post by:
i'm having strange problems with browser compatibility between firefox and internet explorer, ---------------------------------------- The following is the CSS: ---------------------------------------- body { font-family: Verdana, Arial, Helvetica, Sans-serif; font-size: 80%; background-color: #FFFFFF;
3
2025
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 being the two major concerns obviously)? Thanks
1
2075
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 4. Our site (www.widenoja-design.no) works ok, menu-choices and all. When I serve the same files from my local disk for editing and testing, the menus no longer work. I'm running Wamp 5 with the php 4 module loaded and enabled. Any clues? Is...
1
3985
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 text. In our style.css file, we use float: left which causes some problems, without it the alignment goes off but the hyperlinks are there, but with it, the alignment is there but no hyperlinks, it appears a plain text. Can anyone help us out...
2
1927
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 I do not have the most recent source code, on compilation it always asks me to break compatibility. The app has been installed on half a dozen remote sites, and I am not sure what all the different versions are. To clean up this mess, I decided to...
57
4770
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 release with Safari V3.0.4. browser. This user has big problems with a couple of pages. A couple of users have older Safari and one has Firefox. They experience the minor issue. Is developing a site with Windows and targeting IE and Firefox as the...
17
2959
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
9425
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10053
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10001
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7415
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3969
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3573
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.