0

i have problem with table width in view.
This is my setup of view: view_setup1 view_setup2 in my style.css i have this:

.novinky-telo{
width:50px;
background-color:red;
owerflow:hidden;
} 

but result is: result

I need only 50px width, have you any ideas?

  • u need 50px width for what? the entire table? or just the field? – No Sssweat Nov 12 '15 at 12:43
  • i need this only on left side in my first sidebar...but now i have across width of page. 50 px is example, i only have edit width, but it not working... – Lukas Nov 12 '15 at 12:47
  • try my answer. if that don't do what you want, try customize field and label wrapper HTML (check 1 box below from your screenshot). – No Sssweat Nov 12 '15 at 12:50
  • after customize field and label wrapper HTML not run...neither background color now not run :( – Lukas Nov 12 '15 at 12:55
1

set the following in your class .novinky-telo

word-break: break-all;
| improve this answer | |
1

owerflow:hidden;

you missed spelled overflow

overflow: hidden; 
| improve this answer | |
  • same problem :/ – Lukas Nov 12 '15 at 12:52
  • in your css, try width: 50px !important; – No Sssweat Nov 12 '15 at 12:53
  • if you're caching your view don't forget to clear the cache. – No Sssweat Nov 12 '15 at 12:55
  • I clearing cache after each update. width: 50px !important not run – Lukas Nov 12 '15 at 12:58
  • 1
    Here it is about 30 chars where the long word will cause trouble, so I think 30 char long word is rare especially in English, but in other languages it might be possible, e. g. German (duden.de/sprachwissen/sprachratgeber/…) – Stefan Korn Nov 12 '15 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.