Everything was working right with the overflow auto until I put in the xhtml 1 doctype. Then the overflow auto stopped working, and I took the doctype out and it worked agian. I put the doctype back in and put it in the validator, there were no errors. Same with the css... what is wrong?
Chggj hgjh gjghj gjhgjh gjhgjhgj hgjhgfgfgd fgdfgfggf gdfgdgfg kjldjflk djglk djglk dfjglfg jlfdjgl kdgdlfjglfkdjkg
joirj ortjyoy jiotiyor iyjojry oijtori yjooij yoirjy oijroh yjorht yoitoiy twhohgo dhsoih giuhgi uhriug hiuodhg iuhisug heurhgu iehrigu hius ehguih eurhgui ehgerghe rg
gej r hgehsgueshg is heig u h r uigh uerh gue shg usheru hgursh gushgu hoshghr ugheuoi rhgoihe sghesug huesk highe usgheu shguer hges
gesrgh eurhg uihr eigu rehuigh euhge hsguhe urishg uierh guoes hgush geushgdsthhrthrt
g shghe usihg iuesh giues hgue sirghiue rshguieydgfdg yfgygd yldlkgl djl kgdidfg oh!
You're missing the meta tag
You're missing the meta tag try putting this in the top after the head open tag:
/* your head tag would be here <head> */ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Try this if not get back to me.
Also do you mind if I use you as an example on correct doctype tutorial video?
No it didn't work, but thanks for noticing I forgot the meta tag
Yes you can use it in your tutorial
Thanks for your help
Ok I'm guessing you still
Ok I'm guessing you still have the problem so If the auto isn't working then what do you want to happen with the overflow?
If you want say scrolls then just change it to that auto only really tends to do scrolls anyway.
Change your content height
Change your content height for a definitive height i.e. 450px not 75%. That appears to be why the overflow auto is not working with a valid doctype.
I don't know if this is documented on the W3C site or not but it seems a combination of percentage height/overflow auto and valid doctype doesn't work. I'm not big on percentages in construction, so I don't know enough about them to provide why its not working when a valid doctype is used.