|
|
|
проблема с background input'a
|
|||
|---|---|---|---|
|
#18+
Здравствуйте. Есть вот такой код: Код: автор <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style> .srch *{ padding: 0; margin: 0; vertical-align: top; background-position: top; } .search_input { border: none; width: 100%; height: 21px; background-image:url( images/search_b.jpg); background-position: top; background-repeat: repeat-x; color: #747474; font-family: Tahoma; font-size: 11px } .search_submit { border: none; background: url( images/search_s.jpg) no-repeat; width: 25px; height: 21px; cursor: hand; } </style> </head> <body> <br /><br /><br /><br /> <table cellpadding="0" cellspacing="0" width="200" class="srch"> <tr> <td style="background-image: url( images/search_left.jpg ); width: 16px; height: 21px; background-repeat:no-repeat;"></td> <td><input class="search_input" name="searchstring" type="text" value="gggggggggggg" /></td> <td><input class="search_submit" type="submit" value="" /></td> </tr> </table> </body> </html> В Опере отображается все отлично, а в IE6 средняя часть немного ниже, чем всё остальное, как именно можно посмотреть на defolt-12.narod.ru, бьюсь не один час, вроде все перепробывал, ничего не помогает, подскажите как победить? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 02.07.2008, 16:40 |
|
||
|
проблема с background input'a
|
|||
|---|---|---|---|
|
#18+
У меня в ИЕ6 видно не срабатывает Код: plaintext ---------- Cache for Windows (x86-32) 2007.1.3 (Build 607) Wed Oct 17 2007 02:12:09 EDT ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.07.2008, 08:24 |
|
||
|
проблема с background input'a
|
|||
|---|---|---|---|
|
#18+
Вот картинка... ---------- Cache for Windows (x86-32) 2007.1.3 (Build 607) Wed Oct 17 2007 02:12:09 EDT ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.07.2008, 08:27 |
|
||
|
проблема с background input'a
|
|||
|---|---|---|---|
|
#18+
- background-position: top; - надо указывать 2 параметра - топ и лефт; - border: none; - чтобы убрать бордер, то просто указать border: 0; - background-repeat: repeat-x; - ФФ не поймет, поэтому советую просто repeat; - cursor: hand; - устаревшее объявление, ФФ не поймет, лучше pointer ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.07.2008, 15:20 |
|
||
|
|

start [/forum/topic.php?fid=22&msg=35407869&tid=1456270]: |
0ms |
get settings: |
8ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
215ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
28ms |
get tp. blocked users: |
1ms |
| others: | 241ms |
| total: | 523ms |

| 0 / 0 |
