Welcome Guest ( Log In | Register)



 
Closed TopicStart new topic
> Coding Help Needed.
rustypaulin
post Aug 15 2005, 04:28 PM
Post #1


Super Member
*********

Group: Members
Posts: 309
Joined: 8-March 05
Member No.: 4,273



I've been trying to code a layout into HTML, i think i've sliced it well, but i can't get the coloumns for the content coded correctly. You can look at my attempt so far here http://ukds0.tripod.com/mariocircuit/index.html please could anyone tell me what i've done wrong and how i could correct it. Thanks in advance
P.S. this is needed quite urgently
Go to the top of the page
 
+Quote Post
Inspiron
post Aug 15 2005, 04:58 PM
Post #2


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,205
Joined: 25-March 05
Member No.: 4,883



If you would mind to show the source codes here rather.. Because the codes are being covered by Tripod's webads and it's hard to see your real codes...
Go to the top of the page
 
+Quote Post
HmmZ
post Aug 15 2005, 06:51 PM
Post #3


Super Member
*********

Group: Members
Posts: 362
Joined: 2-March 05
From: The Netherlands
Member No.: 4,097



its not that hard..anyway..end has some flaws wich may cause the outer positioning...

REMOVE
CODE
<TR>

 <TD COLSPAN=2>
  <IMG SRC="footer.gif" WIDTH=762 HEIGHT=49 ALT=""></TD>
</TR>



(its at the end)

then,
add this to the end
CODE
</TD></TR><TR>
 <TD COLSPAN=2>
  <IMG SRC="footer.gif" WIDTH=762 HEIGHT=49 ALT="">
         </TD></TR>
</TABLE></CENTER></BODY></HTML>


Dont know if that helps, but it atleast gets rid of the flaws
Go to the top of the page
 
+Quote Post
rustypaulin
post Aug 15 2005, 08:03 PM
Post #4


Super Member
*********

Group: Members
Posts: 309
Joined: 8-March 05
Member No.: 4,273



i've edited that but it didn't fix my problem, thanks anyway
here's the code to make it easier for people
CODE
<html>
<head>
<meta http-equiv="content-language" content="en">
<meta name="rating" content="general">
<TITLE>XenonHack</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="style.css">
</HEAD>
<body BGCOLOR=#FFFFFF>
<CENTER><TABLE WIDTH=762 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
 <TD COLSPAN=2>
  <IMG SRC="header.gif" WIDTH=762 HEIGHT=217 ALT=""></TD>
</TR>

<TD VALIGN="le" BACKGROUND="background1.gif" WIDTH=157>
<TABLE><TR><TD><P class="foo">
Link

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

<TD VALIGN="center" BACKGROUND="background2.gif" WIDTH=448>
<TABLE><TR><TD><P class="foo">
Content

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

<TD VALIGN="top" BACKGROUND="background3.gif" WIDTH=157>
<TABLE><TR><TD><P class="foo">
Content

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

</TD></TR><TR>
<TD COLSPAN=2>
 <IMG SRC="footer.gif" WIDTH=762 HEIGHT=49 ALT="">
        </TD></TR>
</TABLE></CENTER></BODY></HTML>


Go to the top of the page
 
+Quote Post
truefusion
post Aug 15 2005, 09:54 PM
Post #5


Ephesians 6:10-17
Group Icon

Group: [MODERATOR]
Posts: 1,893
Joined: 22-June 05
From: The World of Gentoo
Member No.: 8,528
T17 GFX Crew



For all of the colspans, instead of a 2, change it to a 3.
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Aug 16 2005, 12:08 AM
Post #6


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,463
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



I'm assuming the misalignment of the menu text? Try this for a size

CODE

<html>
<head>
<meta http-equiv="content-language" content="en">
<meta name="rating" content="general">
<TITLE>XenonHack</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="style.css">
</HEAD>
<body BGCOLOR=#FFFFFF>
<CENTER>
<TABLE WIDTH=762 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
 <IMG SRC="http://ukds0.tripod.com/mariocircuit/header.gif" WIDTH=762 HEIGHT=217 ALT=""><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="762" id="AutoNumber1">
   <tr>
     <td align="center" BACKGROUND="http://ukds0.tripod.com/mariocircuit/background1.gif" width="157">LINK </td>
     <td align="center" BACKGROUND="http://ukds0.tripod.com/mariocircuit/background2.gif" width="448">CONTENT</td>
     <td align="center" BACKGROUND="http://ukds0.tripod.com/mariocircuit/background3.gif" width="157">CONTENT</td>
   </tr>
 </table>
</TD>
</TR>

<TR>
<TD>
<IMG SRC="http://ukds0.tripod.com/mariocircuit/footer.gif" WIDTH=762 HEIGHT=49 ALT="">
       </TD></TR>
</TABLE></CENTER></BODY></HTML>


What you had was the text LINK, CONTENT, CONTENT in separate table. Whenever you need to have text aligned with the background image, it's a good idea to place a general table (global table) then subdivide within that general table to align your text. What I did was I inserted a 1 row, 3 column table then I aligned them using ALIGN argument. I think you'll find that it's easier this way. If you want to align even further, insert a table within the table I placed and you can align however you'd like.
Go to the top of the page
 
+Quote Post
rustypaulin
post Aug 16 2005, 11:43 AM
Post #7


Super Member
*********

Group: Members
Posts: 309
Joined: 8-March 05
Member No.: 4,273



ok thanks BuffaloHELP i've changed it and its working now, thanks
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Aug 17 2005, 04:53 AM
Post #8


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,463
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



You're welcome.

Problem resolved and topic closed.
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Delphi & Assembly Forum(2)
  2. Exporting Transparent Images In Photoshop To Flash(4)
  3. Web Surfing- Script Needed(2)
  4. Should I Call Him(28)
  5. Auto Webpage Resolution Format(7)
  6. How To Acess Domain Control Panel.help Needed(5)
  7. Visual Basic 6.0 Help Needed(15)
  8. Sattelite,reseiver(star Sat),coding ....(5)
  9. Dell Tech Support(22)
  10. How To Convert Primary Partition Into Logical Partition In Win Xp(8)
  11. Help Needed With Excel Formulas(5)
  12. We Need More Members At Ipbgaming.com(27)
  13. Push-ups(12)
  14. Recovery Cds(8)
  15. Dating Advice Needed(8)
  1. Sony Handycam(15)
  2. Tools Needed!(9)
  3. Photoshop Help Needed(3)
  4. Tutorial Needed?!(11)
  5. The Coding Group(23)
  6. Coding Help!(3)
  7. Coding A Web Design(14)
  8. Windows Update(7)
  9. Arrays And List Boxes(2)
  10. Postage Costs Problem For My Website(7)
  11. Ameran Portals?(1)