Can Anyone Help Me With Html??

Discussion in 'OT Technology' started by Ashmar_Hendrix, Oct 1, 2004.

  1. i know i've made several posts and recieved a lot of help on my html assignment, and i'm almost FINALLY done. i just have a few last things that i can't figure out! i need to get every thing to fit together and look like this:
    [​IMG]


    this is what mine looks like:
    [​IMG]

    i can't seem to get the tables to fit properly, and i also can't get the "News" title to center....i would forever appreciate anybody's help
    :bowdown::bowdown::bowdown::bowdown:

    this is the html (i know it's long to read)

    <HTML>

    <HEAD>

    <TITLE>My Info Center</TITLE>

    <LINK REL=STYLESHEET HREF="myinfocenterstyles.css"
    TYPE="text/css">

    </HEAD>

    <BODY BGCOLOR="#f4f7fc">

    <!--MAIN TABLE-->

    <TABLE WIDTH="760"
    CELLSPACING="5">

    <TR HEIGHT="50">
    <TD COLSPAN="2" BGCOLOR="#275b9c" ALIGN="CENTER"><IMG SRC="myInfoCenter.gif"></CENTER></TD>
    </TR>

    </TABLE>

    <TABLE WIDTH="760"
    CELLSPACING="5">

    <TR>
    <TD WIDTH="50%"> <!--SECOND TABLE-->

    <TABLE WIDTH="100%"
    HEIGHT="100%"
    CELLSPACING="0"
    CELLPADDING="O">

    <TR BGCOLOR="6787BB"
    HEIGHT="25">
    <TD WIDTH="50%">
    <TH ALIGN="CENTER"
    VALIGHN="MIDDLE"><FONT FACE="ARIAL"
    COLOR="FFFFFF"
    SIZE="-1"><B>Links</B></FONT></TH>
    </TD>
    </TR>

    <TR>
    <TD> <!--SIXTH TABLE-->

    <TABLE WIDTH="100%"
    CELLPADDING="10">

    <TR BGCOLOR="#F4F7FC">
    <TD CLASS="LINKS"><P>The following are Websites I visit when I'm looking for the latest in news,

    sports, entertainment and weather!</P>
    <P><CENTER><BR><A HREF="http://www.cbc.ca/" TARGET="_blank">Canadian Broadcasting

    Corporation (CBC)</A><BR>
    <BR><A HREF="http://www.ctv.ca/" TARGET="_blank">Canadian Television (CTV)</A><BR>
    <BR><A HREF="http://www.canada.com/globaltv/" TARGET="_blank">Global Television</A><BR>
    <BR><A HREF="http://www.nbc.com/" TARGET="_blank">National Broadcasting Company (NBC)

    </A><BR>
    <BR><A HREF="http://www.cnn.com/" TARGET="_blank">Cable News Network (CNN)</A><BR>
    <BR><A HREF="http://www.abc.net.au/news/" TARGET="_blank">American Broadcasting Company

    (ABC)</A><BR>
    <BR><A HREF="http://www.tsn.ca/" TARGET="_blank">The Sports Network (TSN)</A><BR>
    <BR><A HREF="http://www.sportsnet.ca/" TARGET="_blank">SportsNet</A><BR>
    <BR><A HREF="http://espn.go.com/" TARGET="_blank">ESPN</A><BR>
    <BR><A HREF="http://movies.go.com/" TARGET="_blank">Movies.com</A><BR>
    <BR><A HREF="http://et.tv.yahoo.com/" TARGET="_blank">ETonline.com</A><BR>
    <BR>For your Winnipeg weather forecast:<BR></CENTER></P>
    <CENTER><A HREF="http://www.weather.ca/weather/cities/can/pages/CAMB0244.htm" TARGET="_blank"><IMG

    WIDTH="100"
    HEIGHT="90"
    ALIGN="CENTER"
    SRC="Weathereye_b.gif"></A></CENTER>
    <P><CENTER>If you have links that you would like to see listed here, email

    <a href="mailto:[email protected]">ASHLEY HENDRY</a> and maybe we'll add them!</CENTER></P>

    </TD>
    </TR>
    </TABLE>

    <!--SIXTH TABLE ENDS--></TD>
    </TR>

    </TABLE>

    <!--SECOND TABLE ENDS--></TD>

    <TD WIDTH="50%"> <!--THIRD TABLE-->

    <TABLE WIDTH="100%
    HEIGHT="100%
    CELLSPACING="0"
    CELLPADDING="O">

    <TR BGCOLOR="6787BB"
    HEIGHT="25">
    <TD WIDTH="100%">
    <TH ALIGN="CENTER"
    VALIGHN="MIDDLE"><FONT FACE="ARIAL"
    COLOR="FFFFFF"
    SIZE="-1"><B>News</B></FONT></TH></TD>
    </TR>

    <TR>
    <TD> <!--FOURTH TABLE-->

    <TABLE WIDTH="100%"
    CELLPADDING="10">

    <TR BGCOLOR="#F4F7FC">
    <TD><IMG WIDTH="300"
    LENGTH="100"
    ALIGN="CENTER"
    SRC="sudan_un.jpg">
    <P><H4><CENTER>Sudan dismisses
    <BR>threat of UN sanctions<BR></CENTER></H4></P>
    <P CLASS="TEXT">UNITED NATIONS - Sudanese President Omar el-Bashir said Sudday he isn't

    afraid of threatened sanctions by the United Nations. "We are afraid neither of the UN nor of its

    resolution," el-Bashir was quoted as saying by state-run television.</P>
    <P CLASS="TEXT">At issue is the situation on Darfur, where more than a million Sudanses have

    died; either victims of violence or disease that spreads rapidly through the refugee camps.</P>

    </TD>
    </TR>

    </TABLE>

    <!--FOURTH TABLE ENDS--></TD>
    </TR>

    <TR BGCOLOR="6787BB"
    HEIGHT="25"
    <TD WIDTH="50%">
    <TH ALIGN="CENTER"
    VALIGHN="MIDDLE"><FONT FACE="ARIAL"
    COLOR="FFFFFF"
    SIZE="-1"><B>Sports</B></FONT></TH></TD>
    </TR>

    <TR>
    <TD> <!--TABLE FIVE-->

    <TABLE WIDTH="100%"
    CELLPADDING="10">

    <TR BGCOLOR="#F4F7FC">
    <TD><IMG WIDTH="120"
    LENGTH="160"
    ALIGN="LEFT"
    VSPACE="15"
    HSPACE="15"
    SRC="Roberts.jpg">

    <P><H4><CENTER>Bombers rally to
    <BR>sink Argonauts<BR></CENTER></H4></P>
    <P CLASS="TEXT">WINNIPEG - The Bombers looked impressive yesterday afternoon as they came

    back form a 20-3 deficit in the second quarter and dumped the Toronto Argonauts 44-34 in from of

    24,855 sun-baked fans at Canad Inns Stadium. "The one thing we've grown to expect from this group

    of guys is that there is no quit in them," Bombers head coach Jim Daley said. "We've gone five or

    six weeks fighting uphill struggles and we've never, ever, let up." The triumph moved the Bombers

    four points ahead of the Saskatchewan Roughriders (4-8) in the race for third in the West Divison

    and just two points in arrears of the second-place Edmonton Eskimos (7-5).</P>

    </TD>
    </TR>

    </TABLE>

    <!--TABLE FIVE ENDS--></TD>
    </TR>

    </TABLE>

    <!--THRID TABLE ENDS--></TD>
    </TR>

    </TABLE>

    <TABLE WIDTH="760"
    CELLSPACING="5">

    <TR HEIGHT="50">
    <TD CLASS="FOOTER" COLSPAN="2" BGCOLOR="#275b9c" ALIGN="CENTER"> <P>© 2004 **********
    <BR>Red River College<BR>
    Site Designed by ********</P></TD>
    </TR>

    </TABLE>
    <!--MAIN TABLE ENDS-->


    </BODY>

    </HTML>

    thanks so much
     
  2. skybreaker

    skybreaker Guest

    for centering "news" and "sports", take this out:

    <TR BGCOLOR="6787BB"
    HEIGHT="25">
    <TD WIDTH="100%">
    <TH ALIGN="CENTER"
    VALIGHN="MIDDLE"><FONT FACE="ARIAL"
    COLOR="FFFFFF"
    SIZE="-1"><B>News</B></FONT></TH></TD>
    </TR>

    (the bold stuff)


    for centering "links" (the title), take this out:

    <TR BGCOLOR="6787BB"
    HEIGHT="25">
    <TD WIDTH="50%">
    <TH ALIGN="CENTER"
    VALIGHN="MIDDLE"><FONT FACE="ARIAL"
    COLOR="FFFFFF"
    SIZE="-1"><B>Links</B></FONT></TH>
    </TD>
    </TR>


    the result looks fine to me.

    click HERE to see, how it looks to me...
     
    Last edited by a moderator: Oct 1, 2004
  3. skybreaker

    skybreaker Guest

    oh, to make it easier - here is the new source-code:


    <HTML>

    <HEAD>

    <TITLE>My Info Center</TITLE>

    <LINK REL=STYLESHEET HREF="myinfocenterstyles.css"
    TYPE="text/css">

    </HEAD>

    <BODY BGCOLOR="#f4f7fc">

    <!--MAIN TABLE-->

    <TABLE WIDTH="760"
    CELLSPACING="5">

    <TR HEIGHT="50">
    <TD COLSPAN="2" BGCOLOR="#275b9c" ALIGN="CENTER"><IMG SRC="myInfoCenter.gif"></CENTER></TD>
    </TR>

    </TABLE>

    <TABLE WIDTH="760"
    CELLSPACING="5">

    <TR>
    <TD WIDTH="50%"> <!--SECOND TABLE-->

    <TABLE WIDTH="100%"
    HEIGHT="100%"
    CELLSPACING="0"
    CELLPADDING="O">

    <TR BGCOLOR="6787BB"
    HEIGHT="25">
    <TH ALIGN="CENTER"
    VALIGHN="MIDDLE"><FONT FACE="ARIAL"
    COLOR="FFFFFF"
    SIZE="-1"><B>Links</B></FONT></TH>
    </TD>
    </TR>

    <TR>
    <TD> <!--SIXTH TABLE-->

    <TABLE WIDTH="100%"
    CELLPADDING="10">

    <TR BGCOLOR="#F4F7FC">
    <TD CLASS="LINKS"><P>The following are Websites I visit when I'm looking for the latest in news,

    sports, entertainment and weather!</P>
    <P><CENTER><BR><A HREF="http://www.cbc.ca/" TARGET="_blank">Canadian Broadcasting

    Corporation (CBC)</A><BR>
    <BR><A HREF="http://www.ctv.ca/" TARGET="_blank">Canadian Television (CTV)</A><BR>
    <BR><A HREF="http://www.canada.com/globaltv/" TARGET="_blank">Global Television</A><BR>
    <BR><A HREF="http://www.nbc.com/" TARGET="_blank">National Broadcasting Company (NBC)

    </A><BR>
    <BR><A HREF="http://www.cnn.com/" TARGET="_blank">Cable News Network (CNN)</A><BR>
    <BR><A HREF="http://www.abc.net.au/news/" TARGET="_blank">American Broadcasting Company

    (ABC)</A><BR>
    <BR><A HREF="http://www.tsn.ca/" TARGET="_blank">The Sports Network (TSN)</A><BR>
    <BR><A HREF="http://www.sportsnet.ca/" TARGET="_blank">SportsNet</A><BR>
    <BR><A HREF="http://espn.go.com/" TARGET="_blank">ESPN</A><BR>
    <BR><A HREF="http://movies.go.com/" TARGET="_blank">Movies.com</A><BR>
    <BR><A HREF="http://et.tv.yahoo.com/" TARGET="_blank">ETonline.com</A><BR>
    <BR>For your Winnipeg weather forecast:<BR></CENTER></P>
    <CENTER><A HREF="http://www.weather.ca/weather/cities/can/pages/CAMB0244.htm" TARGET="_blank"><IMG

    WIDTH="100"
    HEIGHT="90"
    ALIGN="CENTER"
    SRC="Weathereye_b.gif"></A></CENTER>
    <P><CENTER>If you have links that you would like to see listed here, email

    <a href="mailto:[email protected]">ASHLEY HENDRY</a> and maybe we'll add them!</CENTER></P>

    </TD>
    </TR>
    </TABLE>

    <!--SIXTH TABLE ENDS--></TD>
    </TR>

    </TABLE>

    <!--SECOND TABLE ENDS--></TD>

    <TD WIDTH="50%"> <!--THIRD TABLE-->

    <TABLE WIDTH="100%
    HEIGHT="100%
    CELLSPACING="0"
    CELLPADDING="O">

    <TR BGCOLOR="6787BB"
    HEIGHT="25">
    <TH ALIGN="CENTER"
    VALIGHN="MIDDLE"><FONT FACE="ARIAL"
    COLOR="FFFFFF"
    SIZE="-1"><B>News</B></FONT></TH></TD>
    </TR>

    <TR>
    <TD> <!--FOURTH TABLE-->

    <TABLE WIDTH="100%"
    CELLPADDING="10">

    <TR BGCOLOR="#F4F7FC">
    <TD><IMG WIDTH="300"
    LENGTH="100"
    ALIGN="CENTER"
    SRC="sudan_un.jpg">
    <P><H4><CENTER>Sudan dismisses
    <BR>threat of UN sanctions<BR></CENTER></H4></P>
    <P CLASS="TEXT">UNITED NATIONS - Sudanese President Omar el-Bashir said Sudday he isn't

    afraid of threatened sanctions by the United Nations. "We are afraid neither of the UN nor of its

    resolution," el-Bashir was quoted as saying by state-run television.</P>
    <P CLASS="TEXT">At issue is the situation on Darfur, where more than a million Sudanses have

    died; either victims of violence or disease that spreads rapidly through the refugee camps.</P>

    </TD>
    </TR>

    </TABLE>

    <!--FOURTH TABLE ENDS--></TD>
    </TR>

    <TR BGCOLOR="6787BB"
    HEIGHT="25"
    <TD WIDTH="50%">
    <TH ALIGN="CENTER"
    VALIGHN="MIDDLE"><FONT FACE="ARIAL"
    COLOR="FFFFFF"
    SIZE="-1"><B>Sports</B></FONT></TH></TD>
    </TR>

    <TR>
    <TD> <!--TABLE FIVE-->

    <TABLE WIDTH="100%"
    CELLPADDING="10">

    <TR BGCOLOR="#F4F7FC">
    <TD><IMG WIDTH="120"
    LENGTH="160"
    ALIGN="LEFT"
    VSPACE="15"
    HSPACE="15"
    SRC="Roberts.jpg">

    <P><H4><CENTER>Bombers rally to
    <BR>sink Argonauts<BR></CENTER></H4></P>
    <P CLASS="TEXT">WINNIPEG - The Bombers looked impressive yesterday afternoon as they came

    back form a 20-3 deficit in the second quarter and dumped the Toronto Argonauts 44-34 in from of

    24,855 sun-baked fans at Canad Inns Stadium. "The one thing we've grown to expect from this group

    of guys is that there is no quit in them," Bombers head coach Jim Daley said. "We've gone five or

    six weeks fighting uphill struggles and we've never, ever, let up." The triumph moved the Bombers

    four points ahead of the Saskatchewan Roughriders (4-8) in the race for third in the West Divison

    and just two points in arrears of the second-place Edmonton Eskimos (7-5).</P>

    </TD>
    </TR>

    </TABLE>

    <!--TABLE FIVE ENDS--></TD>
    </TR>

    </TABLE>

    <!--THRID TABLE ENDS--></TD>
    </TR>

    </TABLE>

    <TABLE WIDTH="760"
    CELLSPACING="5">

    <TR HEIGHT="50">
    <TD CLASS="FOOTER" COLSPAN="2" BGCOLOR="#275b9c" ALIGN="CENTER"> <P>© 2004 **********
    <BR>Red River College<BR>
    Site Designed by ********</P></TD>
    </TR>

    </TABLE>
    <!--MAIN TABLE ENDS-->


    </BODY>

    </HTML>
     
  4. Grifter

    Grifter Silver Member

    Joined:
    Dec 21, 2000
    Messages:
    3,117
    Likes Received:
    0
    Location:
    the southwest
    wrong forum
     
  5. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    a) Why are you trying to view it in Word? It'll never look right there.
    b) Format your code nicely and post it with [code ] tags so we can actually read it.
     

Share This Page