We have a richfaces table (rich-table style class) and we would like to have some space on top of the table. We tried using margin-top on the above style class with values in px and in %age. But the resultant behavior was different in both the browsers. FF produces more space compared to Chrome. How do we get around this issue and be bro...
tab not showing in IE 6, working fine in others
http://jsbin.com/ehege/2
how to solve?
<style type="text/css">
*
{
margin:0;
padding:0;
}
li
{
list-style:none;
}
a
{
text-decoration:none;
font-size:14px;
}
#...
I've been doing some experimenting with php and html, and I'd like to know if it's possible for the browser to send a separate request for multiple images that have the same file name. For example, if I had
<img src="showimg.php?id=1234">
written out 3 different times, is it possible for the browser to send the request 3 different t...
I uploaded my videos to youtube to make use of the multi-quality features..
and I noticed that when I play them on the youtube website, they appear in 3 qualities with the ability to show the the forth HD quality if I hacked the mt parameter, while -the problem- it shows only with the 360p and 420p qualities ..
Unlike all other questio...
Could someone convert this line of code to be readable by HTML?
echo '<h3>'. $r['title'] .'</h3>';
into something like this:
<?php echo...blah blah blah ?> /* To display the title in HTML */
I am sure I am not doing it right, that's why it's still not working :(.
Edit: There seems to be a confusion here. I am not going to mod...
How to put <br /> only in div contenteditable while user is pressing ENTER key? I must manage the content of that div in XML after send, but some browsers translate new lines as <p>, some (in example Google Chrome) as <div>.
The good solution will be force to make new lines the same in all browsers (only <p> or only <div>) too.
PS: I'm...
Hey experts,
I have website where I need to show a blog inside my website, so i tried doing that by using iframe.Now the problem is since the blog is bigger in size, my iframe shows scroll bars and I don't want that and also I would like to know if there is any other way to show the blog in my website like if I am able to show the websi...
I have a multipart header, which starts with
------------------123456\r\n
where 123456 is a guid. I want to extract this out. I'm trying to find in the specifications how this header is made, but I don't know why there are so many dashes or even if the number of them is fixed. w3c seems to suggest there are only two dashes --123456 b...
Hello all,
I don't want to use XHTML but VS2008 forces me to.
When I type in an ASPX document < br it will autocomplete to < br />
But normal HTML4.01 does not use these things.
So how do I get rid of this annoying XHTML autocomplete? I want normal HTML 4.0
...
Original code: (can be seen working here: http://sandbox.hokuten.net/jqrpg/)
/* google.setOnLoadCallback(function() { */
$(function() {
jqr = new Object();
jqr.settings = new Object();
jqr.settings.sprite_width = 16;
jqr.settings.sprite_height = 16;
jqr.settings.space = false;
jqr.p = new Object();
function jqrpgResetPlayer() {
jq...
hello, I'm working on this project, and i have this bar that will have tabs filled in it dynamically. What i want to do is have a (+) image that appears whenever the bar is full, and when the user clicks on it, the rest of the tabs will appear. Something like what facebook have in the profile page to add a new tab.
Anyone knows an easy ...
Event.observe(window, 'load',
function() {
$$('a.tag_links').each(function(s) {
//alert(s.parent.parent.id); //How to get id of its parent to parent
});
}
);
I want to get the id of the parent element.
Structure is something like this.
<div class="home-page" id='entity-1'>
<div class="index-page-category">
...
I'm developing a basic login page in ASP.NET.
The page includes an email field, a password field and a submit button.
For some reason Internet Explorer doesn't offer to remember the login info, while other browsers such as Firefox & Chrome do.
For other pages (Gmail, Twitter etc.) IE als offers to remember password.
Please note that I am...
If we know the URL, can we access the names of the files inside the parent directory. Like we do in dos, when we enter a folder we can view the list of files inside that directory by giving command
DIR
For Eg., If we have URL like http://www.ahilam.com . I want to know what are the files and folders inside the ahilam.com such as htt...
I’ve got two pages — let’s call them page A and page B.
Page A has 4 links going to page B.
On page B I’ve got an accordion-styled grid — see http://css-tricks.com/examples/InfoGrid/
I’m trying to get it so if I click on one of the links on page A it will open one of the tabs on page B.
Can anyone help me?! Cheers.
...
Hi folks,
I really need to find a reliable way in order to store a web page locally, with all it's dependencies e.g. html, css stylesheets, javascript, etc...
A python library would be awesome, a CLI would be great too. Also would this type of app/library have a standardized name?
Any suggestions guys? =)
...
Hi,
For the below xml i want to render the unescaped text parts on browser from xslt e.g.:
<one>
<text>
</one>
I want the markup rendered on browser to be:
<text>
But when I use the apply templates which looks like below
<xsl:template match="text()" mode="literalHTML">
<xsl:copy-of select=".">
</xsl:copy-of>
</...
There is two Div in, which div have store some information. And two Div is side by side.
I want to let the description automatic go to next line, if the string is too long. How can I do so? Here is the code:
<div class="round">
<div style="float:left;width:50%">
<ul class = "round">
<li> Description: DFGHJKXCFGV...
Hi,
is there any way to apply to a table cells' both the separate and the collapsed border properties to have collapsed but separated? Thanks
EDIT: this is the wanted result:
...
Currently I add some functionality to webpages via UserJS in Opera. I was wondering if the webpage designer could see what javascript actions I'm doing in my UserJS on his webpage (e.g. via javascript)?
Is this possible? I think it doesn't because the UserJS gets executed first and isn't really 'added' to the page. I'd like to be sure, ...