Topic: No help needed, but it might help others... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=24097" title="Pages that link to Topic: No help needed, but it might help others... (Page 1 of 1)" rel="nofollow" >Topic: No help needed, but it might help others... <span class="small">(Page 1 of 1)</span>\

 
DmS
Maniac (V) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 11-18-2004 20:54

Whoot!
Finally I've managed to adjust an all_css layout I've been working on and it's solid in Firefox, IE 6, Safari 1.2, usable but not as good looking in Opera 7.0 and 100% well degraded but usable in NS4 & NS 3

IE 5.2.3 on Mac is a horrid mess that I will not bother with unless someone can point to an easy hack...

http://www.dmsproject.com/test/all_css/

I'm getting one validating error on a </p> tag that is opened but it's reported as not, I can't spot it...
What do you think?
/Dan

{cell 260} {Blog}
-{ ?Computer games don?t affect kids; I mean if Pac-Man affected us as kids, we?d all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music.? (Kristian Wilson, Nintendo, Inc, 1989.) }-

liorean
Bipolar (III) Inmate

From: Umeå, Sweden
Insane since: Sep 2004

posted posted 11-18-2004 21:46

Your error is on lines 49-50:

49: <p>
50: <p class="textHolder">

Remember, P elements may only contain inline elements. That means, since this is HTML and end tag is optional on the P element, that the parser reads that as

49: <p>
50: </p><p class="textHolder">


And thus, your

92: </p>

Doesn't have a corresponding opening tag, since the one on line 49 already has been closed.






This is one of the reasons why XHTML makes sense...

--
var Liorean = {
prototype: XMLGuru.prototype,
abode: "http://liorean.web-graphics.com/",
profile: "http://codingforums.com/member.php?u=5798"};

(Edited by liorean on 11-18-2004 21:47)

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-18-2004 21:47
quote:
I'm getting one validating error on a </p> tag that is opened but it's reported as not, I can't spot it...



It looks like you're trying to nest <p> tags; that's not allowed (which makes sense, since there's no such thing as a nested paragraph). Maybe you should replace the outer one with a <div>.

Nice page overall, though I don't like the background orange color. I think you should maybe shrink the outside margins.


 

DmS
Maniac (V) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 11-18-2004 22:38

Bloddy h**l !
How did I miss that!
Thanx!

That opening <p> is a leftover, not intentional...

As for the colors and margins, It's just an experimental page, as I get time I'll toss it up as a template for my site with other colors and mods, after all it's all css

/Dan

{cell 260} {Blog}
-{ ?Computer games don?t affect kids; I mean if Pac-Man affected us as kids, we?d all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music.? (Kristian Wilson, Nintendo, Inc, 1989.) }-



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu