Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Scroll 100% height

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
booka



Joined: 06 Oct 2005
Posts: 325
Location: Zagreb

PostPosted: 06.10.2005 16:34    Post subject: Scroll 100% height Add user to your forum ignore list Reply with quote

Imam div tag s scrollom unutar tablice, kada prosirim tablicu duzina scrolla ostaje ista, tj. kako je definirana u css-u. I sada zašto ovo ne radi? Zasto se skrol ne razvuce isto koliko i tablica? Jel se moze to kako drugacije napravit?

CSS:

div.scroll { height: 100%; <-----
width: 349px;
overflow: auto;
padding: 4px;
}

Last edited by booka on 06.10.2005 22:58; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail MSN Messenger
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 06.10.2005 20:38    Post subject: Add user to your forum ignore list Reply with quote

sam si odgovorio na pitanje, scroll je onoliki koliko je definiran u CSS-u. imas fiksnu visinu, a iskreno nisam bas uvjerena da bi height: 100% upalilo, iako bi u idelanom svijetu trebalo.

probaj postavit scroll direktno na td element, iako nisam sigurna da overflow postoji za taj element.
druga ideja osim javascripta (koji racuna visinu tablice i postavlja istu visinu za div) mi ne pada na pamet. napominjem da ja tu skriptu ne znam napisati, samo predlazem moguce ideje Smile

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group