I have created a list of items using <ul> and <li>. It's works fine in Firefox but in Internet Explorer 6 and 7 I cannot see the list bullet.
Here is what I've done:
I have a global ul , li reset value. After that I have created two column list using two <ul> block. I am overwriting the ul li global style value none in CSS to list style...
My colleague is extremely 'hot' on properly formatted and indented html being delivered to the client browser. This is so that the page source is easily readable by a human.
Firstly, if I have a partial view that is used in a number of different areas in my site, should the rendering engine be automatically formatting the indentations f...
In the following scenario, you have a business object called Employee that contains all information about the Employee. The object exists in xml form as well as normal .Net object.
If would like to know which of the following methods are faster:
Using xslt stylesheet to transform Employee's xml to html
or
Using something like a html ...
I'm a newby at web programming, and even newer to ruby on rails. What is the best way of asterisking out or "hiding" a new password entered by a user?
...
Is it possible to downsize an image in html while keeping proportions?
I know I can use height and width attribute of img tag, but I don't know the image size.
Please don't tell me to find out the image size on the server, or that the right way to do this is to generate thumbnails on the server side and that is saves bandwidth and impr...
I'm using javascript to validate the form,
but can't handle the case when the form is submitted before DOM is ready
I tried :
<form method="POST" disabled="disabled">
<input type="submit" />
</form>
But the form can still be submited.
...
Hi,
I am trying to make JLabel show an html which is referencing an image using a relative path.
But I cannot make JLabel locate the image. It works fine when I am using absolute path.
I have tried running the program from the command line or from eclipse and add dialog to show me where is the current working directory but for avail.
I ...
hi
i have following problem - from the server side i get a string like 'hoschi"brother'
i want to put this string into a <input value"MYSTRING" />. this results in something like
<input value"hoschi" brother" /> which obviously does not work.
any workarounds for this?
does escaping the " character with " work within the value ta...
Hi All,
In our web application we are planning to develop the Top Navigation in Flex and the page content in normal HTML.On hover over the menus of top nav, the child nodes are shown. The childrens should be shown on top of the HTML content. So what should be the height of the top navigation SWF file for the overlay to work properly.
In...
I have, for example, markup like this
<div id="content">
<p>Here is some wonderful text, and here is a <a href="#">link</a>. All links should have a `href` attribute.</p>
</div>
Now I want to be able to perform some regex replace on the text inside the p element, but not in any HTML, i.e. be able to match the href within backticks...
Hi, I'm just wondering about this one. I'm creating an ASP.NET webform containing lots of textboxes etc. And I want to send an e-mail based on this stuff.
And the e-mails body needs to go into a string.
And the string is supposed to contain HTML code, but the syntax changes because of the string. So how can I simplify this? Is there a...
Hey,
Im looking how to have hover effects on input boxes in Internet Explorer 6? Im using YUI if I can utilise that.
Thanks
...
I'm sorry if this was already answered, but it's kind of difficult to search for something with "100% height".
My problem is that I need 100% height table layout because of automatic cell resizing done by browser, which I don't want to script myself for obvious reasons.
It differs from other "100% problems", in that I need some cells t...
<p>First Name <input type="text" name="first_name"> Last Name <input type="text" name="last_name"></p>
<input type="hidden" name="screen_name" value="first_name + last_name">
How do I take what was typed into first_name and last_name fields and add them together to the screen_name so when the field is submitted, it inputs the values ap...
Hi,
I am trying to create a webform in HTML, and if needed javascript. In this webform one should be able to enter source code, so to do that comfortably I would like one to be able to enter tabs.
Is there a way to achieve this?
Thanks
...
I have a simple page with a form and selects. Number of those selects are set invisible and I use Javascript (JQuery) to set visible/invisible the good one.
The CSS to set them invisible is :
select {
margin:0;
margin-top:5px;
padding:0;
border:0;
}
.Invisible {
display:none;
}
It works fine on Firefox, Opera an...
I have a table and would like to give an option of whether you want to expand or collapse. If possible, I would also like to show the first 5 recods in the table. I can make two separate tables and toggle, yes, but is there a more efficient way?
...
If I am reading an XML of HTML file, don't I have to read the tag that tells me the encoding to be able to read the file? Isn't that tag encoded the same way the file is? I am curious how you read that tag with out knowing the encoding. I realize this is solved problem. I am just curious how its done.
Update 1
I dont get it, in UTF-16 ...
i had an html page that run some jQuery scripts and that works ok.
but once i use the same scripts in php page then tries to run it using local server (xampp) it doesnt working .. then i tried to upload files on linux server over the internet but neither the html nor the php pages worked right !
so did i miss something ? is there some ...
Here's my markup (live repro):
<body>
<div style="text-align:center">header <input class='datepicker'/></div>
<table><tr><td>really wide table.....................</td></tr></table>
</body>
When the datepicker is activated, the header div's width changes from the width of the screen to the width of the table (larger). This causes ...