Anybody Good with CSS, I got a challenge ):
So The initial height of a web page is 100%, and I want 3 rectangle shaped elements to be the same height while filling the entire height of the page.
@extrinix
@ultrilliam
oh i forgot to mention im using textareas
You want the textareas to be the height of the page?
3 seperate textareas to be the exact same height and fit the page
but then i run into an issue where the text in the textarea gets cut off at the bottom
Would it be better to use a span element with contenteditable?
Well you could do an html like ```html <textarea id="ce1" class="ce" /> <textarea id="ce2" class="ce" /> <textarea id="ce3" class="ce" /> ``` With your css looking something like this maybe? ```css #ce1{ height:100%; width:30%; margin-left:2%; } #ce2{ height:100%; width:30%; margin-left:2%; margin-right:2%; } #ce3{ height:100%; width:30%; margin-right:2%; } .ce{ display:inline-block; } ``` I don't know if that's exactly it, but it's what I seem to remember ¯\_(ツ)_/¯
no
i want the textareas to be on top of each other
On top of each other? May I ask what for-
code editor
i have a new design idea
Ah okay
Are you trying to get the options to swap out for each other?
still need help?
@spectrum now that I take another look at this, you want an tab style? Where you can switch between which one you're currently showing (HTML, CSS, or JS)
I would try something using jQuery's plugin jQuery UI, and use the Tabs widget, link to that is listed below. https://jqueryui.com/tabs/#default
I wish I was good with CSS
Join our real-time social learning platform and learn together with your friends!