Category "html"

How to make browsers load Japanese fonts for CJK text, instead of Chinese fonts

I have an XHTML1.1 document with a mix of English and Japanese text, with charset indicators lang="jp" and xml:lang="jp" in the opening tag for the <html>

Add an open url handler to a button

I created a button and I have applied to this button a handler to collect the data of some fields and record them in a spreadsheet. I wish, however, at the end

Angular Textbox Undefined

So I'm trying to programmatically edit a textbox in a webpage through chromes developer console. This is the code of the textbox. <input formcontrolname="use

How do I make list group item active without anchor tags?

I want to style a basic list-group item active to highlight it (change background color etc). Bootstrap supports the active class just through Linked items. I

Make other div not have its flow altered by a floated div

I have a page with a float: right'ed div at the top, and a text-align: center'ed div right underneath it. Is it possible to make the floated div not alter the f

Form within a foreach loop not posting the model back to the controller

I've searched around and can't find an answer to my problem. I've got a View that takes accepts Foo in like so: @model IEnumerable<MyApplication.Models.Foo

Giving a border to an HTML table row, <tr>

Is it possible to border a table row, <tr> in one go instead of giving a border to individual cells, <td> like, <table cellpadding="0" cells

How to create a password protected website?

I am in the middle of creating my website and I need to create password protected JavaScript code to access it. Do I need to change my CSS as well, or it will

Page elements not hovering correctly, no consistency across browsers

I have an area on a web page where there is a date entry. Next to it is a button that if clicked, should pop up a little calendar to the right of the entry all

Creating responsive images side-by-side in e-mail using plain HTML

I am attempting to include two images as a header in an e-mail, using pure HTML. One image will cover 40% of the screen width, and the other 60% width (the heig

Centering an Element correctly w/ :hover while it's expanding width

I would like to center an input perfectly in the middle when you focus or hover on it. Therefore I want it to expand the width in the middle instead of the righ

telerik radGrid - persist client state on sort/paging/filter

Even in this ajax example which I really like the look of, when ever the top level grid is sorted the "state" of what you were doing "disappears" For example,

Reload parent page after submit in iframe

I have the same issue as in this question. (which has no correct answer, I just test all of them): Reload page after submit in iframe (javascript/jquery) What I

Read meta data from image file with javascript

Is there any way to read the metadata of an image file in an <img> tag using JavaScript?

If HTML is not a programming language, what am I doing if I am doing HTML codes?

I am creating an article about programming. If I am using C#, for example, I am a C# programmer and I am programming using C#. How about HTML? If HTML is not a

Show Hide DIV with Jquery

I have this simple JQuery Show/Hide function that obviously show and hide a div. There are three things I cannot do on my own. <script type="text/javascript

HTML input type=file, get the image before submitting the form

I'm building a basic social network and in the registration the user uploads a display image. Basically I wanted to display the image, like a preview on the sam

Changing the space between each item in Bootstrap navbar

How can I create a larger space between each link on my navbar, so they are further apart? Is it something I change the CSS or HTML? Here's how I've implemented

How do I make a placeholder for a 'select' box?

I'm using placeholders for text inputs which is working out just fine. But I'd like to use a placeholder for my selectboxes as well. Of course I can just use th

How to manipulate text (HTML/CSS) without divs?

I want to create my Resume in HTML Is the dimension of the page good as a A4? How to Position the text like in picture, but I want without divs? And How to make