html

Trouble with transparent image on gradient background using html/css

I have a website where the background has a light gradient (light gray from top to white on the bottom). When I place an image with a transparent background on the website, the background of the image picks the top color of the gradient. So instead of the image's background appearing to be a gradient as well and blending in with the site...

how can i show actual source code in a div

i want to show a part of my source code with color coding in a div for allowing users to get reference of code..now how can i show the actual php jquery or any other language source code with colors in a div. ...

How to apply different styles to options of select tag in HTML

Hello All: I am trying to apply some CSS class on the options of a drop down. The CSS apply correctly in Firefox, but in IE (7, 8) only color is getting applied. Can any body tell me how to apply styles on options of drop down for IE 7 and IE 8. .regionOption { font-weight: bold; } .countryOption { margin-left: 10px; p...

HTML/CSS - Inner-Div 100% Height across multiple columns?

I have looked at many of the other questions but I think my problem is a bit different, and if I am wrong, I'd be happy to see the link and close this question. You can see my problem here: http://www.phoenixdev.net/test.html The first sub-section's right border does not go all the way down -- I need it to or else it looks rather funky...

HTML & ASP Classic "After Load" event?

Hello, I'm using HTML & ASP Classic. Does someone knows if there is something like "After Load" event? Thanks ...

Is a TD rowspan supported in most browsers (including IE6)?

I need to use a table row on my web page with a 'rowspan' set. I'm just concerned that some browsers may struggle with this. Are there any known issues? Or is it safe to use? ...

how to load a css for Safari only ?

hi, how can I load a css file only for Safari browser ? I usually use just this (without javascript) <!--[if IE 8]> <link href="ie8.css" rel="stylesheet" type="text/css" /> <![endif]--> for internet explorer 8. Thanks ...

JQuery UI Selectable stop event doesn't work in IE

I have a JQuery select component and a javascript function to handle the stop event: <script type="text/javascript"> $("#selectable").selectable({ stop: function() { $(".ui-selected", this).each(function(i, selected) { if ($(selected).text() == "Google") { ...

prevent meyer reset css to mess with dynamic content

Hi everyone, I implement the Eric Meyer's reset.css in my website, and works great, but it was a little problem, as this a CMS users are free to format the content of their articles as they want and the reset css resets the formating of their text. Any ideas how we can prevent reset.css inheritance to propagate to the dynamic content? ...

Displaying Large JLIST formatted as HTML

I have a java applet in which I have to display a large amount of items (dictionary entries). The user needs to be able to select individual items in the list, hence it is implemented as a JList. Generating the list was very quick until I decided to make the display more asthetically pleasing by formatting the individual items using...

web page design issue

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 to develop ASP.Net application on IIS 7.0 + Windows Server 2008. Using SQL Server 2008 as backend. My question is, in order to achieve best web page performance form end user perspective, any principles to follow? Any good tutorials or samples to learn? thanks in advance, George ...

how can I fix position of divs in html?

when I zoom-in, zoom-out my web page the position of all divs and items get disturbed.and when I again reset zoom to 100% it comes fine.Even this problem comes when open the same page in big screen laptop.How can I fix the div position.some of my css code- /* hbg */ .hbg { background-color:transparent; float:left; margin:2px 0 0 45px;...

How is a click outisde of an element detected ?

In the jQuery autocomplete/menu widget (the autocomplete widget is based on the menu widget, which is a still unreleased widget), how is a click outside of the menu detected ? (A click outisde of the menu closes the menu) I have added a srollbar (similar to the classic select element) to that menu in a custom combobox widget I am writin...

jquery hide not actually working (NOT IE)

Hi all, jQuery is driving me nuts. Ive looked around on the web for a simple category expander slider but haven't found one. Ive attempted to create one here. The problem I'm having is when trying to hide() an element previously show()n. If another element is show()n before the hide() is called, the call to hide() for the first elemen...

how to Scroll down in a html table using arrowkeys?

Hi, I'm developing a web application and encountered following problem. there are two tables in my page and when i select a row in table1 , first row in table2 get selected.I want to scroll down the table2 using arrow keys(without click in any row of table2). But when I use arrow keys, scroll bar doesn't work. It work only after I cli...

Calling JavaScript function before the end of body

How do I call a JavaScript function before the end of the body of an HTML page? ...

Make an <img> tag extend past the <body> tag in css

Hi all. I'm trying to develop a header area which expands past the usual 960px wide container, without using a background image, my reason for this is because an <img> tag would work better in my case. My problem is, if i place my image in the container, such as this code example: <style> #container { width: 960px; ma...

div inside a href tag

i want to make a div click able and inside this i have another div and this also should be click able or link. html is <a href="#"><div class="box"> <div class="plus"><img src="aaa.jpg"/></div> </div></a> css .box{ float:left; width:100px; height:100px; } .plus{ float:left; width:30px; height:30px; } c...

A Firefox plugin to display the distance between the sides of an element and its parent

Does such an add-on exist for Firefox? ...

How can I get the Tomcat JSESSIONID on the client side?

Hi Guys I want to get the JSESSIONID of Tomcat on the client side. Is that possible? If yes, how? Thanks ...