I have a div with an id of 'gallery' and I want to style the images inside it. Specifically, I want to give each of the images a 1px solid yellow border except on the bottom because they sit on top of each other, so I don't want to double the border on the bottom.
What I'm confused about is how to choose between the different border sty...
I'm currently working on an intracompany web site which will be viewed on cell phones - at the moment, Palm Treos and iPhones. The Treo has a screen 360x360 so I'm putting all the page info into a 360x360 box. Works fine on the Treo, but when you log in to the site on an iphone, it shows up about 1/2in square on the screen. Is there a...
I have a div in which I need a permanent vertical scrollbar. Sometimes the scrollbar will be needed because the div will contain excess content and other times it will not be needed but I want the appearance to be consistent - even when there is not excess content in the div I want it to contain a scrollbar. I tried this but it doesn't a...
What is the theoretical explanation of
<span></span>
tag? And where we use? What is the use of this tag?
...
I have a table with 3 x 3 cells.
Each cell contains a button, in 1-9
when click on any button, the value will be appended to an input textbox.
I tried to trigger the onmouseout event in the table but not work.
and I also tried to add a div outside the table, and capture the onmouseout event.
How to use javascript to trigger that weathe...
I have tried to put
<a href="page2.hta">Go Page 2</a>
inside a .hta file. However, it opens a browser when I click on the link.
Is it possible to make it open page2.hta within the same window?
...
Hi guys!
I have a question:
My program will search FireFox windows opened by user. When a user open Firefox and enter any site, I want to search for a keyword in that page's HTML content.
How can I access Firefox's Active Tab's DOM (or HTML content) from outside firefox using my C++ program.
Is it possible? If so, can you give me som...
Hi All
My PHP script generates a table with rows which can optionaly be edited or deleted. There is also a possibilety to create a new Row.
I am having a hard time to figure out how to update the HTML rows which are generated through PHP and inserted via jQuery. After the update it must be still editable. The HTML is generated into a d...
Hi!
I have a PHP+MySQL web application to sell ticket in my officess.
I have dotmatrix printer (Panasonic KX-P1050) to print Tickets and bills.
My Ticket size is: 15cm X 25cm.
I want to send some text directly to Dot Matrix printer like Panasonic KXP-1050 without using true type fonts and windows' print dialog. As I know, this means:...
Hello, a I have some images on page and I want to put <span> tag bellow each images, with 'alt' text , with jQuery
I began with :
HTML
<div class='container'>
<img src='images/1.jpg' alt='text1' />
<img src='images/2.jpg' alt='text2' />
<img src='images/3.jpg' alt='text3' />
</div>
jQuery
$(".container img").after("<s...
I have to build a html website, which will contain about 50+ pages. The whole website will have a common look and feel. I wanted to know if there is a provision of master templates in building html websites, so that like in asp.net i can make a master page and then build html pages deriving from the master page. That way if i have to add...
I'm working on an ASP.NET and someone asked me how much time it would cost to make the site.master appear like a Windows form. Basically, it should have a caption, an icon on the left, a minimize/maximize/close button on the right and preferably these should function similar to a real form. Also, it needs to have borders which can behave...
Hi I want to pass an object as iframe src. Is it possible?
like this
StreamReader reader = new StreamReader(data);
string s = reader.ReadToEnd();
myiframe.Attributes.Add("src", s);
Thank you,
Nagu
...
I have a page with a row of about 10 imgs. For readability of the HTML, I want to put a linebreak in between each img tag, but doing so renders whitespace between the images, which I do not want. Is there anything I can do other than break in the middle of the tags rather than between them?
Edit: Here is a screenshot of what I have so f...
hi
when I get a text from a textarea in html like this
wase&
;#101;m
the correct decode is waseem
notice the newline , when I decode it I get
wase&;#101;m
the newline make errors here , Can I fix it ? I use javascript in the decoding process .
I use this function in decoding
function html_entity_decode(...
Hi,
I find this a pain. I am trying to get CSS to use an image when the < hr /> tag is used.
I am currently using:
hr
{
display:block;
border:none;
height:10px;
background-image:url('img/ruler.gif');
}
However, I always get a border around the image. As you can see, the border:none does nothing.
I know there are alte...
Often when writing PHP I'll have it output some HTML like this -
echo "<a href="../" title="link title">".$link_text."</a>";
Obviously this won't parse as I need to escape the double quotes in the attributes of the <a> element. Is there a regex that would quickly do this rather than me manually adding the backslashes?
One other thing...
I read data from a mysql database that has is filled by php scripts. All special characters are converted to named or numbered html entities (for example & a m p ; & # 2 8 6 ;).
I know of no way to convert these characters back to the original ones in Delphi as unicode strings. Did anyone ever find or even create such a function? This wo...
I need to obtain the text from the system clipboard in HTML JavaScript, in a way that it works on all browsers. Some form of clipboard.swf is sometimes used on many sites to copy text into the system clipboard.
How can I do the reverse, i.e. obtain the system clipboard's text in JavaScript via ActionScript code in a 1x1 swf file that I ...
Hi there,
I have installed the latest version of netbeans and its working.. I have opened an html file but i don't see where i can preview it..
Does it support HTML preview inside the IDE?
Do i need a plugin?
I would like to view in design mode at least so i can design in the ide ...
All i see is pure html ...
any ideas?
thanks
...