Top "Html" questions

HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser.

Height equal to dynamic width (CSS fluid layout)

Is it possible to set same height as width (ratio 1:1)? Example +----------+ | body | | 1:3 | | | | +------+ | | | div | | | | 1:1 | | | +------+ | | | | | | | | | | | +----------+ CSS div { width: 80%; …

javascript jquery html css responsive-design
Render basic HTML view?

I have a basic node.js app that I am trying to get off the ground using Express framework. I …

javascript html node.js mongodb express
Why doesn't height: 100% work to expand divs to the screen height?

I want the carousel DIV (s7) to expand to the height of the entire screen. I haven't an idea as …

html css height
get an element's id

Is there another way to get an DOM element's ID? element.getAttribute('id')

javascript html
Expanding a parent <div> to the height of its children

I have a page structure similar to this: <body> <div id="parent"> <div id="childRightCol"&…

html css
Force IE compatibility mode off using tags

I am doing work for a client who forces compatibility mode on all intranet sites. I was wondering if there …

html internet-explorer
How to make a whole 'div' clickable in html and css without JavaScript?

I want to make it so that a whole div is clickable and links to another page when clicked without …

html css click
CSS selector for text input fields?

How can I target input fields of type 'text' using CSS selectors?

html css forms css-selectors html-input
Bring element to front using CSS

I can't figure out how to bring images to front using CSS. I've already tried setting z-index to 1000 and position …

html css z-index jsfiddle
How do you handle multiple submit buttons in ASP.NET MVC Framework?

Is there some easy way to handle multiple submit buttons from the same form? For example: <% Html.BeginForm("MyAction", "…

c# html asp.net-mvc http-post form-submit