Valhalla Legends Forums Archive | Web Development | HTML/CSS Experts - what's wrong with this page?

AuthorMessageTime
Adron
I see a rather big box with no obvious content...

http://scummvm.sourceforge.net/docs/specs/char.php
June 12, 2003, 7:40 PM
po0f
What browser are you using? I got the same thing in IE6.

It renders fine in Mozilla, though; probably buggy implementation of white-space (from what I could tell from the css file) on Microsoft's part.
June 12, 2003, 8:50 PM
Yoni
Do a search for "tag" in that page. You'll end up inside the box.
The CSS source:
[code]PRE.box {
   font-family: courier;
   font-size: small;
   white-space: pre;
   border: 2pt solid #000000;
   margin-left: 10%;
   margin-right: 10%;
   padding: 2%;
   background-color: #F0F0F0;
}[/code]
I suspect the offending style is "white-space". In the VS.NET CSS editor, "white-space" is not even recognized...
June 12, 2003, 10:03 PM
po0f
[quote author=Yoni link=board=22;threadid=1618;start=0#msg12207 date=1055455410]I suspect the offending style is "white-space". [/quote]

Deja vu.
June 13, 2003, 12:25 AM
Raven
It could've been a giant table CSSed to ignore resolutions, and you'd all be fooled! ;D
June 13, 2003, 1:03 AM
St0rm.iD
Works great in Opera7
June 13, 2003, 1:13 AM
Adron
whitespace pre is most likely not the problem. See for example http://adron.virtualave.net/Encryption/manual.html where I used the following style, and it renders just fine:

.example {
   font-family: Courier, monospace;
   margin: 6pt;
   border-style: solid;
   border-width: thin;
   padding: 6pt;
   white-space: pre;
}


And my web browser is IE6.
June 14, 2003, 12:15 PM
kamakazie
The offending statement is:

PRE.box {
.font-family: courier;
.font-size: small;
.white-space: pre;
.border: 2pt solid #000000;
.margin-left: 10%;
.margin-right: 10%;
.padding: 2%;
.background-color: #F0F0F0;
}

removing the % renders the page correctly in IE 6
June 14, 2003, 11:31 PM
Adron
ah right, there's a whole lot of padding. hmm, wonder what it's taking 2% of to use for padding... something *really* big...
June 14, 2003, 11:35 PM
St0rm.iD
btw, I like vdmsound better than ScummVM, it's faster and runs more games.
June 15, 2003, 12:19 AM
Yoni
VDMSound is great but it doesn't run BUILD games (Duke3D!) nor did it work well for me with Simon the Sorcerer 2 (which ScummVM has partial support for).
June 15, 2003, 12:38 AM
Adron
ScummVM runs Duke3D?
June 15, 2003, 10:37 AM
Yoni
No, I just said VDMSound doesn't - didn't mean to imply ScummVM is supposed to.
June 15, 2003, 12:49 PM
St0rm.iD
VDMSound runs Full Throttle, and that has pwning music.
June 16, 2003, 1:16 AM
Skywing
[quote author=St0rm.iD link=board=22;threadid=1618;start=0#msg12394 date=1055726183]
VDMSound runs Full Throttle, and that has pwning music.
[/quote]
VDMSound and ScummVm are completely different things, really. There's not a whole lot of point in comparing the two.
June 16, 2003, 1:53 AM
St0rm.iD
They both run Scumm games :)
June 17, 2003, 7:52 PM

Search