The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Then let's change to "evil" as I thought he was going to tell you
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
I am so old school that I had my first serious programming education (I had some less serious before that...), it was in Pascal. For those who do not know: Pascal allows arbitrary index limts - an array may run from indexes 1900 to 2030, if that suits the task at hand. The index may also be of an arbitrary type, such as a Season enumeration with values spring, summer, fall, winter. So a Season-indexed array has four elements. And enumeration types are NOT named integer values; you cannot index that Season-indexed value with neither 0-3 nor 1-4 integers.
So when C came onto the scene, requiring all arrays to be indexed from 0, and integer indexes only, we shook our heads in disbelief. You cannot be serious??? Hello, we are in the late 1970s!
But we lost. C won, and array handling degenerated to 1950s style, in practically all algorithmic languages following C. Even in C# you have to cast a season to an int to use it as an index, and the year-indexed array, you, the programmer, must explicitly subtract the base year whenever indexing, to bring the index value down to zero based. Good grief! How many extra compiler code lines would it require, to make the compiler do that subtraction? After all: What have we got compilers for?
I my student days, we were joking: To a real programmer, 256 is a round number. But to a C programmer, 255 is even rounder, because he is zero based. ... Nowadays, base zero is all programmers know of, so they are not getting the joke.
I use a Bootstrap input group[^], an input with a fancy search box in it, and the search box is 1px higher than the input.
I copy-pasted it from the website, but it seems the 1px difference is there as well (in two out of four examples).
Never mind, can't seem to get it fixed as that's always the case with CSS.
Next problem, I use Vue.js with Vue-select, something like Select2, but it works nice with Vue.js.
The v-select works very nice, until I put it in a table.
Because, of course, tables always mess up all styling...
Again, can't seem to get it fixed.
Some dynamically created element gets a style of "width: 100%;", removing it (using the browser dev tools) fixes the problem, but it's not in a class or anything.
To quote an Australian acquaintance of ours... "FAAAAAAAAAAARK!!!!!!!"
Is there really nothing better than CSS?
It doesn't even have to be good, just better.
I feel your pain. Some things with Bootstrap (and other third party controls, like jqWidgets) I can't style correctly (particularly the width and height issues you mentioned) without overriding the class or id style with !important. The world of CSS is a mess, IMO.
At times, particularly when working on a 3rd party web application that I don't have control over the rendering but that provides the ability to specify a custom CSS, I've had to revert to using the "Copy Selector" feature of the Chrome debugger to get to the element that I need to style. [/edit]
Have a look at the css grid (see, e.g. [here^]) layout system, if you havn't. Some proponents of it think it is css done right, to which I tend to agree.
While traditional css layout references the conents themselve, which could intefer or mess with each other and is harder to control, the css grid method separates coordination from the content. It enables a user to create lot simpler, more accurate and flexible layout systems ...
You can mix whatever grid system with css grid. css grid can be used either as a page level grid system or local grid system to construct controls, like the input group one, with ease (a three columns one row grid, but I haven't tried it). Hopefully it may solve your 1px off problem (I also experienced this problem before and haven't find it urgent enough to fix)
He faarrrkkkking well did and you got it right. Bloody Dutch bastards.
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
Crikey! I bought my first in about 1999, and it took months to get it configured, using extensive help from the ISP and the SonicWall support experts (not first level). This one's no simpler, and it didn't come with a manual. Why do they have to make these machines so difficult set up? All acronyms, no explanations, and online help that is utterly useless - true Microsoft copies. It's an amazingly powerful machine for protecting a network, but how does one tell if it's been set up right, when everything is written in a foreign language? Grrrr....
The people who write technical manuals are often the people who write the software, and most of 'em have difficulty stringing two sentences together, much less thinking like a user! It's easy to understand - for them - because it is an abstract of the software, rather than something genuinely written to help a novice. And that's probably because it's documentation, and that's "boring" so it gets chucked together with as little effort as possible.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
I know how bad I'm when explaining technical things to non-technical people, so I constantly refuse to write documentation... The only kid of documentation I write is for fellow developers on the team...
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12
Last Visit: 31-Dec-99 19:00 Last Update: 19-Jan-21 11:03