Hello all
A new standards based and CSS designed site I recently completed is
soon to go live.
After much testing and tweaking I have fianlly managed to get the site
to look as it should on most browsers on PC, Mac, Unix and Linux
systems. The downside was that I had to use PHP (to detect browser/CSS)
and many CSS files which were tweaked - one for each browser on each
platform and it resulted in quite a few CSS files.
This was the only sensible approach/solution at the time.
I am just interested to know what other peoples views are on this? Im
sure many of you have had to do the same thing as no matter
how hard you try to limit the number of CSS files it just isnt
realistic at this present time.
Have any of you done similar things? Any alternative solutions that
worked or which were effective?
Please discuss.
Many thanks
Chris 19 2883
On 31 Jan 2005 08:07:01 -0800, Chris <ab****@bangor. ac.uk> wrote: I am just interested to know what other peoples views are on this? Im
If you want a similar rendering il most popular browser, I think it's the
only way.
You can create one single file for both Opera, Gecko, IE 5.5 and IE 6.
Then you'll need a separate file for KHTML-based browsers (Safari,
Konqueror, etc.) if you have a quite complex layout. Purists will always
find a way to have just one CSS file :)
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Discover Opera: http://members.surfeu.fi/jerkku/ http://www.auriance.com - http://www.auriance.net
It's an interesting idea. I've considering using this idea, but have
been able to hack around with CSS to get a *good enough* result in the
major browsers.
On 31 Jan 2005 08:07:01 -0800, Chris <ab****@bangor. ac.uk> wrote: A new standards based and CSS designed site I recently completed is soon to go live.
After much testing and tweaking I have fianlly managed to get the site to look as it should on most browsers on PC, Mac, Unix and Linux systems. The downside was that I had to use PHP (to detect browser/CSS) and many CSS files which were tweaked - one for each browser on each platform and it resulted in quite a few CSS files.
This was the only sensible approach/solution at the time.
I would love to see the site that is so complex it needs several style sheets to
accomodate all kinds of browsers. What's the URL for a sneek preview of your
miracle site?
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
I was talking about the idea of using multiple CSS files for different
browsers. I said that I've been wanting to try it myself, but I'm
usually able to hack around some glitches in CSS to get what I want.
^demon wrote: I was talking about the idea
Please learn to quote what you are replying to. http://oakroadsystems.com/genl/unice.htm
of using multiple CSS files for different browsers. I said that I've been wanting to try it myself, but I'm usually able to hack around some glitches in CSS to get what I want.
How will you know what browser I am using? No, I am not using
Internet Exploiter, and you will not be able to sniff what I *am*
using. What will your page do then?
Browser sniffing is doomed to failure.
--
-bts
-This space intentionally left blank.
On 31 Jan 2005 10:18:04 -0800, ^demon <in************ @gmail.com> wrote: It's an interesting idea. I've considering using this idea, but have been able to hack around with CSS to get a *good enough* result in the major browsers.
Actually there is always a way to have just one CSS file for most
browsers. I've just done a page that renders fine in Opera, IE 5.5 & 6
Win, Mozilla, Konqueror and Firefox. I have only one CSS file, but it take
hell of a time to do the hacks. The whole page with the CSS file are 10KB.
A table-based version of the page is 18KB.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Discover Opera: http://members.surfeu.fi/jerkku/ http://www.auriance.com - http://www.auriance.net
Beauregard T. Shagnasty wrote: ^demon wrote: I was talking about the idea of using multiple CSS files for different browsers. How will you know what browser I am using? No, I am not using Internet Exploiter, and you will not be able to sniff what I *am* using. What will your page do then?
Worse yet, what will happen when you get the page from a cache server
instead of from the host server? Or does this browser sniffing business
mean the pages cannot be cached?
Browser sniffing is doomed to failure.
Indeed, it only creates problems, not solves them.
--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
On Mon, 31 Jan 2005 14:30:15 -0600, kchayka <us****@c-net.us> wrote: Browser sniffing is doomed to failure.
Indeed, it only creates problems, not solves them.
I agree, but what will happen when next year Microsoft releases IE7 with
the new release of Windows?
What if the box-model bug is solved and IE treats the box model properly?
Then the box model hack will turn web sites ugly? These are just some
thoughts...
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Discover Opera: http://members.surfeu.fi/jerkku/ http://www.auriance.com - http://www.auriance.net This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mike |
last post by:
I am sure that I am making a simple boneheaded mistake and I would
appreciate your help in spotting in. I have just installed
apache_2.0.53-win32-x86-no_ssl.exe
php-5.0.3-Win32.zip
Smarty-2.6.7.tar.gz
on a system running WindowsXP SP2.
Apache and PHP tested out fine. After adding Smarty, I ran the
following http://localhost/testphp.php
|
by: Dan Rubin |
last post by:
HI everyone, lurking for a long time here, since I can usually solve my own
problems, but here is one I'm stumped by.
I've got a valid XHTML 1.0 Transitional layout, and all the CSS is valid as
well (plenty of warnings, but I'm not worried about that), and I'm making
use of the float property without any problems EXCEPT for one page (coloured
backgrounds added for clarity):
http://autographquartet.com/contact.php
|
by: Jan Steffen |
last post by:
Hello everyone,
I want to make all links to external sites or special resources
(pdf, mailto-links, etc) easily recognizable for all users.
Currently I use markup like
<a href=".." class="extlink">External Link</a>
and a CSS like
..extlink/* */ {
background: transparent url(/link_out.gif) left center no-repeat;
padding: 0 0 0 12px;
|
by: joaopedrogoncalves |
last post by:
Hi,
I want to load an external javascript file, get its results and stick
them inside a <div> block. I also
want to do this in several places on a web page.
This way the browser doesn't have to wait for the external resource to
load to show up the page,
thus giving a perceiving faster load time for the user.
|
by: Jamal |
last post by:
I am working on binary files of struct ACTIONS
I have a recursive qsort/mergesort hybrid that
1) i'm not a 100% sure works correctly
2) would like to convert to iteration
Any comments or suggestion for improvements
or conversion to iteration would be much appreciated
| |
by: John C |
last post by:
I understand how to comment C# source with XML comments, and generate these
to an output file.
There must be a set of available tools to then take all these XML files and
generate a fully formatted and indexed series of HTML files for access
through Web browsers.
Can someone provide some references??
Thanks
|
by: VK |
last post by:
Randy Webb wrote:
> VK said the following on 5/2/2006 9:48 AM:
> > If you mean "trying to render it" then FF behavior is the same as for
> > all other UA's willing to be in use (and not W3C demos). If document is
> > served as text/html, FF will render it somehow anyhow.
>
> So you are saying it totally disregards the DTD and any hints from the
> server how to handle the document?
Except server reported Content-Type (text/plain,...
|
by: anil.rita |
last post by:
When the user chooses an AV file to play, based upon the type of file,
I want to use the default installed media player to play it.
I am wondering if this is a good way - any alternatives, suggestions or
improvements?
if( wmv file)
document.write("<OBJECT id=Player
classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 height="354"
width="479">
|
by: jhardman |
last post by:
Have you ever wanted to upload files through a form and thought, "I'd really like to use ASP, it surely has that capability, but the tutorial I used to learn ASP didn't mention how to do this."? Have you looked around trying to find simple solutions but didn't want to wade through pages of complex code? Have you balked at paying for premade solutions that are probably overkill for your particular project?
I'd like to walk you through the...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |