I have nearly 100 HTML files that uses the <tt> tag to markup inline code which I'd like to change to the more meaningful <code> tag. I was thinking of doing something on the order of a massive sed -i 's/<tt>/<code>/g' command but I'm curious if there's a more appropriate industrial mechanism for changing tag types on a large HTML tree...
I need to insert a string directly after the open anchor ends (where the anchor content starts).
Here is my code:
<ul id="menu-topmenu2" class="menu">
<li id="menu-item-5" class="menu-item menu-item-type-post_type menu-item-5">
<a href="http://localhost/domain/barnlager.se/?page_id=2">
About
</a>
...
Hey,
I am having some trouble with a textarea in IE7. When there is more text than can fit in the height of the textarea, the background image moves upwards. It is 100% in all other browsers (just IE7)
Here is the page; the offending textarea is the message one at the bottom.
http://www.nettunes.co.za/build/contact.php
the search bar ...
Hi,
how can i activate the second tab of my web page in page load , i have done the tabs using jquery and ul.
below is the codes
<div class="tabcontainer">
<ul class="tabs">
<li><a href="#tab1">Saved Recipes</a></li>
<li><a href="#tab2">Groups</a></li>
<li><a href="#tab3">Friends</a></li>
<li><a href="#tab4">My Reci...
Hey there,
I was trying to display a picture using regular HTML
I have this,
<img src="../../web-app/images/cargo.png" align="left"/>
Maybe I'm doing something wrong there backing up directories with the "../../"
But last time I checked that's how it was done
If there is a simpler and better way to do it via Groovy, or maybe CSS, I'...
Hi everyone, thanks for you help in advance.
I'm having a bit of a trying time with a container in a Google Webtoolkit app, for a vairiety of reasons I'm largely unable to control the html and inline CSS in this app so I'm having to find css only solutions to layout problems.
In this case I have a div tag which needs to have 100% hei...
Hello all
Can I have HTML markup and javascript code existing inside a Silverlight application? For example can I have a JQuery accordion inside Silverlight?
...
This question has prolly been asked a zillion times and google is full of it but... I can't find nothing concrete.
So I got a Flash website that loads html files. In the html files is the content (text).
Google doesn't find the text (tried quoting a line for example to get precise search results).
So what must I do?
...
I'm writing a web app that inserts and modifies HTML elements via AJAX using JQuery. It works very nicely, but I want to be sure everything is ok under the bonnet. When I inspect the source of the page in IE or Chrome it shows me the original document markup, not what has changed since my AJAX calls.
I love using the WC3 validator to ...
see jsFiddle example here
I'm applying padding-top to an li to try to align the text nearer to the bottom. But it's just making the li bigger, even though there seems plenty of room to fit the text.
Any ideas?
<ul>
<li class="padded">x</li>
<li>x</li>
</ul>
li {
width: 25px;
height: 25px;
border: soli...
when we place flash files in our websites, it OFF-COURSE requires flash player on client machines, and prompts to install flash player...
is there some php code using which i can check weather there is flash player on the client machine and if not then instead of placing\embedding a flash file i place an images over there...
cuz in my...
I have created this "shell" in jquery:
Code: link text
Demo: link text
I need that every 100 chars, the prompt go in a new line below.
How can I do this ?
...
Hi folks,
I just modified an older code and now nothing seems to be working. Could you please guide where am I going wrong.
Some of the things that aren't working are:
Earlier, focus would always stay on the only input field present on the screen. (Now it doesnt), also the if else conditions in the code arent working. On keyup functio...
Is there a way ( with languages like css, html or javascript ) to custom the text prompt in input tags ?
For text prompt I mean that vertical flashing line in the input tags.
...
I would like to add a subtle shadow to make my table look raised.
Just using CSS, how do I do that?
...
Hi,
I have an html homepage, at bottom too, I have place menu options. This I have done using object tag and calling another page, through object tag's data attribute, having menubar code.
Now the problem is when I try to open any link using this bottom menu those links gets open in this data object window only. Where I want when I cli...
Here is the scenario. I am building an ical feed through Zoho that will host the calendar. There is a form that a user can input data and it will show up on the calendar. The problem is that the company that hosts the calendar only updates every 12 on their own, but there is a button that you can manually push to update the calendar. The...
Is there any technique or set of techniques that can be used to implement what, in effect, would be an onVisible 'event' in JavaScript?
I would like my JavaScript to detect when an element in a web page, such as a paragraph of text, or an image, becomes visible in a browser window as a user scrolls down a page. I would also like a corre...
We have a project that is all about web accessibility compliance. About a week from launch we have the accessibility committee reviewing our site to give the final thumbs up. However, they reported back to us that we should set alt="" on some of our icons because they do not provide any additional content to the site and thus are merel...
Hello!
My problem is:
<div style="width: 400px" contenteditable="true">
abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc
(...)
abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc
<img src="pic.jpg" style="display: block" />
abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc
(...)
abc abc abc abc abc a...