On my site, the page displays incorrectly in most browsers until you refresh it. THe website is: http://www.hqinternetsolutions.com/services.html
I dont know why it is displaying in this fashion and then it fixes itself on refresh (even without clearing cache)
It is a series of divs floated to the left with margin. Any idea?
...
I've got some HTML like the following:
<ul>
<li><a href="#">Page 1</a></li>
<li><a href="#" class="toggle">[Open|Close]</a><a href="#">Page 2</a>
<ul>
<li><a href="#">Page 2-1</a></li>
<li><a href="#">Page 2-2</a></li>
<li><a href="#">Page 2-3</a></li>
<li><a href="#">Page 2-4</a></li>
</ul>
...
I want to move my div down if my window scroll down and move up on window scrolls up? How to implement?
...
I'm often conflicted about how to approach this problem in my applications. I've used any number of options including:
A generic multiselect - This is my least favorite and most rarely used option. I find the usability to be atrocious, a simple mis-click can screw up all your hard work.
An "autocomplete" solution - Downside: user must...
I have run into a strange problem. When I use:
background-image: url(none);
in my css file, it generates an error in the apache log file:
File does not exist: /...../styles/none, referer: http://blabla.com/styles/styles.css
I have used the W3C CSS validator and there are no errors (just some warnings about floats needing widths).
...
I've got a site I'm building here:
http://theoew.50webs.com/portfolio_2/
See how when you hover over the menu at the top right, the item becomes taller(20px to 50px). I was wondering if I could do the same thing but have the text move with the list. So when you hovered over the list item, it would enlarge and the text would move to th...
I have this HTML with a table:
<div
class="currentDesignDiv"
style="margin-bottom:5px;">
<div>
<img
alt="Thumbnail"
src="http://www.propertyware.com/templates/
<bean:write name="currentTemplate" property="primaryKey"/>
/thumb.gif"/>
</div>
<div>
<table>
<tr>
<th>Your Current Desi...
Hey ya'll
I would like the label associated with a radio button 'hot'. I started to implement this using the .siblings() method. I think there must be a better way. The click event on the radio button looks like this:
$(".RadioButton").click(function(event) {
var questionId = $(this).find('input').attr('name');
var res...
I've got over some tutorials on how to gzip a css file in which you create a public php file to include css files with compression. The problem is I cannot get it to cache my css files. I'm using firebug for reference and I've actually tried using the same code to compress some javascript and it caches it fine.
Here is the code:
if(ex...
HTML Email is a whole different ballgame from Websites, which have moved away from tables and toward CSS.
I'm looking for recommendations for HTML mail tools, hopefully from someone who has actually used them (I can manage a Google search).
Anything that does a good job of converting from CSS standards to HTML mail?
Anything that can ...
(Beginner to HTML)
I have made a Photoshop mock-up of the website I want to make, but the text I have used in the mock-up looks different when viewed in Firefox. The text is Arial font, size 18pt and regular weight, and I have implemented this into HTML code, but it looks different.
Is there a way to make the font look the same in HTML...
I have a jQuery reference to a HTML select list. I need to iterate the options and check to see if the text of the option matches a regex, if it does I want to add a cssclass to the option. How do I do this?
var ddl = $($get('<%= someddl.ClientID %>'));
Can I take advantage of the .each() function somehow?
Example
<select id="somed...
I have an Asp.Net page containing one grid and an image. The image is a google charts chart and its urls is around 1600 characters. I out together an .htm file containing the grid and the image. For the grid I use RenderControl to get its html code, and for the image, I just add an img html tag and assing the url to its src. I then send ...
I have a drop down menu made in css. When you hover over the text (ul) the menu appears (the li appears). I wanted to know, how to make a submenu, that when you hover over the li's another menu (submenu) would appear and would offer other options.
Ex:
-Tutorials (You hover over tutorials)
(Then these options appear) ...
I'd like to display a Flickr badge as alternate content when a user doesn't have Silverlight installed to display my Flickr Silvrlight App. This works in Firefox, but not in IE:
<object width="100%" height="100%" type="application/x-silverlight-2" data="data:application/x-silverlight-2," id="SilverlightObject">
<param value="/Client...
Hi All,
I am using php with code igniter. I am designing a website with php. I have a requirement in brief described as below:
I have a view page with table in it. I load this view from many different controller .php files. Now i want one of the item in the table to appear with different colors when loaded from different .php controll...
I am using the JavaScript onmouseover event for the menu on my website, but it does not work in firefox when I declare a doctype. And if i don't declare a doctype IE displays the page wrong. Here is the method that I used.
loadImage1 = new Image();
loadImage1.src = "http://broken.gif";
staticImage1 = new Image();
staticImage1.src = "ht...
I need an OpenID login widget like the one on Stackoverflow or Id Selector (which has been discontinued in favor of RPXnow which is a commercial service).
What is the best way to make these? Is there a framework or example implementation anywhere?
...
Hello everybody.
I am very new to the JavaScript, and making only my first attempts to learn.
As a small exercise I am trying to so something simple.
Pretty much I am trying to reposition button that i have on page load.
What do i do wrong?
I would appreciate some help.
My code is bellow:
<style type="text/css">
.mybutton{
position:a...
I have a series of texfields, which I'd like to format as currency. Preferably, this would be done on the fly but at least onblur. What I mean by currency format is 349507 -> $349,507. Is it possible?
I prefer HTML/CSS/JS solutions, because I need less explanation. I'm not familiar at all with jQuery.
Any help is greatly appreciated.Mi...