I'm working on a message view with incomming and outgoing simply set to "clear:left" so in theory they should just stack on top of each other nicely, yet in adium and the template.html I'm testing it in they go off the bottom of the page.
Anyone know why this is?
/\ thats solved
http://forums.cocoaforge.com/viewtopic. ... 2076#62076 < Font issues here
Font consistency, message views
-
df0notfound
- Latté
- Posts: 72
- Joined: Tue Dec 20, 2005 7:41 pm
Font consistency, message views
Last edited by df0notfound on Thu May 04, 2006 2:33 pm, edited 2 times in total.
- Catfish_Man
- Cocoaforge Admin
- Posts: 1203
- Joined: Thu Dec 02, 2004 6:30 am
- Location: Portland, Oregon
- Contact:
- zaudragon
- Growl Team
- Posts: 1852
- Joined: Sat Dec 04, 2004 5:05 am
- Location: Kensington, CA, USA
- Contact:
Re: Message View creation, entries off the bottom of the win
And this happens UNTIL you get a scrollbar right?df0notfound wrote:I'm working on a message view with incomming and outgoing simply set to "clear:left" so in theory they should just stack on top of each other nicely, yet in adium and the template.html I'm testing it in they go off the bottom of the page.
Anyone know why this is?
My Hazmat and Terminal styles have modified Templates to prevent this from happening; messages on them show up at the top of the window if there is no scrollbar.
-
df0notfound
- Latté
- Posts: 72
- Joined: Tue Dec 20, 2005 7:41 pm
Re: Message View creation, entries off the bottom of the win
Yep it does, I hadn't noticed that.zaudragon wrote: And this happens UNTIL you get a scrollbar right?
My Hazmat and Terminal styles have modified Templates to prevent this from happening; messages on them show up at the top of the window if there is no scrollbar.
- zaudragon
- Growl Team
- Posts: 1852
- Joined: Sat Dec 04, 2004 5:05 am
- Location: Kensington, CA, USA
- Contact:
Re: Message View creation, entries off the bottom of the win
df0notfound wrote:Yep it does, I hadn't noticed that.zaudragon wrote: And this happens UNTIL you get a scrollbar right?
My Hazmat and Terminal styles have modified Templates to prevent this from happening; messages on them show up at the top of the window if there is no scrollbar.
all of
Code: Select all
function alignChat(shouldScroll)Code: Select all
function alignChat(shouldScroll) {
var windowHeight = window.innerHeight;
if (windowHeight > 0) {
var contentElement = document.getElementById('Chat');
contentElement.style.position = 'static';
}
if (shouldScroll) scrollToBottom();
}-
df0notfound
- Latté
- Posts: 72
- Joined: Tue Dec 20, 2005 7:41 pm
Excellent that works perfectly zaudragon 
One last problem, the received text is coming in as Arial regular 9pt when everything in the style says it should arrive in Geneva 9pt. And arial looks really messy at that site and destroys my line spacing.
Anyone know how to strictly force it to Geneva?
User display fonts are turned off, I've defined Geneva in my CSS body and even in my incoming and outgoing classes but its still creeping through.
One last problem, the received text is coming in as Arial regular 9pt when everything in the style says it should arrive in Geneva 9pt. And arial looks really messy at that site and destroys my line spacing.
Anyone know how to strictly force it to Geneva?
User display fonts are turned off, I've defined Geneva in my CSS body and even in my incoming and outgoing classes but its still creeping through.
-
df0notfound
- Latté
- Posts: 72
- Joined: Tue Dec 20, 2005 7:41 pm
