A Conversation for The H2G2 Programmers' Corner
CSS
Pirate Alexander LeGray Posted Apr 4, 2008
I'm still trying to work out why I'm going
to so much trouble for something hardly anybody
will see. Life was easier with Actionscript and Flash.
I can use 'hidden conditional comments:
<!--[if IE]><![endif]-->
<!--- firefox mozila opera--->
<!--[if !IE]><![endif]-->
in the css I will use for IE
img.c3w {display:hidden;}
validate for style opera only
that should fix it.
This solution is based on a clever chaps idea which if
implemented even fools c3w, I've adapted it so as to not
upset anybody.
CSS
Pirate Alexander LeGray Posted Apr 5, 2008
It works and the operafire stylesheet validates as well as
the conditional comment main page.
Modified to only check for IE because I remembered you can import
style on top of style and tested by disabling some aspects
rendered in IE.
Now how to stack two images in one block and make one disapear
in IE
CSS
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Apr 5, 2008
Remember, if you're using IE's transparency filter, you don't need two images - just apply the transparency filter to the same PNG you use in other browsers, as it'll still be fine in IE except non-transparent. It means only loading one copy of each image into the cache rather than two, and so makes your page load faster.
CSS
Pirate Alexander LeGray Posted Apr 5, 2008
Now I got it sorta working, IE doesn't see CSS validation,
firefox does see it, but opera doesn't! hey this is really hard
because I tested using opera on my pc. Now its up there it
doesn't see it.
CSS
unisyc Posted Apr 7, 2008
I last checked Acid3 in a Firefox nightly a few weeks ago and it was at 73%, so 81% sounds like good progress.
Yep, Opera narrowly beat Safari/WebKit in scoring 100% (when it did, WebKit was at 98%, but it's also now at 100%). Slashdot coverage: http://tech.slashdot.org/article.pl?sid=08/03/26/1938251 It was strangely thrilling to watch them race to the finish line.
CSS
unisyc Posted Apr 7, 2008
Oh dear. We were both wrong there. They're only at 71%. The Gecko (Firefox's rendering engine) team has a public spreadsheet detailing their current progress with Acid3 - http://spreadsheets.google.com/pub?key=pNgBCwWdyRTT2JeiZn4B2Yw
CSS
Pirate Alexander LeGray Posted Apr 8, 2008
wots an acid test
Wot is worm HELKERN and who lives at 218 64 237 219
This is wearing me out, today spyware bot and now helkern
CSS
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Apr 8, 2008
The old test, for existing browsers: http://www.webstandards.org/action/acid2/
The new test, for browsers in development: http://www.webstandards.org/action/acid3/
CSS
Pirate Alexander LeGray Posted Apr 8, 2008
The attack was launched from a dump in china, its a commie attack, well at least their olympics got off to a bad start
CSS
Pirate Alexander LeGray Posted Apr 8, 2008
Hey I found out why my system is under attack more when viewing
in firefox/opera.
Their firewalls are disabled, but the security firewall is only in
operation for the default browser, unless you change it manually to
work for all.
Hey it put firewalls up for other applications, such as regcure which isn't even a browser, it would have been nice to know these weren't
included
CSS
Pirate Alexander LeGray Posted Apr 11, 2008
Spent hours doing CSS for ten letters, did you know all the browsers
render subscripts differently. I now have two styles for every
browser, not really because can't see how to differentiate
between Opera and Firefox.
CSS
Pirate Alexander LeGray Posted Apr 16, 2008
Do you know if yahoo web development kit is any good, the only thing that seems wrong with it is that it only works on A grade browsers, under the philosophy that if you can see the web, you can get a new browser.
CSS
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Apr 16, 2008
CSS
Pirate Alexander LeGray Posted Apr 16, 2008
Had a quick look at it, and it is a library of jscript routines that do confusing things like change classname, but Setxy looks useful.
CSS
Pirate Alexander LeGray Posted Apr 17, 2008
I've been learning javascript today, it's great, syntax very similar to C++ even down to ';' . Don't know how it knows its variables, and I haven't got to the bit about arrays yet. Is their a destructor ~constructor ?
I can do my animation if I feel it's appropriate using Setxy, an array and a timer.
Great stuff
CSS
Pirate Alexander LeGray Posted Apr 21, 2008
I have now got five browsers, one doesn't work because security chewed it, but not allowed to uninstall it, according to windows, and the latest, a big thing called safari.
Where are the tabs? Where are IE bookmarks stored on my computer, so that I can import bookmarks?
I vowed to not get more browsers than I need this time, now I've got five, four.
Domain names; I am unsure how to proceed, it appears you get listed, and have to list 2 servers? Also is their 2 costs involved, an application/registration fee, because I found I can get .info for $0.49 for a year.
CSS
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Apr 21, 2008
You need to have the name listed with two "nameservers"; if you pay for web hosting this service is usually thrown in for free.
Do you really need a domain name at the moment? If you are paying for webspace you'll get a "subdomain" for free, and if you're working from home you'll get something far more useful at http://www.dyndns.org
CSS
Pirate Alexander LeGray Posted Apr 21, 2008
Mmm, I thought something like simmetric.info for less than 50p was good. However, I will not carry adverts, or provide a service, only write useless things most people don't want to even see.
My web host is free, and only provides 100GB bandwidth, whatever that is. I'm sure you didn't always have to have two servers, I could put up 100 accounts where I am, but they all have the same server, server7.890m.com.
Maybe I should sell something, I could call the site Fresco or Presto or Zesto.com, I know I upset Tesco years ago by hinting I would take a name close to theirs, don't suppose it's so easy now though, but then I could be a real web designer doing a real page with a picture of a pretty girl with a shopping bag, and selling groceries and counting my gold coins.
Oh yes business.com , a stupid useless name but now valued at seven million dollars. Wonder if I can think of a useless name, zikes I can't
CSS
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Apr 21, 2008
"I'm sure you didn't always have to have two servers,"
You always needed at least two *name* servers - these are *not* the server where the site is stored, just machines with tables of pointers that link the domain name to the numeric address of the "real" server. If neither of the two name servers is responsive and reachable for more than (I think) 12 hours, you lose the domain name and it becomes "released" so someone else can buy it.
Key: Complain about this post
CSS
- 21: Pirate Alexander LeGray (Apr 4, 2008)
- 22: Pirate Alexander LeGray (Apr 5, 2008)
- 23: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Apr 5, 2008)
- 24: Pirate Alexander LeGray (Apr 5, 2008)
- 25: unisyc (Apr 7, 2008)
- 26: unisyc (Apr 7, 2008)
- 27: Pirate Alexander LeGray (Apr 8, 2008)
- 28: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Apr 8, 2008)
- 29: Pirate Alexander LeGray (Apr 8, 2008)
- 30: Pirate Alexander LeGray (Apr 8, 2008)
- 31: Pirate Alexander LeGray (Apr 11, 2008)
- 32: Pirate Alexander LeGray (Apr 16, 2008)
- 33: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Apr 16, 2008)
- 34: Pirate Alexander LeGray (Apr 16, 2008)
- 35: Pirate Alexander LeGray (Apr 17, 2008)
- 36: Pirate Alexander LeGray (Apr 17, 2008)
- 37: Pirate Alexander LeGray (Apr 21, 2008)
- 38: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Apr 21, 2008)
- 39: Pirate Alexander LeGray (Apr 21, 2008)
- 40: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Apr 21, 2008)
More Conversations for The H2G2 Programmers' Corner
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."