I need this because I want to make a menu (which is made from a HTML list) appear horizontally.
*I prefer not to use absolute positioning since it might become messy when I start changing the layout of the page.
Edition 01
I would like also to remove the indenting of the sub-lists, is it possible?
...
I want to select an abstract, along with HTML format elements using XSLT. Here is an example the XML:
<PUBLDES>The <IT>European Journal of Cancer (including EJC Supplements),</IT>
is an international comprehensive oncology journal that publishes original
research, editorial comments, review articles and news on experimental oncology, ...
Let's say I get the source code of some page (e.g. http://example.com). I now want to write this source code to a WebBrowser, using something like:
myWebBrowser.Navigate("about:blank");
myWebBrowser.Document.Write(sourceCode);
Now, let's pretend that on the homepage of Example.com, there's a relative URL such as:
<img src="/logo.gif"...
Hi,
I have this code.
<div id="static_element"></div>
<script>
$(document).ready(function()
{
$("#static_element").html("<b class="dynamic_element">Test</b>");
//this row wont work
$(".dynamic_element").css({"color":"red"});
})
</script>
i want to access the tag "b" with the class "dynamic_element" but i c...
If my user clicks more than once on a submit button of a form, he essentially sends multiple GET/POST requests (depending on the form prefs).
I find that disabling the submit button using JS is a bit problematic, because if a user tries to stop (ESC/Stop Button), it doesn't reset the button (unless you catch that and handle that using J...
I have a webpage which contains about 20 - 50 dynamic images (images served from a non-static source). These images are served through a servlet based on the request URL. This results in a request being generated per image, which leads to performance decay.
If these images were static, I would create a CSS sprite and replace the 50 requ...
I am new to javascript world.
I wrote a function in PHP. How do I call it when I click a button or image in html?
...
hello, everyone.
I'm programming a user registration. However, I found a charactor limiting to 'username' from sample codes, such as just '.', ''', '-' are accepted, no space or other blank, etc.
Are those restrictions necessary?
I'm using MySQL+PHP. If I adopt the following several ways:
change the collation of the column to '...
I whant to loop through a XML file thats look like this:
<node>
<cd name="td1">
<data value="cd1-0" />
<cd name="td2">
<data value="cd1-1" />
</cd>
<cd name="td3">
<data value="cd1-2" />
</cd>
</cd>
<cd name="td4">
<data value="cd2-0" />
</cd>
</node>
This is the result that i what is this.
...
Hi i'm looking for a free asp.net library for converting html in pdf, xls formats?
thanks
...
Hi. I need to send Email from my Delphi application. What I need is a WYSIWYG editor that I can use in the application to create the body of the email in HTML. Any ideas? Thanks, Pieter.
...
Hi all,
I'm sure this is a basic question to those of you who work in HTML and CSS regularly.
I have two pieces of text, both need to appear on the SAME line - one needs to be left aligned, and the other needs to be centered, regardless of how much text is in the left-aligned block (obviously while the length of the left-aligned text d...
I'm trying to select the inner value of the first sibling - using jQuery - in an environment where I cannot alter the html markup.
I have the following:
<tr>
<td>3</td>
<td>bob</td>
<td>smith</td>
<td>[email protected]</td>
<td>
<img src="bobsmith.png" onclick="doSomething()" />
</td>
</tr>
I'm trying to...
I need to know if there are any alternatives for an IFrame that I could use to load in an external URL into my webpage. Even if it's JQuery or JavaScript or PHP
...
I maintain a homepage where I want to place the so-called social bookmarking buttons/icons for people to share the pages on such resources as Digg, Reddit, Delicious, Stumble Upon, etc. I've formerly used the AddThis button, but then it started sucking, so I switched to ShareThis which was better. However, now ShareThis have added a depe...
I want to display a page with no scrollbar (height:100%). I have read suggestions to add this argument to html and body. But it does not work as I expect. In FF indeed I do not see a scrollbar. But in IE7 and 8 (Standards mode) there is a scrollbar. In Quirks mode it works as expected. Please take a look at this:
<!DOCTYPE HTML ...
Is there any alternative for using a frame. I'm just a beginner and I still don't know what the web designers are doing.
Almost all of the websites I see. Retains the header in the page. How can I apply that so I can stop from using frames.
...
Hi all,
I have a DIV section that would like to use it as a "component" in a variety of contexts. For "component", I mean it will be automatically included in some places of the HTML page that could not be foreseen.
The required behaviour of the DIV section is that it's width should be always 100%, meaning it should totally fill the pa...
Do you know of any tutorial that can help a beginner like me do just like that.
I have really no idea.
...
Hi,
The question is not really about parsing the HTML, but rather parsing the HTML and adding elements to the DOM according to the HTML tags.
For example - I want to be able to take an HTML page, add attribute to the HTML tags - such as "class='replace'", put some PHP/ASPNET code in the page (make an ASPX page with ASPNET or put some inc...