Skip to content
Advertisement

Tag: css

How could I use local fonts in website

I want to show my business tagline in “monotype corsiva” font it is not available on Google font so any body can please help me out for it . Answer Paste all these font formates in your css folder otf/ttf/woff. Add in your stylesheet:- now use this to apply font family font-family: ‘MTCORSVA’;

How to send multiple radio button values in tab form

HTML: JS PHP Query is below: I use multiple tab form in HTML and use javascript and PHP to send all values to an email. please review the code above. I received this email: Zipcode: Question1: Question2: Question3: Section one is HTML Code, Section two is Javascript and section three is Php code here! Answer

Changes to page are not saved (on page reload)

When im logged in i can see the “Remove Stone” button and when i click it, it goes away but when i reload the page it comes back. Any help? Thanks a bunch!Im also loading this into the html page with a seperate php file using this: Also if anyone has a better solution on what to do, im all

Freeze first row and first column of table

I am trying to freeze/lock the first row and the first column of a table. I have tried giving thead position: absolute; or position: fixed; but it looks strange. I have followed some answers but I am still confused how to make it. My HTML / CSS Code : Answer Freeze First Row Freezing the first row can be done

Resize thumbnail image for mobile site

I’m making a website for mobile and for desktop, but I want images to show mobile images if loading on a mobile device. For example, I have a list of images of thumbnails of food types like: (source: whereshouldieat.ie) But I also have images where there is a mobile version: (source: whereshouldieat.ie) The current CSS is: I have seen in

.htaccess is renaming my css, img, and js

I am trying to route a single blog post from a url The url looks like this : http://localhost/news/post/1/post-title-slug And my .htaccess: And my routing file I am currently using a library called nezamy/route When I do this my css, js and images is renamed as well to something like this: http://localhost/news/post/1/css/main.css Answer You need to add the css/js files

CSS background images in WordPress

Is it possible to get a background image in CSS like you normally do in HTML when working with WordPress. I’ve tried doing this but it doesn’t work. Answer PHP code cannot run in .css file, however you can use inline style, such as: or The above would be useful when working with custom fields for dynamic image paths. If

Advertisement