• Welcome to Valhalla Legends Archive.
 

HTML/CSS Experts - what's wrong with this page?

Started by Adron, June 12, 2003, 02:40 PM

Previous topic - Next topic

Adron


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.

Yoni

Do a search for "tag" in that page. You'll end up inside the box.
The CSS source:
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;
}

I suspect the offending style is "white-space". In the VS.NET CSS editor, "white-space" is not even recognized...

po0f


Raven

It could've been a giant table CSSed to ignore resolutions, and you'd all be fooled!  ;D

Banana fanna fo fanna


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.

dxoigmn

#7
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

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

Banana fanna fo fanna

btw, I like vdmsound better than ScummVM, it's faster and runs more games.

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

Adron


Yoni

No, I just said VDMSound doesn't - didn't mean to imply ScummVM is supposed to.

Banana fanna fo fanna

VDMSound runs Full Throttle, and that has pwning music.

Skywing

Quote from: St0rm.iD on June 15, 2003, 08:16 PM
VDMSound runs Full Throttle, and that has pwning music.
VDMSound and ScummVm are completely different things, really.  There's not a whole lot of point in comparing the two.