A Conversation for The H2G2 Programmers' Corner

Not an arithmetic problem

Post 1

Pirate Alexander LeGray

I am trying to write a web page about symmetry, I am having to relearn CSS, can anybody answer a couple of questions?

My heading size works on my crummy editor, but up on the server doesn't.

Images cannot be floated.

opacity:0.5;filter:alpha(opacity=50);

works on the demo site, but not in my editor or on the server.(not even if I cut and paste)

scrollbar-[component]-color

doesn't work

span {max-width:705;

doesn't work

positioning on image doesn't work inline or in a stylesheet, although I have got a psuedo class in style called img.50 {} and this might interfere with it.

Frames

frames sometimes work and sometimes don't

And I want to be able to send different styles to different browsers,
sort of like var ?? =document.navigator.(something to give resolution)
if(var==??)
{<link rel="style.........}
Can this be done?


Not an arithmetic problem

Post 2

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Try specifying a doctype at the head of each page...?

http://www.alistapart.com/articles/doctype/


Not an arithmetic problem

Post 3

Pirate Alexander LeGray

Already done that, in fact the crummy editor puts the correct one in, I only call it crummy because it writes text when I pause to think.
In the Index is frameset Doctype, everywhere else loose.dtd or transitional.

have a look at the source code;

http://www.arithmetic.890m.com


Not an arithmetic problem

Post 4

Pirate Alexander LeGray

Test Page <body> <h3 align="center" ><font color="black"><b><u>This is a test page</u></b></font> </h3> <a target="_blank" href="http://www.webhost.com">Link to free Web-Space</a> <p>This page is intended for use to display some of my mathematical ideas, I don't know really where to start, but I had the idea of writing a book about symmetry in nature and imparticular symmetry (dihedral) groups. </p> <p>Seemed like a good idea at first and a little research shows the subject has advanced a great deal since I last thought of it, for instance in knot theory and even the description of the symmetry group of a tesseract (4 dimensional cube).</p> <p>But in the meantime I'm having to struggle with the intricacies of html, and so there is a link to <a target="_blank" href="http://www.bbc.co.uk/dna/h2g2/alabaster/u11070054">'The Hitch-hikers Guide to the Galaxy; Earth Edition.'</a> The page you link to is mine and the code the BBC uses is much easier than html, and therefore much more restrictive.</p> <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> <h3 align="center">Thankyou</h3> </body> Test Page body {background-image:url('Background.jpg');margin:40px;padding:5px;font-family:georgia,"times new roman","sans serif";color:#525767;font-size:14pt;align:justified;background-attachment:fixed;} blockquote {max-width:600px;color:black;} ol {color:black;} ul {color:black;} em {font-face:"times new roman","sans serif";font-size:125%;color:#77464d;} p:first-letter{font-face:"times new roman","sans serif";font-size:110%;color:#686899;font-weight:900;} p {text-indent:5%;max-width:755px;} h1,h2,h3,h4,h5,h6 {position:relative;left:150px;text-decoration:underline;} img.50 {opacity:0.5;filter:alpha(opacity=50};} a.line:link{text-decoration:underline;color:#77464d;} a.line:hover{font-size:110%;} a.line:visited{text-decoration:none;}


Not an arithmetic problem

Post 5

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Ok... I don't have time to think about this at the moment (I just got up after a 3am stint trying to fix a laptop, and it seems to be broken again... smiley - geeksmiley - wah) but I might be able to help with the "Crummy Editor" situation.

Have you tried "NVU"? ("New-View")

http://nvudev.com/index.php

There's also a "bugfix release" called "KompoZer", but I haven't tried that.

http://www.kompozer.net/

It has some rough edges, but it's as close to Dreamweaver as I've been able to find for free. smiley - smiley


Not an arithmetic problem

Post 6

Pirate Alexander LeGray

Thanks, I wll have a look at those, fixed the img problem, well not really cos I wanted to use it inline. But if I dont include opacity then I can have positioning global, not inline still. Can't help but think maybe its got something to do with my browser, which is latest IE7, but with parts disabled by Kasperski commercial, and I don't know how I got that because I thought I was downloading the home edition.
As a matter of interest only, Kasperski starts before windows, because their name is displayed before you get to welcome on start up.


Not an arithmetic problem

Post 7

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Ah... IE7... smiley - yuk

It's a step towards W3C compatibility, but not a very great one. They're changing the compatibility model *again* with IE8. I suggest strongly that if you're going to do any CSS you stick to previewing it in Firefox or Opera, and *don't* use any IE-only extensions as the default syntax may be completely different in three months or so. smiley - geek

http://www.getfirefox.com

http://www.opera.com

If you plan to do any serious development, get both and test with both - if something looks different between them, then generally you did it wrong. smiley - smiley


Not an arithmetic problem

Post 8

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Oh, and an invaluable resource:

http://www.webmonkey.com


Not an arithmetic problem

Post 9

Pirate Alexander LeGray

CSS is driving me mad, I'm trying to write a web page and when I need some new CSS just add it. But the effort required to do something dead simple. If you include the border attribute in the CSS table tag eg border-width it doesn't work. But if you include border as an ordered list eg border:10px solid #123456 it does.

By the time I've got something working I'm too worn out to think about what I'm going to say in my web page.

Is their any suitably complete free web courses in CSS besides the incomplete W3Schools I'm using?


Not an arithmetic problem

Post 10

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

The Webmonkey link above gets you to the best site I've found for all sorts of web development - HTML, CSS etc., and it covers all levels from absolute beginner to expert.

Again, I have to point out that if you're using *any* bersion of Internet Explorer to view the pages much CSS markup either will do nothing or do something completely different from the standard.

Have you got hold of Firefox yet? If so, compare this page in IE and FF:

http://meyerweb.com/eric/css/edge/complexspiral/glassy.html

I don't know about the latest IE (I'm a Linux user now) but no previous version could show this page properly.

When you have Firefox running, check out this site for inspiration:

http://www.csszengarden.com/

It's a single web page that has thousands of different "looks", all using different CSS files with identical HTML. There's a book you can buy (I have a copy...) that shows how some of the designs were created and the process you need to use to desaign your HTML in order to use the same techniques. Very instructive. smiley - geeksmiley - smiley


Not an arithmetic problem

Post 11

Pirate Alexander LeGray

I liked the garden showing this browser can see abit. Have to get the strength up to get firefox because Kasperski likes to fight programs on install, I have to be there to stop it wiping out the systemsmiley - silly Ya can't stop it by switching it off, because as soon as a program tries to alter the registry it pops up even though it was quit. And I won't do without it since my pc was helped to a keylogger and fifty other virus one of which was a rootkit, shutting down security but making it look as if it was working ok.
This really cool rootkit also prevented unsuccessfully, re-installing windows and was located in restore as well as a hundred other places.
Microsoft told me to leave it since on its own it posed no threat, MacFee removed it but it came back, and many more can't even see it.
Kasperski killed it dead, but left me in a bit of a panic until the system was restarted.
smiley - ta


Not an arithmetic problem

Post 12

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Download Firefox, unplug yourself from the Internet, stop the anti-virus, install it and then start the anti-virus again before you plug back in. Simple. smiley - geeksmiley - evilgrin


Not an arithmetic problem

Post 13

Pirate Alexander LeGray

I think its possibly more than one thing, I just spent about 6 hours getting style to work for a table I could have written inline in ten minutes. Now its up on the server it doesn't work again, but it does in my browser unconnected or directed to the file in my computer.

You can only pause Kasperski, and that only brings down the firewall. Kasperski starts before windows, can be run in dos, and although mostly doesn't interfere with installs, sometimes stops the install on a timer waiting for a response from the user, before deleting the offensive file. Like my modem once, my radio player (complete files) twice, and has disabled all updates to IE7 and all security and all add ons.

It keeps telling me that msnEng.exe is sending secret messages. So since I have downloaded 75000 objects this month, I will need to muster the energy before I get anything else.

Also, I won a modest international award eight years ago, and if it don't work in IE7 it won't work in 90% of browsers.

However, serious web designers always have an assortment of browsers, and if the file aint massive I will definitely get it.

Some years ago I passed this modest degree level course MT262 in the OU about C++, I could write very interesting web pages, I mean page if C++ can be embedded in html.
smiley - seniorsmiley - ale


Not an arithmetic problem

Post 14

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

"...and if it don't work in IE7 it won't work in 90% of browsers."

Yup, but things that work in Firefox will usually work inn IE to some degree, and if you develop primarily for IE the one thing you can be sure of is that it probably won't work properly in the next release. smiley - geeksmiley - headhurts


Not an arithmetic problem

Post 15

HappyDude

Gust a quick note to let you know that the CSS mailing list is has proved absolutely invaluable to me when I've had problems with CSS.
They have a Wiki at http://css-discuss.incutio.com/
The Archive (for list members only) is at http://lists.css-discuss.org/mailman/private/css-d/ and information on subscribing is at http://www.css-discuss.org/mailman/listinfo/css-d - be warned it is a high volume list so you will probably want to set up a filter so it does not all end up clogging up your inbox.


Not an arithmetic problem

Post 16

Pirate Alexander LeGray

This is an absolutely a fantastic site,(incutio) I've got loads of email address's and my yahoo one brags unlimited file size, I think, anyway I don't use it much.smiley - smileysmiley - ta


Not an arithmetic problem

Post 17

Pirate Alexander LeGray

Right then, got firefox, how come it's a trillion times faster than IE7,
and don't just say because it's better.
Security again popped up to try to stop the download, but it said IE7 was trying to download something else aswell, something to do with a PID module whatever that is.

The problems with my site, are not only to do with a crummy browser since firefox sees the same thing, apart from one minor improvement.

Last night spaces appeared between some text and adjacent text thats not supposed to be their. I raised a query with the web host about the inconsistencies and got a reply that they can't help with script, but their ain't no script in it.

It is obvious then the free website is really for kiddykins who use frontpage to paste some family photos on, and not somebody who wants their page to be the best possiblesmiley - ta


Not an arithmetic problem

Post 18

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Hokay. How that we're both looking at it in Firefox we should be seeing the same thing...

If the problem is with the examples near the end ("starting with a" etc.) then it's because you've allowed strings of "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" to creep into the source code. Sometimes this can happen if you hold down the shift key while using the space bar to make things "wrap" in the code view - multiple spaces don't appear in the HTML, but multiple &nbsp;'s (non-breaking spaces) do.


Not an arithmetic problem

Post 19

Pirate Alexander LeGray

No, that bits deliberate, and refreshing by uploading same page again cleared the problem for the time being.
You can edit up on the server, and the file was exactly the same as the one replacing it. Therefore it's a server problem.

Now I can see a blue hyperlink in the body, which is different from IE7, and h3 is about the right size.

So now I'm thinking find another web host, but it will mean redoing the background and for me with my artistic skills is a big dealsmiley - artistsmiley - bubbly


Not an arithmetic problem

Post 20

Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista)

Why? Does it belong to the hosts?

If not, right-click on it and "View Background Image"; once it's showing just go to the "File" menu and "Save page as..." will allow you to make a local copy.

If you need a new background, there are worse places to look than http://www.thefreesite.com - they have a graphics section with links to free background images.


Key: Complain about this post

Not an arithmetic problem

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."

Write an entry
Read more