nazarovvlan Posted October 18, 2008 Report Share Posted October 18, 2008 Как сделать скрол бар по вертикали???<td rowspan="2"><div style="width:50px; height:50px; overflow: auto;">...</div></td> Quote Link to comment Share on other sites More sharing options...
0 rus Posted October 18, 2008 Report Share Posted October 18, 2008 overflow-y:scroll;height:(нужная высота)px; Quote Link to comment Share on other sites More sharing options...
0 klierik Posted October 18, 2008 Report Share Posted October 18, 2008 overflow-y: auto;зы: поддерживают не все версии браузеров. кажется проблемы с Opera.можно эмулировать через 2 дива подобное решение Quote Link to comment Share on other sites More sharing options...
0 nazarovvlan Posted October 18, 2008 Author Report Share Posted October 18, 2008 overflow-y: auto;зы: поддерживают не все версии браузеров. кажется проблемы с Opera.ЫЫЫЫЫЫЫЫЫЫЫ в ие7 не пошел Quote Link to comment Share on other sites More sharing options...
0 klierik Posted October 18, 2008 Report Share Posted October 18, 2008 IE поддерживает это свойство еще с 5й версииЫЫЫЫЫЫЫЫЫЫЫЫЫ Quote Link to comment Share on other sites More sharing options...
0 nazarovvlan Posted October 18, 2008 Author Report Share Posted October 18, 2008 Забыл функцию CSS, специально подходящая для данного случая, РАБОТАЛА ВО ВСЕХ БРАУЗЕРАХ!!!!! Quote Link to comment Share on other sites More sharing options...
0 AleXGray Posted October 19, 2008 Report Share Posted October 19, 2008 Та ниче там кроме overflow: auto нету, чтобы работала во всех. Создай еще один внутренний див с фиксированной шириной и без всяких скроллов, этим ты погасишь автоматический скролл по горизонтали. Quote Link to comment Share on other sites More sharing options...
0 nazarovvlan Posted October 19, 2008 Author Report Share Posted October 19, 2008 <tr> <td rowspan="2" width="50"><div style="overflow: auto;">eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee</div></td> <td colspan="4" width="900"><img src="header.gif"/></td> </tr>В результате этого кодаУ меня эксплорер заплясал направои полоса прокрутки уже появилась внизу, а также ксу наплевать что у меня width=50 Quote Link to comment Share on other sites More sharing options...
0 rus Posted October 19, 2008 Report Share Posted October 19, 2008 А чем вас не устраивает мой вариант?Я же вам привел код!!!<table><tr><td rowspan="2" width="50"><div style="overflow-y:scroll; width:50px; height:50px;">eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee</div></td> <td colspan="4" width="900"><img src="header.gif"/></td> </tr></table><div style="overflow-y:scroll; width:50px; height:50px;">Ставьте нужные высоту и ширину Quote Link to comment Share on other sites More sharing options...
0 nazarovvlan Posted October 19, 2008 Author Report Share Posted October 19, 2008 А чем вас не устраивает мой вариант?Я же вам привел код!!! Он эксплорере не идет Quote Link to comment Share on other sites More sharing options...
0 rus Posted October 19, 2008 Report Share Posted October 19, 2008 Он эксплорере не идетеще как идет, главное это что?Правильно - руки! Quote Link to comment Share on other sites More sharing options...
Question
nazarovvlan
Как сделать скрол бар по вертикали???
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.