tagged [html]

How do I set vertical space between list items?

How do I set vertical space between list items? Within a `` element, clearly the vertical spacing between lines can be formatted with the line-height attribute. My question is, within a `` element, ho...

20 Jun at 16:53

How to increase the distance between table columns in HTML?

How to increase the distance between table columns in HTML? Let's say I wanted to create a single-rowed table with 50 pixels in between each column, but 10 pixels padding on top and the bottom. How wo...

29 Jul at 12:18

Add a horizontal scrollbar to an HTML table

Add a horizontal scrollbar to an HTML table Is there a way to add a horizontal scrollbar to an HTML table? I actually need it to be scrollable both vertically and horizontally depending on how the tab...

6 Sep at 12:20

Editable 'Select' element

Editable 'Select' element I would like to have a select element in the form but besides the options in the dropdown, it would be useful to be able to edit it and add new option but not with another in...

24 Jul at 23:26

Disable Auto Zoom in Input "Text" tag - Safari on iPhone

Disable Auto Zoom in Input "Text" tag - Safari on iPhone I made an HTML page that has an `` tag with `type="text"`. When I click on it using Safari on iPhone, the page becomes larger (auto zoom). Does...

What does Html.HiddenFor do?

What does Html.HiddenFor do? Although I have read the documentation on Html.HiddenFor, I've not grasped what is it used for... Could somebody explain its uses and give a short example? Where should th...

How to use HTML Agility pack

How to use HTML Agility pack How do I use the [HTML Agility Pack](http://html-agility-pack.net/?z=codeplex)? My XHTML document is not completely valid. That's why I wanted to use it. How do I use it i...

23 Nov at 01:59

Default text which won't be shown in drop-down list

Default text which won't be shown in drop-down list I have a `select` which initially shows until the user selects a language. When the user opens the select, I don't want it to show a option, because...

28 Feb at 16:41

What is the difference between Html.Hidden and Html.HiddenFor

What is the difference between Html.Hidden and Html.HiddenFor I can find a good definition for Html.HiddenFor on MSDN but the only thing I can find on Html.Hidden is related to problems it has. Can so...

Best practices for styling HTML emails

Best practices for styling HTML emails I'm designing an HTML template for an email newsletter. I've learned that many email clients ignore linked stylesheets, and many others (including Gmail) ignore ...

21 Dec at 09:13

How can I set the max-width of a table cell using percentages?

How can I set the max-width of a table cell using percentages? The above does not work. How can I set the max-width of a table cell using percentages?

10 Jan at 11:21

How to find the unclosed div tag

How to find the unclosed div tag A unclosed div problem almost make me crazy. It is very difficult to track especially when the page is long and complex. How can I find unclosed HTML-tags on a website...

2 Apr at 07:59

onchange event for html.dropdownlist

onchange event for html.dropdownlist I am trying to trigger an action method for onchange event for dropdownlist, how can I do this without using jquery onchange. ``` @Html.DropDownList("Sortby", ...

Make multiple-select to adjust its height to fit options without scroll bar

Make multiple-select to adjust its height to fit options without scroll bar Apparently this doesn't work: it makes the select have 100% page height... `auto` doesn't work either, I still get the verti...

29 Jul at 10:20

How to Code Double Quotes via HTML Codes

How to Code Double Quotes via HTML Codes In HTML, What is the preferred way to specify html codes like `"`, and what is the major differences? For example: Which one should I use and would it ever be ...

19 Jun at 02:58

Delete all rows in an HTML table

Delete all rows in an HTML table How can I delete all rows of an HTML table except the ``'s using Javascript, and without looping through all the rows in the table? I have a very huge table and I don'...

8 Nov at 17:27

How to center a table of the screen (vertically and horizontally)

How to center a table of the screen (vertically and horizontally) I have these code block: I'd like to show my table in the center of the screen (vertically and horizontally). [Here is a demo](http://...

7 Feb at 07:39

Parsing HTML page with HtmlAgilityPack

Parsing HTML page with HtmlAgilityPack Using C# I would like to know how to get the Textbox value (i.e: john) from this sample html script :

3 Oct at 01:51

How can I hide an HTML table row <tr> so that it takes up no space?

How can I hide an HTML table row so that it takes up no space? How can I hide an HTML table row `` so that it takes up no space? I have several ``'s set to `style="display:none;"`, but they still affe...

30 Sep at 21:40

<SELECT multiple> - how to allow only one item selected?

- how to allow only one item selected? I have a `` field with multiple options and I want to allow it to have only one option selected at the same time but user can hold CTRL key and select more items...

10 May at 17:31

How to display an unordered list in two columns?

How to display an unordered list in two columns? With the following HTML, what is the easiest method to display the list as two columns? Desired display: The solution needs to work with Internet Explo...

How to extract img src, title and alt from html using php?

How to extract img src, title and alt from html using php? I would like to create a page where all images which reside on my website are listed with title and alternative representation. I already wro...

Extract part of a regex match

Extract part of a regex match I want a regular expression to extract the title from a HTML page. Currently I have this: Is there a regular expression to extract just the contents of so I don't have to...

Change the color of a bullet in a html list?

Change the color of a bullet in a html list? All I want is to be able to change the color of a bullet in a list to a light gray. It defaults to black, and I can't figure out how to change it. I know I...

18 Feb at 13:48

Any good, visual HTML5 Editor or IDE?

Any good, visual HTML5 Editor or IDE? Well it looks like Dreamweaver CS5 will try to smoother the HTML5 thing for a few more years (weeks actually). Seems like the next rung down is right to Notepad! ...

15 Apr at 18:53