Jul 25, 2008

Coding Help Needed.

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Coding Help Needed.

rustypaulin
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

Reply

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

Reply

HmmZ
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

Reply

rustypaulin
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>


 

 

 


Reply

truefusion
For all of the colspans, instead of a 2, change it to a 3.

Reply

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

Reply

rustypaulin
ok thanks BuffaloHELP i've changed it and its working now, thanks

Reply

BuffaloHELP
You're welcome.

Problem resolved and topic closed.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : coding, needed

  1. Template Coding Issue
    (7)
  2. Iframes Coder Needed
    (4)
    Dear all, If you know HTML, then you will know how to use iFrames. I need three sets of Frames for
    my layout. Please make the content area have a scrollbar. Thank you! I have no reward, but
    if you give me your nickname/full name and I will give credit to you on the site. I have a domain,
    I'm not a tker /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif"
    /> Btw, I know it's basic but I don't care.....
  3. Template Coding
    Is this right place to post? (4)
    I duno if im posting in right area i asked in shoutbox but not to much of a response..lol anyways i
    followed a photoshop tutorial i found on google for making a clan template i made the template but
    the tut ended when u need to i think they call it slicing i know i need to code the theme now. is
    their a program out their to help me code this theme or what??? ....
  4. Code For This Table Layout?
    html help needed (6)
    Hey, can anyone help me generate the code needed for a table that would look something like this?
    CODE  ----------------------------------------------------- |                                  
    |---------------- | |                                   |---------------- | |                    
                  |---------------- | |                                   |---------------- | |      
                                |---------------- | |                                  
    |---------------- |  ------------------------------------------------------ Thanks i....

    1. Looking for coding, needed

Searching Video's for coding, needed
advertisement



Coding Help Needed.



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE