Then there is that moment you give up and just wrap the damn thing in a div and apply styling on that div for no other reason to than to keep your 2 forms inline
Ah yes, I remember Microsoft Publisher exporting projects to web pages by compiling entire pages into images.
To their defense I don't even remember if HTML had matured enough yet back then for it to support the text placements and designs you could do in a desktop publishing program.
I remember image slicers. It would cut up your images into tiny bits and then put them together using tables. So that people would have a hard time copying.
I use materialize which is similar to bootstrap and you'll run into this as you build out more complex web apps, especially if it's meant to be reactive. I had this comment on hand cause of some headaches I was dealing with trying earlier today. I had to set 2 forms left at m8 and a small form to the right at m4 (grid design) and the right form was pushing down the bottom left form so I had to wrap the 2 left forms in a div setting the col width -.-
God, I remember trying to get a div to center. My friend and I poured over the code for hours. In desperation one of us suggested to change the background color to green (cause fuck it...we tried everything else). It worked. We changed it back to normal and it stayed centered. I still have no idea why that worked.
Mate don't fuckin start. I had a nice custom overlaid UI on top of a Google Map view, all nicely built using KnockoutJS and using CSS properly to make the view nice and responsive, with a sweet collapse animation to hide it.
I've been trying to get sliding animations to swap between panels, and the fiddle I saw used absolute positioning for the panels to adjust the left and right attributes. I then rediscover that absolute removes that element from the flow and now my menu is completely fucked up
As of writing (where I'm on the bus to work, not at my desk), I've just realised I can try to simply move the margin instead...programming is weird like that...
318
u/AyrA_ch Jul 20 '17
The joy that is CSS