A Conversation for The H2G2 Programmers' Corner
- 1
- 2
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 26, 2008
No, I did it. But that nice cube was accidental, can't seem to do it again. I like to put logo's on just about everything, and the only logo I could come up with was the name of the site.
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 26, 2008
I can't understand the following CSS, I've seen this sort of thing used before...
div.img
{ I understand div.img ok
margin: 2px;
border: 1px solid #0000ff;
height: auto;
width: auto;
float: left;
text-align: center;
}
div.img img
{ but what does this mean
display: inline;
margin: 3px;
border: 1px solid #ffffff;
}
div.img a:hover img
{ AND WORSE whats this?
border: 1px solid #0000ff;
}
div.desc
{
text-align: center;
font-weight: normal;
width: 120px;
margin: 2px;
}
---------------------------------------------------------------------
Add a description of the image here
Add a description of the image here
Add a description of the image here
Add a description of the image here
Not an arithmetic problem
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Mar 26, 2008
"div.img img
{ but what does this mean"
The first block, "div.img", gives attributes that will be applied to "div"s with a class of "img".
The next block, that you ask about, gives attributes that will be applied both to those "div"s and to "img" tags - it's called "cascading", hence "cascading style sheets".
For example,
div.fred {
margin: 10px;
border: 0px;
font-face: courier;
}
div.fred, div.jim {
color: red;
text-decoration: none;
}
Is identical to:
div.fred {
margin: 10px;
border: 0px;
font-face: courier;
color: red;
text-decoration: none;
}
div.jim {
color: red;
text-decoration: none;
}
...but the former takes slightly less typing.
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 26, 2008
My security didn't say a dickybird on install of this browser, and it aint disabled anything yet either. My modem is working faster, I can't believe how different it is.
How come the inventer of the pc can't make a browser work properly, it took ages to install IE7 and if IE7 didn't cause the security to try to stop the download, it would have installed in 30 secs.
Thanks to you and the other chap for suggesting the Wiki where I could see IE7 not working for myself
Not an arithmetic problem
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Mar 26, 2008
The commas are optional; I put them in for the sake of clarity.
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 27, 2008
I'm completely confused now, Firefox sees yesterdays page no updates and doesn't appear to recognise colgroup, IE sees today's page but with errors.
I think this web-page idea not so good now
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 27, 2008
Is HTTP.com part of Firefox? Because I keep getting redirected to it.
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 27, 2008
I've got this file in _r and if you hover over its address its address runs off the screen, starting with AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.....
This can't be right can it?
Not an arithmetic problem
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Mar 27, 2008
No; it's just that Firefox interprets typos differently from IE. If you accidentally type a space after "http" Firefox will put in the ".com" for you.
Not an arithmetic problem
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Mar 27, 2008
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 27, 2008
Oh no, I've sent a report about the site, pressing on the home page button got me the site, must have left a space and will go and have a look.
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 27, 2008
Couldn't see the space, but works ok now after having CCleaner get rid of everything and RegCure clean my registry and Kasperski do a deep scan, which it is still doing from last night.
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 27, 2008
One thing that is harder about CSS than say fortran, is that you can make errors that are ignored. So you don't know you made them. I included cellspacing and font-face and align in my CSS which were all wrong. CSS is not HTML although instructed that it is just an extention.
The only way I found out about this was through firefox tools, oh and one of my gif's is blocked by google, couldn't be that one I lifted cut cropped and completely changed the colours of could it?
Is colgroup depreciated, the left column is supposed to be blue?
Not an arithmetic problem
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Mar 27, 2008
http://www.velocityreviews.com/forums/t155426-colgroup-and-css.html
Ain't Google wonderful...
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 27, 2008
Yeh google is amazing but my colgroup
is inline, in the table. I only use it to
specify color, so don't see the point of
putting it in style.
I been trying to use hover to make invisible
blocks visible today, and guess what it didn't
work.
So I went to this chaps site who gave me the idea
in the first place, the one that showed up IE,
and firefox didn't see the site either.
http://www.syntacticweb.co.uk/cssd/
So what plugin do I have to get to make firefox
work.
Not an arithmetic problem
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Mar 27, 2008
I think he's used some IE-specific code on the page. Which is odd, if you read his section on choosing a browser...
http://www.syntacticweb.co.uk/browsers.htm
Not an arithmetic problem
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Mar 27, 2008
It's not IE-specific; it just doesn't seem to work in Firefox 2.
Have a look at the page in Opera and everything works as described.
Ah well, roll on Firefox 3...
Not an arithmetic problem
Pirate Alexander LeGray Posted Mar 27, 2008
I've had a look at that page, and he doesn't explain
that SP2 is an all night download
and I was given NET Framework 3.0 with service pack
1a, I don't know if I needed it because I don't know
what it is. I do know its an alnight download though.
So what is the uncompressed size of Opera
Key: Complain about this post
- 1
- 2
Not an arithmetic problem
- 21: Pirate Alexander LeGray (Mar 26, 2008)
- 22: Pirate Alexander LeGray (Mar 26, 2008)
- 23: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Mar 26, 2008)
- 24: Pirate Alexander LeGray (Mar 26, 2008)
- 25: Pirate Alexander LeGray (Mar 26, 2008)
- 26: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Mar 26, 2008)
- 27: Pirate Alexander LeGray (Mar 27, 2008)
- 28: Pirate Alexander LeGray (Mar 27, 2008)
- 29: Pirate Alexander LeGray (Mar 27, 2008)
- 30: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Mar 27, 2008)
- 31: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Mar 27, 2008)
- 32: Pirate Alexander LeGray (Mar 27, 2008)
- 33: Pirate Alexander LeGray (Mar 27, 2008)
- 34: Pirate Alexander LeGray (Mar 27, 2008)
- 35: Pirate Alexander LeGray (Mar 27, 2008)
- 36: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Mar 27, 2008)
- 37: Pirate Alexander LeGray (Mar 27, 2008)
- 38: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Mar 27, 2008)
- 39: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Mar 27, 2008)
- 40: Pirate Alexander LeGray (Mar 27, 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."