html

where does SVG code go in relation to html, body, header, javascript, css

can you please give me a structure like this: <html><body><svg></svg><javascript>..............</html> ?? i am having A LOT of trouble adding css and javascript to an SVG file that looks like this: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativeco...

target=_blank opening with same url

I added HyperLink control in my page. When I enter "http://www.google.com", It is opening in new window (good) and pointing google. 1. When I enter "www.google.com", It is opening in new window, but Url is "http://mysite.com/www.google.com". Why this is happing? How to should point to www.google.com <a href= '<%# Eval("ConferenceUrl")...

HTML Table row edit/Delete

Hi, I have an HTML table with contents, I would like to have an feature of Edit/Delete to that table. How do I do it with PHP? ...

Centering an image with an input?

I have an image next to an input, and I was wondering how I centered both with one another. I need the center of the image to be vertically aligned with the center of the input. How do I make this happen? Markup: <span class="my-span"> <input type="text" .../><a href="..."><img .../></a> </span> ...

JQuery / JavaScript - trigger button click from another button click event

Hi I have this HTML which looks like this: <input type="submit" name="savebutton" class="first button" /> <input type="submit" name="savebutton" class="second button" /> and JS: jQuery("input.second").click(function(){ // trigger second button ? return false; }); So how can I trigger the click event from the 2nd button by cl...

CSS: hide table with no class or id

Is there a way to hide a particular table that does not have a class by using the table styling to select? For example if I had a table with this name <table border="0" cellspacing="0" cellpadding="0" width="300" height="100"> or <td colspan="3"> I do not have access to the html and cannot use javascript, must be a css solution. ...

error on line 127 at column 19: AttValue: " or ' expected

i am getting this error on the last line here: <path d="M 909.99146,226.40625 L 911.86646,228.4375 L 914.05396,232.03125 L 914.05396,233.90625 L 912.02271,238.4375 L 910.14771,239.0625 L 906.86646,242.03125 L 902.17896,247.34375 C 902.17896,247.34375 901.55396,247.34375 900.92896,247.34375 C 900.30396,247.34375 899.99146,245....

Web Content Accessibility - Does it worth?

Looking on some interesting links, I found Web Content Accessibility Guidelines. Under Abstract headline the articles states: Following these guidelines will also help people find information on the Web more quickly According to this statement,and furthermore according the whole article: Does it worth to spend the time is ne...

Radio buttons not aligning properly

<table> <tr style="background:#CCCCCC"> <td> <input id="Radio1" name="G1M" value="1" type="radio" /><br /> <input id="Radio2" name="G1M" value="2" type="radio" /><br /> <input id="Radio3" name="G1M" value="3" type="radio" /><br /> ...

How to remove button outline in Opera

Hi guys. Is anybody knows how to remove dotted outline on buttons in Opera? ...

Returning value from confirmation dialog using JQuery UI dialog

I am using JQuery UI dialog to display a confirmation dialog when a button is clicked. I want to return 'true', when OK is clicked and false otherwise. Associating dialog open call in onClick (as given here, $dialog.dialog('open');) event does not serve the purpose. So, as a work around, I followed approach something similar to this: ht...

Can I slim this jQuery down?

So I'm starting to get into jquery more and more lately. I've created custom radio buttons and doing this to show that a radio button is selected: $('.radio_1').mousedown(function() { $(this).toggleClass('selected'); $('.radio_2').removeClass('selected'); $('.radio_3').removeClass('selected'); }); $('.radio_2').mousedown(functi...

error on line 39 at column 26: Namespace prefix xlink for href on script is not defined

i am embedding a javascript file inside an svg file like this: <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sou...

error on line 1 at column 1: Document is empty

after many questions i am still puzzled as to what my question should be i am getting this error when i add CSS into my SVG: style.css * {margin:0; padding:0} body {font:11px/1.5 Verdana, Arial, Helvetica, sans-serif; background:#FFF} #text {margin:50px auto; width:500px} .hotspot {color:#900; padding-bottom:1px; border-bottom:1px dott...

javascript code not executing!

i have an index.html lik ethis: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>JavaScript Tooltip Demo</title> <link rel="stylesh...

jquery: how do i know if i have it?

i need jquery to work on a browser locally. how do i know if it is installed and how do i install it ? my question is specific to being able to run this code: onmouseover="evt.target.setAttribute('opacity', '0.5'); $('#someDiv').show();" onmouseout="evt.target.setAttribute('opacity', '1'); $('#someDiv').hide();" ...

document.body.style.backgroundImage vs document.body.background

What is the difference between the two? ...

what does #someDiv mean?

when the user puts his mouseover this object i want a message to pop up: onmouseover="evt.target.setAttribute('opacity', '0.5'); $('#someDiv').show();" onmouseout="evt.target.setAttribute('opacity','1)'); $('#someDiv').hide();" what exaclty does someDIv mean? where do put the text? i am doing this and it is not showing the text at al...

jquery: how to use an id selector?

Possible Duplicate: what does #someDiv mean? i am doing this: onmouseover="evt.target.setAttribute('opacity', '0.5'); $('#someDiv').show();" onmouseout="evt.target.setAttribute('opacity','1)'); $('#someDiv').hide();" but i guess i need something called an ID selector? anyway how do i make it so that when there is a mouseov...

Beautify HTML code using Ruby or Java?

I'm looking for pure Ruby (or Java) solutions for beautifying HTML code. I'm currently using Hpricot to parse HTML, since Nokogiri and other HTML parsers require external C programs. I assume that I can use Hpricot to clean up HTML if I can come up with a good algorithm. I'd prefer not to reinvent if this has already been done. ...