Topic: What's happening to my markup? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=29888" title="Pages that link to Topic: What&amp;#039;s happening to my markup? (Page 1 of 1)" rel="nofollow" >Topic: What&#039;s happening to my markup? <span class="small">(Page 1 of 1)</span>\

 
bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 01-18-2008 03:36

Okay I'm working with a CMS Im not terribly familiar with but this is driving me nuts. Can anyone tell me what's happening to my markup on this page?

http://www.mikeandapril.net/index.php?id=2

It looks fine in the editor but on the page everything just looks like body text (Just in the content area).

I've run it through the validators and it looks fine. I'm sure I'm missing something stupid but I can't tell what it is.

Thanks!



.:[ Never resist a perfect moment ]:.

Blacknight
Paranoid (IV) Inmate

From: INFRONT OF MY PC
Insane since: Dec 2001

posted posted 01-18-2008 07:16

My guess: its this css:http://yui.yahooapis.com/2.4.1/build/reset/reset-min.css
it resets all standard html formats like <h1> <ol> ect...

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 01-18-2008 07:31

Those things just trade one problem for another.

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 01-18-2008 10:07

The W3c (x)HTML validator says:

quote:
Line 86, Column 4: end tag for "ol" which is not finished.
</ol>

Track down this OL and add an LI to conform to the XHTML 1.0 DTD on OL, i.e:

code:
<!-- Ordered (numbered) list -->

<!ELEMENT ol (li)+>
<!ATTLIST ol
  %attrs;
  >

OLs have ONE or more LIs. They can NOT be empty.

Blacknight: CSS has never and never will render a markup invalid.



(Edited by poi on 01-18-2008 10:12)

Blacknight
Paranoid (IV) Inmate

From: INFRONT OF MY PC
Insane since: Dec 2001

posted posted 01-18-2008 12:18

@poi yes but the css in use is deleting all styles ...list-stlye: none h1 :size 100% ect... so no lists or h1/2/3... will apear as wanted. only if you specify a css for it.

and if you look at the markup the uls and ols and headers ect are there ..they are joust not being formated

(Edited by Blacknight on 01-18-2008 12:20)

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 01-18-2008 13:03

Style reset is VERY common. It's there to overide browsers' default style that might be/are not quite the same.

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 01-18-2008 20:29

Yeah it was the reset, I've used these before but this was my first time using this one. It was resetting more completely then others I've used in the past.



.:[ Never resist a perfect moment ]:.

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 01-18-2008 22:24

AAah I read the original post quickly and the page looked fine to me. The only thing I saw was wrong was the invalid markup The layout and overall page looked fine.

Oh well.



(Edited by poi on 01-18-2008 22:29)



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


« BackwardsOnwards »

Show Forum Drop Down Menu