Follow us on Twitter!
Imagination is more valuable than knowledge - Albert Einstein
Wednesday, April 23, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 31
Guests Online: 22
Members Online: 9

Registered Members: 82881
Newest Member: DARKLECTER
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 04:36
hey, im trying to get a table to sit inside a longer table (vertically) however it sits in the middle how do i get it to sit at the very top?

this is the code

<table width="150" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="054ff"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="row"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<th scope="row"><a href="Index.php"><span class="style2">Home</span></a></th>
</tr>
<tr>
<th scope="row"><span class="style2">Forums</span></th>
</tr>
<tr>
<th scope="row"><span class="style2"><a href="Verses.html">Verses</a></span></th>
</tr>
<tr>
<th scope="row"><span class="style2">Link1</span></th>
</tr>
<tr>
<th scope="row"><span class="style2">Link2</span></th>
</tr>
</table></th>
</tr>
</table> </td>


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 24-04-09 04:44
HTML: INFORMATION
CSS: LAYOUT

DIVIDE.

FOR THE INTERNET.



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 04:48
yeh hi... could your repeat that in a constructed sentence?


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 24-04-09 04:51
The-Scarecrow wrote:
yeh hi... could your repeat that in a constructed sentence?


Read it again and interpret my post as a constructed sentence, why should I do all the hard work?



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: Table in Tables Issues

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 24-04-09 05:01
Man, your code is so ugly. You've even got an extra table mixed in there that has no use and doesn't get terminated. I took the liberty of fixing it up a bit for you:

Code
<table width="150" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td bgcolor="054ff">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <th scope="row">
  <tr>
    <th scope="row"><a href="Index.php"><span class="style2">Home</span></a></th>
  </tr>
  <tr>
    <th scope="row"><span class="style2">Forums</span></th>
  </tr>
  <tr>
   <th scope="row"><span class="style2"><a href="Verses.html">Verses</a></span></th>
  </tr>
  <tr>
    <th scope="row"><span class="style2">Link1</span></th>
  </tr>
  <tr>
    <th scope="row"><span class="style2">Link2</span></th>
  </tr>
  </th>
  </tr>
</table>
</td>
</tr>
</table>




For the future, tabbing makes things much more readable.


halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg
ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 05:06
yeh still don't get it, what meaning are you giving to divide? and am i dividing css from html or interenet from html and css. or are you meaning divide as in a 'a great gap' and saything that the internet is very far away from css and html? or are they 3 completly different ideas judging by where the full stops are put in. but as a whole how does this help me?


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 05:10
thanks a heap!


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 24-04-09 05:11
The-Scarecrow wrote:
yeh still don't get it, what meaning are you giving to divide? and am i dividing css from html or interenet from html and css.

He's saying to use css for layout and html for content. Divide those into two separate things.

And you should read: http://www.w3scho. . .ag_DIV.asp


halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg


Edited by ynori7 on 24-04-09 05:13
ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 05:15
while your on a roll....

<td bordercolor="00066" bgcolor="033CC"><p align="center" class="style1"><?php include"random.php";?></p> </td>

how come my php text isnt white and centered?


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 24-04-09 05:23
The-Scarecrow wrote:
while your on a roll....

<td bordercolor="00066" bgcolor="033CC"><p align="center" class="style1"><?php include"random.php";?></p> </td>

how come my php text isnt white and centered?

I don't know what it says in your random.php file, but your code you showed there doesn't say anything about the text color. Also, the text is centered, but it's centered in the table, not the page.


halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg
ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 05:31
do you have msn? i could show you on that.


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 24-04-09 05:32
The-Scarecrow wrote:
do you have msn? i could show you on that.

ynori7 on yahoo.


halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg
ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 05:43
i don't have it Sad


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 24-04-09 05:45
The-Scarecrow wrote:
i don't have it Sad

Yahoo and MSN can talk to each other. But if you can't figure it out, I'm also on the IRC right now.


halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg
ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 06:41
how do i get IRC working? also what side does the script to make the php in the center of the box go on? server side or index side? can i just use html/css tags or are there php tags?


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 24-04-09 07:27
The-Scarecrow wrote:
how do i get IRC working?

You need to make an exception in your browser. Don't know about chrome or FF, but in IE you just click on the little security notice at the top of the window and say "allow blocked content".

also what side does the script to make the php in the center of the box go on? server side or index side?

If you're referring to the align="center" attribute, or the center tags, then they can be on either side.

can i just use html/css tags or are there php tags?

Give me an example of a php tag besides <?php and ?>. I'm curious.



halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg
ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 07:47
<p align="center" class="style1"><?php include"random_quote.php";?></p>

why doesn't that sit in the center of the textbox?


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 24-04-09 07:54
It should. Here's the test I ran:
Code
test2.php:
<html>
<p align="center" class="style1">
<?php
  include("test1.php");
?>
</p>
</html>



Code
test1.php:
<?php
  echo "<HTML>test</HTML>";
?>







halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg
ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 167
Location: Australia
Joined: 18.05.07
Rank:
Newbie
Posted on 24-04-09 08:03
it sits vertically central but not horizontally this is the whole text box.

<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0" bordercolor="#EFEFEF">
<tr>
<td bordercolor="00066" bgcolor="033CC"><p align="center" class="style1"><?php include"random_quote.php";?></p> </td>
</tr>
</table>


img518.imageshack.us/img518/1368/userbar619616sw2.gif
Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 24-04-09 08:26
The-Scarecrow wrote:
it sits vertically central but not horizontally this is the whole text box.

What do you mean vertically central? The table is just one row and one column.

And mine was horizontally centered. I replaced your php file in the include with the test1.php I used earlier. So unless something in your included file is interfering, it should work.



halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg
ynori7 http://halls-of-valhalla.org