Jump to content

table trouble

- - - - -

  • Please log in to reply
6 replies to this topic

#1
BRUTAL

BRUTAL

    Newbie

  • Members
  • PipPip
  • 22 posts
hey guys im making progress on my sight and well when i am adding pictures to my page it shifts my table all the way down to the bottom PLZ help

#2
opwuaioc

opwuaioc

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 216 posts
You're going to have to give more information than that. Is your website viewable? What do you want, and what are you doing?
Something witty here.

#3
BRUTAL

BRUTAL

    Newbie

  • Members
  • PipPip
  • 22 posts
haha yah srry bout that will have my code up in a few

#4
BRUTAL

BRUTAL

    Newbie

  • Members
  • PipPip
  • 22 posts
Heres the code

<html>
<head>
<title>title</title>
<style type="text/css">
table,td,th
{
border:1px solid black;
}
table
{
width:100%;
}
th
{
alink="black"
font-family:Sever;
height:50px;
}
body {
    background-color: #007700;
}

h1 {
    font-family: Sergeant SixPack;
    font-size: 52pt;
}
p {
    font-family: Sever;
    font-size: 12pt; 
    font-style: italic;
}
</style>
</head>
<h1>Website title</h1>
<img src="deerstand.jpg">


<p>Little motto that is kinda catchy</p>
<p>that paraphrases the site with it.</p>



<table>
<tr>
<th><a href="home.html">Home</a></th>
<th><a href="Pics.html">Pics</a></th>
<th><a href="tips.html">Tips</a></th>
<th><a href="forums.html">Forums</a></th>
</tr>

</body>
</html>

Edited by Alexander, 10 January 2011 - 05:49 PM.
( Added html tags )


#5
GabryelFall

GabryelFall

    Learning Programmer

  • Members
  • PipPipPip
  • 74 posts
Maybe if we knew where you wanted your table to be? The only thing wrong with your code is you're missing a </table>
~~~~>>>><<<<~~~~
Cook to live; Live to cook. Code is poetry. Chef and code-monkey,
Gabe

#6
fazlerocks

fazlerocks

    Newbie

  • Members
  • PipPip
  • 12 posts
You have placed the table at the end so it is for sure will be displayed at the end only. Try placing at the appropriate position and add some styles to it.

Suppose you want to display table above the paragraph then add the code before the paragraph tags.

Hope you got what the problem is!

Edited by fazlerocks, 18 January 2011 - 05:00 AM.


#7
opwuaioc

opwuaioc

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 216 posts
What fazlerocks said. If something is still wrong, come back and describe a bit more detail so we can help you better. Good luck.
Something witty here.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users