Join us at IRC!
Hacking isn't just Computers & Exploits. It's a Philosophy. - Mr_Cheese
Friday, May 25, 2012
Navigation
Members Online
Total Online: 30
Web Spiders: 16
Guests Online: 27
Members Online: 3

Registered Members: 70217
Newest Member: HyperFang8
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

Table in Tables Issues

The-Scarecrow
Member



Posts: 163
Location: Australia
Joined: 18.05.07
Rank:
Mad User
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>


Ask me for it ill give it.
Author

RE: Table in Tables Issues

spyware
Member



Posts: 4190
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.




"The chowner of property." - Zeph
“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
http://bitsofspy.net
Author

RE: Table in Tables Issues

The-Scarecrow
Member



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


Ask me for it ill give it.
Author

RE: Table in Tables Issues

spyware
Member



Posts: 4190
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?




"The chowner of property." - Zeph
“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
http://bitsofspy.net
Author

RE: Table in Tables Issues

ynori7
Future Emperor of Earth



Posts: 1481
Location: #valhalla
Joined: 08.10.07
Rank:
Diabolical
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:

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




ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 163
Location: Australia
Joined: 18.05.07
Rank:
Mad User
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?


Ask me for it ill give it.
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 163
Location: Australia
Joined: 18.05.07
Rank:
Mad User
Posted on 24-04-09 05:10
thanks a heap!


Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Future Emperor of Earth



Posts: 1481
Location: #valhalla
Joined: 08.10.07
Rank:
Diabolical
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.w3schools.com/tags/tag_DIV.asp






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: 163
Location: Australia
Joined: 18.05.07
Rank:
Mad User
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?


Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Future Emperor of Earth



Posts: 1481
Location: #valhalla
Joined: 08.10.07
Rank:
Diabolical
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.




ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



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


Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Future Emperor of Earth



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

ynori7 on yahoo.




ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 163
Location: Australia
Joined: 18.05.07
Rank:
Mad User
Posted on 24-04-09 05:43
i don't have it :(


Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Future Emperor of Earth



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

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




ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 163
Location: Australia
Joined: 18.05.07
Rank:
Mad User
Posted on 24-04-09 06:41
how do i get IRC working? also what side does the scblockedript 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?


Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Future Emperor of Earth



Posts: 1481
Location: #valhalla
Joined: 08.10.07
Rank:
Diabolical
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 scblockedript 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.





ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 163
Location: Australia
Joined: 18.05.07
Rank:
Mad User
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?


Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Future Emperor of Earth



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

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






ynori7 http://halls-of-valhalla.org
Author

RE: Table in Tables Issues

The-Scarecrow
Member



Posts: 163
Location: Australia
Joined: 18.05.07
Rank:
Mad User
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>


Ask me for it ill give it.
Author

RE: Table in Tables Issues

ynori7
Future Emperor of Earth



Posts: 1481
Location: #valhalla
Joined: 08.10.07
Rank:
Diabolical
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.





ynori7 http://halls-of-valhalla.org
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.