HighDots Forums  

How can I get a table to stay at the top of page?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss How can I get a table to stay at the top of page? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
justcrash
 
Posts: n/a

Default How can I get a table to stay at the top of page? - 11-20-2004 , 09:16 AM






Ok guys and gals, I am getting really frustrated! I need the table that has my
nav bar to stay at the top left side of the page, like this:
http://www.djstevens.com/bio.htm . However, when my text runs long, I get
this: http://www.djstevens.com/poems.htm How do I stop that from happening? I
am not a big fan of frames at all. NOTE: Please ignore the borders and other
issues, I am not even close to finished yet, I just wanted to address this
before I move on. Thanks for any help, guys and gals!


Reply With Quote
  #2  
Old   
Misha
 
Posts: n/a

Default Re: How can I get a table to stay at the top of page? - 11-20-2004 , 09:30 AM






well you need a vertical-align: top; on the cells. You can do this
through CSS, or you can use "<td valign="top">content</td>" but that is
deprecated.

justcrash wrote:

Quote:
Ok guys and gals, I am getting really frustrated! I need the table that has my
nav bar to stay at the top left side of the page, like this:
http://www.djstevens.com/bio.htm . However, when my text runs long, I get
this: http://www.djstevens.com/poems.htm How do I stop that from happening? I
am not a big fan of frames at all. NOTE: Please ignore the borders and other
issues, I am not even close to finished yet, I just wanted to address this
before I move on. Thanks for any help, guys and gals!


Reply With Quote
  #3  
Old   
justcrash
 
Posts: n/a

Default Re: How can I get a table to stay at the top of page? - 11-20-2004 , 09:47 AM



Why is it deprecated? How do I do it with CSS? I do have a style sheet, albeit
a little one, for this, so I can add it if need be. Originally posted by:
Newsgroup User well you need a vertical-align: top; on the cells. You can do
this <BR>through CSS, or you can use '<td valign='top'>content</td>' but that
is <BR>deprecated.<BR><BR>justcrash wrote:<BR><BR>> Ok guys and gals, I am
getting really frustrated! I need the table that has my <BR>> nav bar to stay
at the top left side of the page, like this: <BR>>
http://www.djstevens.com/poems.htm How do I stop that from happening? I <BR>>
am not a big fan of frames at all. NOTE: Please ignore the borders and other
<BR>> issues, I am not even close to finished yet, I just wanted to address
this <BR>> before I move on. Thanks for any help, guys and gals!<BR>> <BR>


Reply With Quote
  #4  
Old   
Mick White
 
Posts: n/a

Default Re: How can I get a table to stay at the top of page? - 11-20-2004 , 09:51 AM



justcrash wrote:

Quote:
Why is it deprecated? How do I do it with CSS? I do have a style sheet, albeit
a little one, for this, so I can add it if need be. Originally posted by:
Newsgroup User well you need a vertical-align: top; on the cells. You can do
this <BR>through CSS, or you can use '<td valign='top'>content</td>' but that
is <BR>deprecated.<BR><BR>justcrash wrote:<BR><BR>> Ok guys and gals, I am
getting really frustrated! I need the table that has my <BR>> nav bar to stay
at the top left side of the page, like this: <BR
http://www.djstevens.com/poems.htm How do I stop that from happening? I <BR
am not a big fan of frames at all. NOTE: Please ignore the borders and other
BR>> issues, I am not even close to finished yet, I just wanted to address
this <BR>> before I move on. Thanks for any help, guys and gals!<BR>> <BR

Just to add:
You have at least 2 body tags, and you have duplicates of DW javascript
functions,'Mick


Reply With Quote
  #5  
Old   
Misha
 
Posts: n/a

Default Re: How can I get a table to stay at the top of page? - 11-20-2004 , 09:53 AM



It is deprecated because we are trying to separate content from style.
You can still use it but at some point it will not be valid HTML any more.

You can use:


<td class="topalign">

then
..topalign {
vertical-align: top;
}

for the CSS


or

<table class="yourtable">


then
..yourtable td {
vertical-align: top;
}


I prefer the second I think.


justcrash wrote:
Quote:
Why is it deprecated? How do I do it with CSS? I do have a style sheet, albeit
a little one, for this, so I can add it if need be. Originally posted by:
Newsgroup User well you need a vertical-align: top; on the cells. You can do
this <BR>through CSS, or you can use '<td valign='top'>content</td>' but that
is <BR>deprecated.<BR><BR>justcrash wrote:<BR><BR>> Ok guys and gals, I am
getting really frustrated! I need the table that has my <BR>> nav bar to stay
at the top left side of the page, like this: <BR
http://www.djstevens.com/poems.htm How do I stop that from happening? I <BR
am not a big fan of frames at all. NOTE: Please ignore the borders and other
BR>> issues, I am not even close to finished yet, I just wanted to address
this <BR>> before I move on. Thanks for any help, guys and gals!<BR>> <BR


Reply With Quote
  #6  
Old   
Misha
 
Posts: n/a

Default Re: How can I get a table to stay at the top of page? - 11-20-2004 , 09:56 AM



P.S. the reason they recommend separating content from style is that
when other devices start using web pages, then the content can be easily
read on that format (and styled appropriately).

Misha wrote:

Quote:
It is deprecated because we are trying to separate content from style.
You can still use it but at some point it will not be valid HTML any more.

You can use:


td class="topalign"

then
.topalign {
vertical-align: top;
}

for the CSS


or

table class="yourtable"


then
.yourtable td {
vertical-align: top;
}


I prefer the second I think.


justcrash wrote:

Why is it deprecated? How do I do it with CSS? I do have a style
sheet, albeit a little one, for this, so I can add it if need be.
Originally posted by: Newsgroup User well you need a vertical-align:
top; on the cells. You can do this <BR>through CSS, or you can use
'<td valign='top'>content</td>' but that is
BR>deprecated.<BR><BR>justcrash wrote:<BR><BR>> Ok guys and gals, I
am getting really frustrated! I need the table that has my <BR>> nav
bar to stay at the top left side of the page, like this: <BR
http://www.djstevens.com/poems.htm How do I stop that from happening?
I <BR>> am not a big fan of frames at all. NOTE: Please ignore the
borders and other <BR>> issues, I am not even close to finished yet, I
just wanted to address this <BR>> before I move on. Thanks for any
help, guys and gals!<BR>> <BR

Reply With Quote
  #7  
Old   
Pablo
 
Posts: n/a

Default Re: How can I get a table to stay at the top of page? - 11-20-2004 , 06:32 PM



And then everybody's nephew gets hung?


I disagree, I think the "other devices" will find a way to show nephews
site. There are no standards as far as I can see.

Cheers

Pablo



"Misha" <no (AT) no (DOT) com> a écrit dans le message de news:
cnnlun$q0q$2 (AT) forums (DOT) macromedia.com...
Quote:
P.S. the reason they recommend separating content from style is that
when other devices start using web pages, then the content can be easily
read on that format (and styled appropriately).

Misha wrote:

It is deprecated because we are trying to separate content from style.
You can still use it but at some point it will not be valid HTML any
more.

You can use:


td class="topalign"

then
.topalign {
vertical-align: top;
}

for the CSS


or

table class="yourtable"


then
.yourtable td {
vertical-align: top;
}


I prefer the second I think.


justcrash wrote:

Why is it deprecated? How do I do it with CSS? I do have a style
sheet, albeit a little one, for this, so I can add it if need be.
Originally posted by: Newsgroup User well you need a vertical-align:
top; on the cells. You can do this <BR>through CSS, or you can use
'<td valign='top'>content</td>' but that is
BR>deprecated.<BR><BR>justcrash wrote:<BR><BR>> Ok guys and gals, I
am getting really frustrated! I need the table that has my <BR>> nav
bar to stay at the top left side of the page, like this: <BR
http://www.djstevens.com/poems.htm How do I stop that from happening?
I <BR>> am not a big fan of frames at all. NOTE: Please ignore the
borders and other <BR>> issues, I am not even close to finished yet, I
just wanted to address this <BR>> before I move on. Thanks for any
help, guys and gals!<BR>> <BR



Reply With Quote
  #8  
Old   
justcrash
 
Posts: n/a

Default Re: How can I get a table to stay at the top of page? - 12-01-2004 , 11:49 AM



I can not get the first one to work. Any idea why? Also where do I put the
table class line? After the <td>? Originally posted by: Newsgroup User It is
deprecated because we are trying to separate content from style. <BR>You can
still use it but at some point it will not be valid HTML any more.<BR><BR>You
can use:<BR><BR><BR><td class='topalign'><BR><BR>then<BR>.topalign
{<BR> vertical-align: top;<BR>}<BR><BR>for the CSS<BR><BR><BR>or<BR><BR><table
class='yourtable'><BR><BR><BR>then<BR>.yourtable td {<BR> vertical-align:
top;<BR>}<BR><BR><BR>I prefer the second I think.<BR><BR><BR>justcrash
wrote:<BR>> Why is it deprecated? How do I do it with CSS? I do have a style
sheet, albeit <BR>> a little one, for this, so I can add it if need be.
Originally posted by: <BR>> Newsgroup User well you need a vertical-align: top;
on the cells. You can do <BR>> this <BR>through CSS, or you can use '<td
valign='top'>content</td>' but that <BR>> is <BR>deprecated.<BR><BR>justcrash
wrote:<BR><BR>> Ok guys and gals, I am <BR>> getting really frustrated! I need
the table that has my <BR>> nav bar to stay <BR>> at the top left side of the
page, like this: <BR>> <BR>> http://www.djstevens.com/poems.htm How do I stop
that from happening? I <BR>> <BR>> am not a big fan of frames at all. NOTE:
Please ignore the borders and other <BR>> <BR>> issues, I am not even close to
finished yet, I just wanted to address <BR>> this <BR>> before I move on.
Thanks for any help, guys and gals!<BR>> <BR> <BR>> <BR>


Reply With Quote
  #9  
Old   
justcrash
 
Posts: n/a

Default Re: How can I get a table to stay at the top of page? - 12-01-2004 , 04:08 PM



Any ideas, gang? I am having trouble getting this to work for some reason. If it helps, the nav is a library item.

Reply With Quote
  #10  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: How can I get a table to stay at the top of page? - 12-01-2004 , 06:25 PM



SHOW ME THE CODE! 8) <ahem>

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"justcrash" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Any ideas, gang? I am having trouble getting this to work for some reason.
If it helps, the nav is a library item.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.