A Digital Age Deserves A Digital Leader

Code to move stuff to the top?

Code to move stuff to the top?

Postby xxsonyboy4lfexx » Sat May 05, 2007 2:31 am

Is there a way stuff can auto set to go to the top of a table. Cause for the left and the right I have to have like 10 BRs to push it up. But everytime I add something I have to delete one and it's annoying. Anything that will push it to the top? Like the center code?

Image :notworthy :notworthy
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby Treihydral » Sat May 05, 2007 4:55 am

Code: Select all
valign = top|middle|bottom|baseline
    This attribute specifies the vertical position of data within a cell. Possible values:

        * top: Cell data is flush with the top of the cell.
        * middle: Cell data is centered vertically within the cell. This is the default value.
        * bottom: Cell data is flush with the bottom of the cell.
        * baseline: All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells.

PRO Level 5
User avatar
Posts: 176
Joined: Wed Jul 14, 2004 2:20 am
Location: Mahboula, Kuwait
Real Name: William Perito

Postby xxsonyboy4lfexx » Sat May 05, 2007 11:20 am

I put this in and nothing happened
Code: Select all
<valign>


but with ="top" that wouldn't come up in the code thing for this forum.

Also, for example the Entertainment section is made up of 3 separate tables.
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby gries818 » Sat May 05, 2007 12:58 pm

http://www.pro-networks.org/forum/about89036.html

Try this.

Put the code in the CSS file:

Code: Select all
.featureleft
{
font-family: Book Antiqua, Bookman Old Style, Times New Roman, Serif;
float: left;
padding-top: 50px;
padding-right: 20px;
}
Image

Mac OS 10.6.7 - Personal
Ubuntu Server 11.04 - Server
Software Development
User avatar
Posts: 3991
Joined: Wed Jul 07, 2004 6:28 pm

Postby xxsonyboy4lfexx » Sat May 05, 2007 1:09 pm

I have no CSS
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby gries818 » Sat May 05, 2007 1:10 pm

xxsonyboy4lfexx wrote:I have no CSS


Why?
Image

Mac OS 10.6.7 - Personal
Ubuntu Server 11.04 - Server
Software Development
User avatar
Posts: 3991
Joined: Wed Jul 07, 2004 6:28 pm

Postby xxsonyboy4lfexx » Sat May 05, 2007 1:21 pm

I don't know how to use it
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby Treihydral » Sat May 05, 2007 1:27 pm

xxsonyboy4lfexx wrote:I put this in and nothing happened
Code: Select all
<valign>


but with ="top" that wouldn't come up in the code thing for this forum.

Also, for example the Entertainment section is made up of 3 separate tables.


I may have misunderstood what you are looking for.

Do you want the content in the tables to valign or do you need the tables themselves to valign?
PRO Level 5
User avatar
Posts: 176
Joined: Wed Jul 14, 2004 2:20 am
Location: Mahboula, Kuwait
Real Name: William Perito

Postby Treihydral » Sat May 05, 2007 1:34 pm

Show me the source for the topleft table on your page. Put it in "[code]" tags when posting it here.
PRO Level 5
User avatar
Posts: 176
Joined: Wed Jul 14, 2004 2:20 am
Location: Mahboula, Kuwait
Real Name: William Perito

Postby xxsonyboy4lfexx » Sat May 05, 2007 1:41 pm

Well those sections on the left site. Entertainment, Bf2, Software etc need to move to the top of that area. And stay there so when I add a new link to the selection it doesn't go up any higher and push the tables. And the BF2, Software etc, those are made up of 3 tables.

Here's my index if you need it
http://www.mediafire.com/?2nyti1juztd

Here's my right nav side even though its really the left. lol just realized that
*If you dl that file it shows u the real code cause the part that says RIGHT and ENTERTAINMENT is really a comment

Code: Select all
<Right>
<center>
<Entertainment>
<table>
<tr>
<td><img src="./nav_edge.png"></td><td><font size="2" color="FFFFF" face="Verdana"><b>Entertainment</b></font></td><td><img src="./nav_edge2.png"></img></td></tr>
</table>
<table><tr><td><font size="1" color="AAAAAA" face="Verdana"><b>
Arcade<BR>
Flash<BR>
Videos<BR>
Comedians<BR>
</b></font>
</td>
</tr>
</table>
<table>
<tr>
<td>
<img src="bottom_nav.png"></img>
</td>
</tr>
</table><BR>
<Computer>
<table>
<tr>
<td><img src="./nav_edge.png"></td><td><font size="2" color="FFFFF" face="Verdana"><b>Software</b></font></td><td><img src="./nav_edge2.png"></img></td></tr>
</table>
<table><tr><td><font size="1" color="AAAAAA" face="Verdana"><b>
Gaming<BR>
Browsers<BR>
Protection<BR>
Media Players<BR>
Instant Messengers<BR>
Media Players<BR>
</b></font>
</td>
</tr>
</table>
<table>
<tr>
<td>
<img src="bottom_nav.png"></img>
</td>
</tr>
</table><BR>
<BF2142>
<table>
<tr>
<td><img src="./nav_edge.png"></td><td><font size="2" color="FFFFF" face="Verdana"><b>BattleField 2142</b></font></td><td><img src="./nav_edge2.png"></img></td></tr>
</table>
<table><tr><td><font size="1" color="AAAAAA" face="Verdana"><b>
Movies<BR>
Downloads<BR>
Ranks/Awards<BR>
Weapons<BR>
Vehicles<BR>
</b></font>
</td>
</tr>
</table>
<table>
<tr>
<td>
<img src="bottom_nav.png"></img>
</td>
</tr>
</table><BR>
<BF2>
<table>
<tr>
<td><img src="./nav_edge.png"></td><td><font size="2" color="FFFFF" face="Verdana"><b>BattleField 2</b></font></td><td><img src="./nav_edge2.png"></img></td></tr>
</table>
<table><tr><td><font size="1" color="AAAAAA" face="Verdana"><b>
Movies<BR>
Downloads<BR>
Ranks/Awards<BR>
Weapons<BR>
Vehicles<BR>
</b></font>
</td>
</tr>
</table>
<table>
<tr>
<td>
<img src="bottom_nav.png"></img>
</td>
</tr>
</table><BR>
</center></div>
<td>
<center>
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Next

Return to HTML, CSS, and Scripts

Who is online

Users browsing this forum: No registered users and 2 guests

cron
cron