oddity Posted July 16, 2006 Share Posted July 16, 2006 Hey, I found you guys through google, and seems like you have a vast amount of members with coding knowledge.So, I'm almost out of the hole trying to validate my page, but ran into 3 problems.[1-2]. http://validator.w3.org/check?uri=http%3A%2F%2Fdejonisodd.com%2Fdejon.html&charset=%28detect+automatically%29&doctype=Inline&ss=1&verbose=1[3]. My layout is fine. (No problems in I.E/Firefox)But, when I add the doctype <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">It pushes my layout up. (Firefox)Pushes up and mangles the layout a bit (Internet Explorer)If anyone can assist me with codes to fix this, it would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
AndyB Posted July 16, 2006 Share Posted July 16, 2006 [code]<td width="69" style="background:url('images/bak2.jpg'); height:100%"> [/code]That should take care of the validation problem. As the message said ... Quote Link to comment Share on other sites More sharing options...
oddity Posted July 16, 2006 Author Share Posted July 16, 2006 It did, thanks!Now, if I can only figure out problem #3. (doctype problem) Quote Link to comment Share on other sites More sharing options...
oddity Posted July 17, 2006 Author Share Posted July 17, 2006 Sorry to bump, but I'm seriously not figuring out why it's doing this. This is the doctype I'm using <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">Here is the link to source/site. http://validator.w3.org/check?uri=http%3A%2F%2Fdejonisodd.com%2Fdejon.html&charset=%28detect+automatically%29&doctype=Inline&ss=1&verbose=1Thanks again in advance. Quote Link to comment Share on other sites More sharing options...
AndyB Posted July 17, 2006 Share Posted July 17, 2006 The link shows that it validates. Does that mean the problem is solved, or that I've misunderstood the question? Quote Link to comment Share on other sites More sharing options...
pixy Posted July 17, 2006 Share Posted July 17, 2006 ^ The problem is that the code it is messing up layout. Quote Link to comment Share on other sites More sharing options...
oddity Posted July 17, 2006 Author Share Posted July 17, 2006 Yeah, the doctype is messing up my layout.I tried messing around with the 'padding', still to no avail. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 17, 2006 Share Posted July 17, 2006 Looking at your sites source code it is a real mess and am not suprised the broweser isnt displaying your site correctly. You are using way too many tables. You should code the site yourself rather than depending on Dreamweaver, or what ever WYSIWYG editor to put the site together for you, which appears to be the case here. Quote Link to comment Share on other sites More sharing options...
AndyB Posted July 17, 2006 Share Posted July 17, 2006 Can you clarify what's "messed up". Some of the images you're using appear to have borders of their own rather than this being a visual defect ascribed to the browser doctype. A couple of simple screenshot segments showing how it appears with the doctype and how it appears without it might help define "messed up". Quote Link to comment Share on other sites More sharing options...
oddity Posted July 17, 2006 Author Share Posted July 17, 2006 [quote author=AndyB link=topic=100801.msg398877#msg398877 date=1153164593]Can you clarify what's "messed up". Some of the images you're using appear to have borders of their own rather than this being a visual defect ascribed to the browser doctype. A couple of simple screenshot segments showing how it appears with the doctype and how it appears without it might help define "messed up".[/quote][img]http://lilhaloshaka.googlepages.com/1.gif[/img]--------------------------------------------------------------------------------------[img]http://lilhaloshaka.googlepages.com/2.gif[/img] Quote Link to comment Share on other sites More sharing options...
oddity Posted July 20, 2006 Author Share Posted July 20, 2006 Well, I fixed the doctype problem. I just have one more issue before I'm out of that shark infested water.[b]Error Line 54 column 104: end tag for element "DIV" which is not open.[/b][i] crossobj.innerHTML='<div align="right" id="dragbar"><span id="closetext" onClick="closepreview()">x</div><img src="'+which+'">' crossobj.style.visibility="visible" return false }[/i]Anyway of solving this issue.? Quote Link to comment Share on other sites More sharing options...
AndyB Posted September 2, 2006 Share Posted September 2, 2006 Curious. Quite obviously in that code the div IS closed. I'm wondering if the validator got a little confused there. Try closing the SPAN before the closing div tag. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.