Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 top of page image not aligned correctly: solution
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 12 July 2002 :  10:15:55  Show Profile
I get bugged by the smallest things, so I found a solution to one problem I encountered on my forums: replies that are shorter than the text in the left-side cell on topic.asp don't have the "to top of page" icon aligned to the bottom of the row.

Solution: add a height value of 100% to the right-side cell, insert a table with 3 rows (makes it look nicer IMO but two will do) like this:

row 1: post icons (homepage, e-mail, IP etc)
row 2, valign="top" height="100%": the message
row 3, align="right" valign="bottom" height="20": the "to top of page" icon

After that it'll all work great. Even a reply with only a smiley or "thanks" will appear correctly.

It's only a small change but makes topic.asp look a lot nicer, so if it's not in the base code of 3.4 already, could that please be added?

Roland

http://www.frutzle.com

Snitz Exchange | Do's and Dont's

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 12 July 2002 :  10:24:23  Show Profile  Visit HuwR's Homepage
Wow, I must be going crazy, could have sworn I saw two copies of this paot a minute ago

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 12 July 2002 :  10:26:29  Show Profile
lmao... yeah I messed up. I haven't had much sleep or coffee the last couple days so my hands are shaky and using a pen instead of a mouse doesn't make things better.

But, what about my idea? Do you think it's worth adding to 3.4?

Roland

http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 12 July 2002 :  10:53:22  Show Profile  Visit HuwR's Homepage
yes I would guess so, Richard ahs the code, but I would imagine he would add something as simple as this

Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 12 July 2002 :  10:56:33  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
I did the same thing to my topics page, but I also seperated out the icons from the top row and put some in the bottom row as well. I found it easier to understand. This is similar to a layout I saw on a phpbb board.

In the top row I included just the icons for things pertaining to just this message such as Edit, Quote, IP, Delete

In the middle row I included the message

In the bottom row I included on the left side all the user specific icons Profile, E-Mail, Webpage, ICQ, Yahoo, AIM, etc.. and on the right the to Top of Page icon.

for a sample check http://www.itsallswing.com/forum/topic.asp?TOPIC_ID=57

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 12 July 2002 :  11:13:33  Show Profile
That's not what I mean. I keep the look the same by adding a table to the right-side cell (the one containing the information I want to seperate). What you've done is added an extra row, put a table in there with two cells and put the icons in there.
To me, that doesn't look right... I mean having some of those icons below the cell with the author's information. But to each his own

It'd be really simple to move those icons to the same line as the "top of page" icon using "my" method too.. Just add colspan="2" to the first row (or two if you use 3 rows like me). Then add an extra cell to the bottom row and put the icons in the left one.


Roland

http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 12 July 2002 :  12:16:59  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
I guess what I meant to say was ...

"I did something similar to my topics page"

After looking at your solution, I may play with that suggestion about putting the icons under the message only.

And I do agree to each his own.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 12 July 2002 :  15:18:24  Show Profile
quote:
yes I would guess so, Richard ahs the code, but I would imagine he would add something as simple as this


Added it for the replies. Should we add it for topics as well, to be consistent?
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 12 July 2002 :  15:30:10  Show Profile
and another row for dynamic sigs??? don't know how you're handling dynamic sigs in 3.4

Nikkol
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 12 July 2002 :  16:04:04  Show Profile
quote:

quote:
yes I would guess so, Richard ahs the code, but I would imagine he would add something as simple as this


Added it for the replies. Should we add it for topics as well, to be consistent?



Hmm... well if you're using dynamic signatures, it makes most sense to put it in there too. Otherwise it's not necessary as there is no "top of page" icon in the original post.

Roland

http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 12 July 2002 :  17:32:11  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
quote:

It'd be really simple to move those icons to the same line as the "top of page" icon using "my" method too.. Just add colspan="2" to the first row (or two if you use 3 rows like me). Then add an extra cell to the bottom row and put the icons in the left one.



I took your suggestion and fixed my topics page the same way you did yours, but still with my icon arrangements.

Thanks for the suggestion, I like the looks much better!

http://www.itsallswing.com/forum/topic.asp?TOPIC_ID=57

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 12 July 2002 :  17:41:00  Show Profile
quote:

I took your suggestion and fixed my topics page the same way you did yours, but still with my icon arrangements.

Thanks for the suggestion, I like the looks much better!



Makes more sense if the icons are right below the message, doesn't it?

Roland

http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 12 July 2002 :  17:47:57  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
Definitely.

I was going to address this when updating to 3.4, but since you already had a fix handy, why not.

Thanks again.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07