I have a hierarchical table I want to display in HTML. The <ul> and <ol> tags work great for the hierarchical part of things, but I want to have 2 or 3 columns total where the leftmost column is indented hierarchically, e.g.
foo
foo1
foo2
foo2a
foo3
foo3a
foo3b
bar
bar1
bar1a
bar1b
bar2
but I also want each item to have som...
We unfortunately find ourselves having to support our product in IE 6 because some of our largest users use it. One of them called today and told me that one of the dropdowns doesn't work when he clicks on it - it simply selects the first item.
I checked the markup and the entire contents of the select control are being sent:
<select o...
I have a div i would like to make clickable. I know i need to make the div (and?) the link have a fixed width and height + display: block. I have an image inside of the div. It seems like the 'clickable' div is actually a large transparent link and this click does not play well with images as it doesnt share space. I need to right click ...
Given a DIV with a fixed width, is there a way to have it use as much vertical space as it needs by wrapping the content (which is plain text)? The CSS "overflow" property provides for scrollbars (overflow:scroll) and chopping content (overflow:hidden) but that's not what I want.
Help? Thanks
...
I've decided that today - as soon as this question is answered, in fact - I'm going to dive into learning HTML.
But, looking online, I've noticed there are many types: HTML, XHTML, HTML5, and so on.
So, which should I start with? In what order should I learn them?
And, for that first language, where should I learn at?
...
I like CKEditor and my server uses PHP. I want to use CKEditor to edit the static HTML pages. Is there something that I can drop in that will give me a file browser and let me click a file and edit in CKEditor and save? Image upload would be nice but optional.
...
i have one js file in that js file i have following variables
var image_path="images";
var style_path="style";
i want to use these variables in html file(s)
like in image statement
<img src="path from js/logo.gif">
or in style sheet statement
<link rel="stylesheet" href="path from js/constant.css" type="text/css" ...
Hey guys, I have recently been working on a pastebin script (for fun) and I've come across a problem that I can't seem to solve in CSS. I have a table with 2 columns. 1 column is used to display the line numbers and the 2nd column is used to display the code. I can't seem to get the numbers match up with the lines in the code so it looks...
Hi,
I have a reacurring problem. I code nice standards compliant code only to have it fail due to ampersands within some of the hyperlink urls.
Does anyone know of a work around or hack for this.
Thanks
...
Hi,
i have an icon image and text like the following, the code source of everything is :
<img src="...." align="absmiddle" /> My Title Here
The problem is that the icon is not aligned vertically with the title in chrome better than firefox.
I think the absmiddle doesn't work at all ! is there any solution, i don't want to use a tab...
I'm looking for a tool and I'm not even sure of the proper name. Please be patient with me as I explain.
I'm doing a lot of HTML/MVC 2 work. Using the standard MVC 2 view engine, I would like to have an editor that shows real time changes in the browser. If I re-arrange div elements containing standard HTML and some server side compo...
So I have a tiny header image that repeats on the x axis, but for some reason it won't show up in IE8. Anyone know a work around? Thanks in advanced.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con...
Usually when you try to add a marker to an unknown/ambiguous address you just get an error from the api.
It would be much nicer if i could display a list of suggestions related to the address that was not found.
The Google maps site has this feature but i do not know how to do with the api.
Any help would be appreciated.
...
Hi,
I need to extract the actual phone number form the html listed below, but I'm not really sure how to do it using Nokogiri CSS since there are no html tags around it. When an at_css(.phonetitle) it only parse Phone and not the number.
<div class="detail">
<span class="address">Corner of Toorak Road and Chapel Street, South Yarra...
My code is something like the below. When theres 3 images everything is fine once theres 4 it gets full and moves the entire div.top into another row. How do i make the div inside top just start a new row instead?
I tried writing .top width=500px but once it hits or passes it instead the images inside are squeeze together instead of eac...
This may sound weird but i have some css which aligns mys divs. In one place i also use http://www.brunildo.org/test/img_center.html which centers images.
Now i want my divs inside a larger div to go to another line if this one gets full. float: left seems to be the answer. The problem is it ruins my formatting. Including solution in th...
How to insert the ending html tags where there are missing ending tags ?
Like
<tr>
<td>Index No.</td><td>Name</td>
<tr>
<td>1</td><td>Harikrishna</td>
Where two missing ending tags.That is "/tr".Now in this case how to Search where are the missing tag and there how to insert appropriate ending tag such as "/tr".
...
Simple question: I have the following markup...
<a href='#'>
<img src='icon.png'> This is the link
</a>
I want to have the text become underlined on mouseover.
What is the CSS selector for selecting only the text in that <a> element and nothing else? I'd rather not wrap it in anything if I don't have to.
a:hover {
text-decoratio...
Hi guys,
I want to parse an html document after it has loaded and discover all the links that the onmousedown event is set for them - how do I do that?
Thanks
Alex
...
Why isnt everything aligned? No yellow should be visible and no orange should be visible except for the right side and bottom left where theres space for another image.
Basically my images are pretty much aligned to the center (i have other pics not in this example which is easier to see). However in this case when i have 150px height i...