TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

teamphotoshop question...

Page: 1 Reply
Mar 20th 2001#204 Report
Member since: Mar 20th 2001
Posts: 24
How did teamphotoshop make their content seem to "stick" to the top? Usually the content would drift to the bottom if there was any space on the bottom of the table. And how is it if I change my text size to largest their layout and content still doesn't move at all?
Reply with Quote Reply
Mar 20th 2001#206 Report
Member since: Mar 18th 2001
Posts: 1690
im guessing you mean how he keeps everything at the top of the table?

If so, then its either using css and placing it in position or using valign="top" to keep everything even and on one horiziontal line. Least, thats how i do it.
Reply with Quote Reply
Mar 20th 2001#209 Report
Member since: Mar 20th 2001
Posts: 24
hmm well bob was telling me it was nested tables... I do not know of this css style to keep it to the top... can you give me an example?
Reply with Quote Reply
Mar 20th 2001#212 Report
Member since: Mar 18th 2001
Posts: 1604
Well, Bob coded it and not me, but the basic idea is that you have a table (that has your content in it) in a table cell and that cell is valigned top, effectively sticking those contents to the top of the page. Tadaaaa!

Chris
Reply with Quote Reply
Mar 20th 2001#213 Report
Member since: Mar 20th 2001
Posts: 24
ok, the problem is I have no idea what "valigned to top" is. could you tell me how to do this in Dreamweaver?
Reply with Quote Reply
Mar 20th 2001#217 Report
Member since: Mar 18th 2001
Posts: 796
enter raw html mode(if there is such a thing in dreamweaver) and add valign="top" in the td tags

He might be talking about margins

put these in the body tag
leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"

this way your tables will stick to the top of the browser
Reply with Quote Reply
Mar 20th 2001#219 Report
Member since: Mar 18th 2001
Posts: 1690
well in css, the margins are BODY { margins: 0,0,0,0;}
But most likely, just put valign="top" in your html code and all content will put itself at the top of your table cell. Just nested tables wont do it. but if you nest a table and valign="top" the nested table, that table itself will be aligned vertically with the top of its containing table. The content inside it will still default to valigning to the center of the table.

Hope that helps.
Reply with Quote Reply


Hope this helps

Scott
Mar 20th 2001#231 Report
Member since: Mar 19th 2001
Posts: 73
open your properties box, under the window menu. Now find the text inside the table you want to move up. Now go to the end of that text, (stay inside the table row or column the text is end). Now go to properties and expand it. In bottom left you will see

horz|_w/box_|
vert|_w/box_| <--the vert changes where text goes

click on arrow and change vert to top. the html code for this is valign="top"

in your code this will prolly be place in your
tag like so: blahblahblah
Reply with Quote Reply
Mar 20th 2001#232 Report
Member since: Mar 19th 2001
Posts: 73
bah sorry post messed up some how.. the part on right goes to bottom of page.

Sorry
Reply with Quote Reply
Mar 20th 2001#245 Report
Member since: Mar 20th 2001
Posts: 24
Its ok, I figured it out last night while messing around with Dreamweaver... its very easy, I can't believe I didn't see it.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum