Category "html"

Trouble getting Conditional CSS with Media Query and Grails

I'm using media queries to import the correct stylesheet (mobile.css or main.css) in my Grails application. If I load the page with my PC, it works fine, when i

Convert HTML5 to Flash

I am using impress.js extensively to create a lot of HTML5 presentations. These presentations need to be displayed on touch-screen kiosks. Unfortunately, the

How does one target specific object of a gui for an event flow?

I'm working on a javascript framework for creating simple animations on an html canvas with nested sprites using a basic composite pattern. I've been modeling

Can't get a div background colour to fill full width of viewport

I'm trying to fill a certain part of the page with a background color. I want the background colour to fill the entire width of the viewport, but have a fixed h

Is it possible for the child of a div set to pointer-events: none to have pointer events?

Is it possible for the child of a div set to pointer-events: none to have pointer events? I need the div that holds another div to allow pointer events to pass

PHP Include for HTML?

I have a navigational bar, an image, and a heading that I'll be including in every page of my website, so I wanted to use php include to refer to this code in s

Wrong value for window.innerWidth during onload event in Firefox for Android?

Okay, so, the problem I am facing is this: my mobile Firefox browser is not retrieving the correct values for window.innerWidth, document.documentElement.client

window.moveTo() wont go futher than half my screen in firefox

I generate a window and then on an event I move that window popup = open("", 'popup', 'top=' + top + ', left=' + left + ', width=' + width + ',height=' + h

Change AngularJS input[date] programmatically

I'm trying to assing an input[date] control an initial value in the controller. From AngularJS input[date] documentation, The model must always be a Date objec

How to keep value of selected value after form submission?

I know there are a lot of questions related to it but believe me, no solution is working for me. <form action="index" method="post" > <s

Cannot approach Typescript enum within HTML

I made an enum with Typescript to use in MyService.service.ts MyComponent.component.ts and MyComponent.component.html. export enum ConnectionResult { Succ

Trouble with sticky footer, 2 column responsive layout with wide browser support

I need to create the following layout: Two equal height columns Sticky footer (positioned at bottom in light content, pushed off page in heavy content) Responsi

Why ping attribute not working correctly in html5

Hi I'm building an tracking system for my project and I'm try to use ping attribute, but this attribute not working correctly on localhost. Here is my code wit

Two columns same height with three responsive images inside (one left and two right)

I already tried different solutions posted here to get two columns with the same height, but unfortunately I can't get this to work. The Problem is, that I have

How to make div height to 100% of parent td

This is my current code: table{ table-layout: fixed; } table tr td{ height: 100%; } table tr td div{ height: 100%; background: red;

Second line in li starts under the bullet after CSS-reset

I'm having some problems with my ul-list after using applying CSS-reset. When the text in the li is long and it breaks to a second line, the text begins under t

Need to Open a Hyperlink in Edge (issues)

I am creating a website and need to have a specific link open with the Edge browser. (Company designed software to only work with Edge as its easier for SSO, no

Position absolute and z-index not working in bootstrap version 5

The class(.title-image), has a "position: absolute" and the section(#features), has "position: relative" in external CSS. the idea is to place the section(#feat

Passing Variable through JavaScript from one html page to another page

I have two pages - "page 1" and "page 2". On page 1 there's an text-box with a value of e.g. 100 and a button at the end. By pressing the button I want javascr

How to disable autocomplete for all major browsers

How do you disable Autocomplete in the major browsers for a specific input and/or the complete form. I found this solution: <input type="text" name="foo" a