Skip to content

Tag: css

How do I get forms inline with each other?

This probably seems like a really dumb question, but i am building a website for my school project and i need to get these two forms next to each other rather then having a line break inbetween them: Answer Use display: inline style on the forms.

I cant save input a form to file txt

i have problem when i get value from input form. if only form not have tag it could be run well. and i used POST to get value in input form Answer Best practice will try run program on static / in program variable first and later use remaining code using POST and GET inputs hope following code will solve

Create blue box area to organize a form

my goal is to create something like this :enter image description here So an area where I can put a form for authentification or create an account. I already created a form in php which is linked to my database like this Is there something in boostrap or css or even js which can make me creat this blue area

I can’t execute SQL sentence twice

I can’t execute SQL twice somehow. In the case of below code, 1st SQL sentence【SELECT h.title, h.place, h.introduction ~】works. And 2nd one【SELECT name ~】 doesn’t work. If I change 1st SQL sentence to comment out, 2nd SQL work correctly. Do you notice how to work both of SQL. As you can see, there…

How to style echoed text?

I am trying to style the user, time and content. they only appear once the user has entered a comment into the website and so I cannot use <p> tags with inline CSS. any suggestions? Answer 1- create a class in your css (i.e: myClass) 2- use echo like this: echo ‘User: <span class=”myClass…

JS event listner on int-only CSS class

I have the following problem: I have the following code in PHP: So the class of is: details-control-1, details-control-2 and so on But it doesn’t work. If I use words-only for the details-control class, it works fine. The goal is to create a table and trigger a JS action when a row is clicked. Thank you…

Building a variable covariance-table

I want to create a covariance-table that shows all possible combinations between 3-10 inputs. The image below shows a 11×11 table for 10 inputs, and a 4×4 table for 3 inputs. The user can choose anywhere between 3 and 10 inputs, and the table can therefore be in any size between those pictured. . Ma…

Dropdown Content Hidden Behind Navigation

I am designing the home page for a project and the dropdown content is both behind the below navigation menu (primary-nav) and hidden offscreen to the right. I had this working with a margin-right tag but somehow I broke the code between then and now. Also, the basic structure of my page is designed using fle…