Skip to content
Advertisement

Tag: css

Why is my PHP Code not Working , HTML website?

Ok so i made a HTML website for a school project and i tried incorporating into it a ” Contact Us ” section in which u give your name , email and a message to be sent to my adress. I can’t seem to find any error into the code . When i am trying to send the info ,

CSS Styling in PHP echo

I am very new to using PHP and I am unsure how to style this table. I created a class but I am not sure if I make the changes in a separate CSS file because this did not work for me. Do I use style tags? How can I do this? Answer Just make sure the css file is

hide the content of the page if the user is not logged in

I am trying to hide the contents of the page if the user is not logged in, everything is now hidden except the nav. It doesn’t apply the css code that I used. as you can see in the code I have added .dipsplay-custom: none; if the user session is not set so in every parent I added display-custom the

Boostrap Select

It doesn’t show output <option>. It shows only the select with no element inside. I’m using bootstrap-select library. What’s the problem? Answer You don’t have any problem: It’s working here: Try to set the function like this (inside script tag):

How to find and import default CSS tags from PHP file

I have a report generation page, that is PHP based, but I can’t use basic CSS classes in it for some reasons. For example, the i-column-header class doesn’t do anything. I am Using PhpStorm and if I go into a CSS file, I see that it has the classes, and it says “from html”. I am not sure where the

Having problems centering a textbox in CSS

I have the following code in PHP: This code creates the following box: The respective CSS code looks like this: However – no matter what I do – the textbox over the picture (as you can see in the picture above) is never perfectly centered. How can I center the textbox over the picture? Best Answer Changing the margin-left to

Putting php arrays into html tags

I am trying to make a table that has different colors for each of its columns. There will be four columns. $colors = array(“background-color:red;”, “background-color:gold&…

WordPress posts in menu and custom classes

I’m new to WordPress and I’m trying to convert a pure HTML Theme to a WordPress theme. But I have a problem that I can’t find a solution for. In the nav menu, I can’t find a way to selectively add classes to the ul and li elements that WordPress generates as a menu. Basically, I need to set different

Advertisement