Expressions Web 4 Format Code Shortcut?
Is there a keyboard shortcut for formatting code like Visual Studio has Ctrl+K Ctrl+D? ...
Is there a keyboard shortcut for formatting code like Visual Studio has Ctrl+K Ctrl+D? ...
Still learning lxml. I discovered that sometimes I cannot get to the text of an item from a tree using item.text. If I use item.text_content() I am good to go. I am not sure I see why yet. Any hints would be appreciated Okay I am not sure exactly how to provide an example without making you handle a file: here is some code I wrote ...
When one goes to Google images, then selects an image it creates an overlay over the images webpage. On the left there is the page and on the right is a panel made by Google. What is the name for that panel? Anyone have any tutorials on how to make something similar. I want to have my text on the left, and the webpage on the right. Wha...
When I put a smilie (image, vertical-align: middle, 15px height) of 15px in a text with a line-height of 17px, everything is okay. But when i make the lines 16px, a smilie can change the line-height. Its for a simple chatbox, and it is really annoying that if you type a smilie it changes the line-height. So how can i put smilies withou...
Is there anyway to convert an instance of org.w3c.dom.Document to org.apache.html.dom.HTMLDocumentImpl. I need to parse the images inside the Document and HTMLDocumentImpl has a method for extracting the images. I've tried several methods like typecasting, and importNode but it doesn't work. ...
I've tried entering the following in the HTML validator, but it failed to validate even when I used the "Validate HTML fragment" option: <table> <form action="foo"> <tr> <td>tables + forms = BOOM</td> </tr> </form> </table> I think what I'm trying to do here is pretty clear, but the validator seems to be telling me t...
I have text in my DB that I want to display on the page. My DB content contains different tags eg. <html><b></b><help> (because users are allowed to use any type of tags) etc. When I display the content of the page, I want the <br> tags decoded into spaces whereas other tags should remain like ordinary text. Please, how do I go about ...
I am brand new to Jquery and have run into something that if answered will help greatly in the future. I have 2 very simple questions I am using codeigniter, HTML5 and all php pages as well. I have a menu 'aside' with 4-5 sections that I want to be able to close to save space. So I am using 2 simple slideToggle scripts. $("a").click(fu...
Hello everyone. Ive been banging my head with why MSIE8 doesnt overlap the floating div just as webkit a mozilla both do. I hope you guys can help me out with this one. I have the following code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" cont...
Does anyone know why %select{:name => "dropdown"} expand » - for say_text in @available_says %option = h say_text in HAML resolves to <select name='dropdown'></select> <option>a</option> <option>b</option> <option>c</option> in HTML? It's stymieing my dropdown completely and the documentation all says "That should work." I can't i...
I thought some thing like this would work: <select name="hall" id="hall" value="3"> <option> 1 </option> <option> 2 </option> <option> 3 </option> <option> 4 </option> <option> 5 </option> </select> But it didn't. So How could I set a default value for select? Thanks. ...
Hello I have a field on my form, which I'd like to parse before sending to a Web server. Is it possible by using C functions provided by the web server? I mean, suppose I have parse_field() function written in C, and the web server knows it and can call, so I do something like <% parse_field() %> on the page, the function shouls take t...
I need to design a page with border images on each side. I need the page to fit on 1280x1024 and 1024x768 resolutions. Is it possible to have a fixed size for the center div and crop the border images in the lower resolution ? 1280x1024 : border-200px center-840px border-200px 1024x768 : border-72px center-840px border-72px I've mad...
I'm a programmer trying to do some patching up in web-design and generally find css very logical. So far, only 'boxing model' remains a magical land full of minotaurs and harpies for me. I'll illustrate it with examples: http://jsfiddle.net/qyMxv/ The inner element of div with padding specified goes outside of div space. Isn't div supp...
I'm developing a website and certain images will not display when returned to IE browser. It will not display both within the returned html page it is contained in and when you link directly to the image. Here is the page the image is contained in: vrn.vanderbilt.edu/2010 and here is a direct link to the image: vrn.vanderbilt.edu/2010...
Possible Duplicate: When did single quotes in HTML become so popular? Should I use ' or " when coding, for example width='100px' or width="100px". Is it only a matter of taste, or does it matter to the browsers? The reason why I ask, I have always used "" for everything, so when I code with PHP, I have to escape like this: ...
my question is analogous to the "mailto:[email protected]" type of link but is more specifically: if a phone number exists on a page and is viewed by a user on an iphone (phone number will appear as link), is there a way for that link to automatically (upon user clicking) ask the user if they want to add that number to the contact, and th...
I have a <span> which encloses a very long message <span>A very long message..........</span> Can I make the span 's behavior look like a read-only and fixed sized <input type="text"> using CSS or java script ? I want the displayed message will has the fixed length displayed and user can scroll to see the whole message if the message...
Hi. I am working on a project that involves fetching pages with cURL or file_get_contents. The problem is that when i try to echo the html fetched, the output seem to be different from the original page, not all images show up. Please i would like to know if there is a solution. My code <?php //Get the url $url = "http://www...
The best way to describe this issue is probably to show you an example: css/right aligned, works fine when clicking the arrow both ways: http://jsfiddle.net/JDhuK/1/ css/left aligned, only works properly when left arrow is used: http://jsfiddle.net/3nqr4/ I've provided two javascript functions(leftTest and rightTest)that you will need...