Jump to content

nezos

Members
  • Posts

    3
  • Joined

  • Last visited

nezos's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Here is something : I designed my homepage and i have some flash animationsIf i use only the <OBJECT.....it passes the test but works only with IEIf i add <EMBED SRC=....SRC is not compliant with the validator, but it is the only way (that i know) and suggested by macromedia, so that netscape and firefox users can see Flash.Any ideas what's wrong here? is it the standards that do not include the above or is there another W3C Compliant way?
  2. OK i figured it out, just remove the file template from the <DOCTYPE ...declaration. This fixes the problem in the Internet Explorer, and it does not fail with the W3C standards
  3. Since i wanted to validate my code i added also the DOCTYPE:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> in it (look after the frame code).I am using two 3 frames (1 row contains 2 columns, and the 2nd row 1 "2+1=3")The following is the frame file:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <HTML><HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7"><TITLE>blah blah</TITLE></HEAD><FRAMESET ROWS="90%,*"> <FRAMESET COLS="160,600"> <FRAME SRC="./gr/main_menu_gr.html" NAME=MENU SCROLLING=NO FRAMEBORDER=0> <FRAME SRC="./gr/main_gr.html" NAME=MAIN SCROLLING=AUTO FRAMEBORDER=0> </FRAMESET> <FRAME SRC="./logo.html" NAME=LOGO NORESIZE SCROLLING=NO> <NOFRAMES> <BODY> <P>No Frames</P> </BODY> </NOFRAMES></FRAMESET></HTML>And the above validates just fine! Now the PROBLEM!The PROBLEM is that if i add the DOCTYPE in the following code my page shows both the vertical and horizontal scrollbar, where it should only show the vertical. If i remove the DOCTYPE everything is fine, if i don't then the horizontal scrollbar appears although the text does not cover the whole page in width:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><TITLE></TITLE><STYLE TYPE="text/css">body, p,td { font-family: sans-serif; color: #000000; font-style: normal; font-size:11pt}</STYLE></HEAD><BODY><BR><H4><FONT COLOR=BLUE>Some text</FONT></H4><P><FONT COLOR="#A52A2A"><B><U>Some text</U></B></FONT></P><P><B>Some text</B></P><TABLE WIDTH="50%" CELLSPACING="0" CELLPADDING="2"><TR ALIGN=CENTER VALIGN=MIDDLE><TD>e-mail</TD><TD><A HREF="mailto:test@test.gr">Some text</A></TD></TR><TR ALIGN=CENTER VALIGN=MIDDLE><TD>Some text</TD><TD>Some text</TD></TR><TR ALIGN=CENTER VALIGN=MIDDLE><TD>Some text</TD><TD>Some text</TD></TABLE><BR><BR><P><FONT COLOR="#A52A2A"><B><U>Some text</U></B></FONT></P><P><B>Some text</B></P><TABLE WIDTH="50%" CELLSPACING="0" CELLPADDING="2"><TR ALIGN=CENTER VALIGN=MIDDLE><TD>e-mail</TD><TD><A HREF="mailto:test@test.gr">Some text</A></TD></TR><TR ALIGN=CENTER VALIGN=MIDDLE><TD>Some text</TD><TD>Some text</TD></TR><TR ALIGN=CENTER VALIGN=MIDDLE><TD>Fax</TD><TD>Some text</TD></TABLE><BR><BR><P><FONT COLOR="#A52A2A"><B><U>Some text</U></B></FONT></P><P><B>Some text</B></P><TABLE WIDTH="50%" CELLSPACING="0" CELLPADDING="2"><TR ALIGN=CENTER VALIGN=MIDDLE><TD>e-mail</TD><TD><A HREF="mailto:test@test.gr">Some text</A></TD></TR><TR ALIGN=CENTER VALIGN=MIDDLE><TD>Some text</TD><TD>Some text</TD></TR><TR ALIGN=CENTER VALIGN=MIDDLE><TD>Some text</TD><TD>Some text</TD></TABLE><BR><BR></BODY></HTML>by the way the above code validates just fine.
×
×
  • Create New...