Hi
I am not really familiar with CSS, and come across the following problem:
I am making list of 3 item (actually they are divs), and added an image title, and some description inside
each of them. Everything was good, till that time when I was requested to add another block after this one...
And after I tried it, I investigated that ...
Canvas from html5 was introduced some time ago. Currently it's used (almost) only for demonstrations how cool it is - it's mainly related to painting, games and charts. Many of them can be found at Canvas demos.
How creatively / unusually can canvas be used?
Some examples:
jsAscii - ASCII art from images with
Javascript and Canvas (...
Say I have an xml document consisting of a list as shown below:
<Items>
<Item>First Item</Item>
<Item>Second Item</Item>
<Item>Third Item</Item>
<Item>4</Item>
<Item>Five</Item>
</Items>
I want to convert it to a html table with two columns for the Item elements (I'm not fussed at the moment whether it's ordererd top-bottom-...
As long as I see when I position an element (for example flash player) relatively to previously placed image as in the example
style="display: block; width:216px;height:164px; position: relative; top: -306px; left: 63px"
the place that it intended to use before is looked occupied, i.e. next element will be shown AFTER that place. But...
A very general question.
I am dynamically generating a form that is split into multiple levels of tabs using HTML / JavaScript.
I want to highlight some of the fields (those that have a value differing from a global template) with a star * symbol using CSS and background-image.
A JS field iterates through each field, compares its valu...
I know, I know - obfuscated html/js code is useless (I read the other questions on SO), but I still want to make life harder for copy-cats of my site...
I'm running a php based website, which generates html output. I would like the FINAL html output (which has html, js, json and uses ajax) to be obfuscated. Is there a php function for t...
Hi I am embedding pdf file to my asp.net page like this
<object data="..." type="application/pdf" width="300" height="200">
</object>
The problem is that I have created my own toolbar for pdf, and want to zoom in, out document from my toolbar image buttons. I know that I can embed JavaScript to pdf document, when creating document fro...
Hey
I am trying to left align a div within a div that has been center aligned with margin: 0px auto; but i just can't seem to get it working, i know this is a simple issue but i just can't seem to get it to work...
any help would be brill !
PS - i have attached an image of the problem, just can see the left col is float-left but now ...
Hi All,
I have got two simple questions
How can I tell what server is a website on? I remember I used to read the HTTP Host Header to identify the type of server. Is there any tool to do it?
2a. A lot of the website have the page extension .html and you just know they are not html. How can I tell what programming language is behind ...
When I try to set the value of a textarea with a large text (for example a string length of 600000), the browser (Firefox 3.5.3) freezes.
The text is in 1 line so text wrapping needs to happen by the textarea itself. I think this causes the problem.
Does anyone know a fix for this problem?
...
I am trying to decode some HTML entities ('<' => '<').
I have found an old gem (http://github.com/tma/html_helpers/) but it seems to have been abandoned twice.
Any recommendations? (will need to use it in a model)
...
Given markup like this:
<body>
<div style='text-align:center'>header</div>
<table>
<tr><td>
really_wide_table..........................................................................................................................................................................................................................
Hi all,
I have an aspx page which has some javascript code like
<script>
setTimeout("document.write('" + place.address + "');",1);
</script>
As it is clear from the code it will going to write something on the page after a very short delay of 1 ms. I have created an another page to get the page executed by some query string and g...
Is there a way by which a user can click on a link in a webpage, which would then trigger a new window being opened up, which is then populated with content by javascript from the original page?
I need to write a self contained HTML file (so cannot use external links) that is able to BUILD a new window with predefined content...
...
I'd like to be able to download a web page and then save it as a pdf, or png (or save it locally with all the html, image and css etc files). This is so the page can be viewed without an internet connection. Is there a standard way to do this?
...
Hi
I have a div to show a message, I want the message to appear for a few seconds and then just fade until it disappears.
I just define a normal div and hide it when the page loads with $('#mydiv').hide();
I have a button to show the div with the desired effect, for this, I'm using:
$('#myDiv').fadeIn('fast').effect("highlight", { ...
When I have a link that is wired-up with a JQuery or JavaScript event such as:
<a href="#">My Link</a>
How do I prevent the page from scrolling to the top? When I remove the href attribute from the anchor the page doesn't scroll to the top but the link doesn't appear to be click-able. Thanks for the help!
...
I have an embed window media player which is always on top of other DIV tags. I used wmode = opaque; WindowlessVideo = -1 but it does not help. Does anyone know how to make it appear below a certain element of the page.
<object type="application/x-oleobject"
classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" codebase=
"http://activex....
Im currently calling a php code that displays results from a mysql db by using AJAX so that the page doesnt reload!
Inside the php code, I am creating a menu where the users can chose to display only "private ads" or "all ads".
Currently, "all ads" are displayed in a div container using ajax as mentioned because I havent implemented th...
I want to get 4 columns, with the text floating in all of them. I don't want to make 4 separate divs, because when the first column if full of text, the text should continue in the next column.
I also want to set the width of each column and the padding between. Additionally, the height should be flexible, depending on how much text th...