Jump to content

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/14781-html-attributelayout-help/
Share on other sites

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=1

Thanks again in advance.
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.
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 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]




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



  • 1 month later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.