Hello, I'm having a problem with getting extra padding on link element with an image inside. It happens in all browsers, Safari, Firefox, IE.
I have a reset stylesheet applied so there shouldn't be any extra margins on padding but upon inspection it's clear that the a element has some extra bottom padding from nowhere. Any ideas?
Her...
We have 2 sets of prices, $ and £'s.
How best can I handle this.
Should I have a folder with the US site in so when users click on the US flag they go to mydomain.com/us and then navigate from there.
Or is there something simpler I can do?
The HTML site passes users over to our client system when ordering so currency conversion etc i...
<form>
<input class="date-pick" type="text" value="2010/08/02" name="date" />
<table id="events_selection">
<tr>
<td>
<img src="/admin/ajax/image.php?filename=/media/immagini/danieledaniela/1.jpg&maxw=200" />
<select name=...
Hello all,
I'm trying to show Value of Html.TextAreaFor in Javascript Confirm Box but my code doesn't work. Maybe somebody has a good idea how to fix it..
This is my code:
<% using (Html.BeginForm())
{ %>
<%= Html.Hidden("ThreadId", Html.Encode(this.Model.ThreadId))%>
<%= Html.TextAreaFor(m=>m.Quote,7,40,nu...
I'm trying to find the location of an element on the screen using javascript. This is what I'm doing.
function locateTargets(){
var targets = document.getElementsByTagName("span");
for(var i = 0;i<targets.length;i++){
if(targets[i].className == "target"){
targetsY[targets[i].getAttribute("id")] = targets[i].o...
We have some code that removes "dangerous" attributes and tags from HTML. I noticed that style is among the list of "dangerous" attributes. What could be the risk from that attribute?
...
I have the following link:
<a href="#section">Section</a>
Now I really want this link to be working so the url will be changed to
mypage.html#section
But than on the other hand, if I just keep the code as it is, the browser would scroll the page back to the top automatically, and I don't want that to happen.
Obviously return false...
Hi there.
I have a simple href that calls a javascript function that makes a div hidden and shows another one instead of it. Then I'm using javascript to put in some nice fade-in effect. It works fine in Firefox and chrome. On IE I had to use width: 100% to make it work. And tho it's working now, it totally ruins my font type. Here's the...
I have a table without fixed layout, which means width of column depends on cell content. Now I need to fix width for one column. Say there is minimum width for this column even though all cells are empty.
Or I can extend width for certain column.
Plz advise if this is doable and how to do it.
Thank you.
...
Here is a snippet of my form
<form action="" method="post" onsubmit="return verify()">
<input type="submit" name="submit" value="Delete" />
<input type="submit" name="submit" value="Save" />
</form>
As you can see I am verifying with a function called verify(). I only want to verify if they click "save", I do not want ...
I just made some CSS changes to a page and all works perfect in firefox safari, chrome but when i view it in IE there is nothing. I mean just a blank page
http://posnation.com/pos_support/aldelo_training_dvd
Also this is a miva site
...
I have a server which is online right now, but requires authentication when accessing, so it is basically closed to everyone but me.
Thing is, I don't want to "Open" the website to the public, but I need to test my website on different browsers.
One way is to do it from websites like browsershots.org, which requires access to my websit...
Hey guys I'm having a problem limiting the scope of a jQuery selector. I've created a slideshow widget that depends on an unordered list for a structure as follows:
<ul id="caption">
<li class="visible">
<p>
SwitchPoint Solutions is a leading provider of automated configuration solutions fo...
Hello all,
I am trying to make a simple email client in Java Swing.
I want to allow users to format their email in any way they want, like making some parts of the text bold, other parts italic, etc. In other words, I am trying to make a WYSIWYG editor. The formatting is done in HTML. I am using JEditorPane to display the text.
I have...
I am starting to test my website in different browsers.
So far Firefox is ok, Chrome is ok, Opera is ok. Now I am starting on IE.
First off, why are all my divs dispositioned in IE?
How can I solve this? Do I need to hack and check what browser visitor has?
Secondly, how come it seems as if my website looks the same (like crap) in IE6...
Possible Duplicate:
Disable browser Save Password functionality
Is there a standard way to prevent the end-user's web browser from saving a password using HTML or maybe JavaScript?
...
Possible Duplicate:
Browsers Default CSS
Is there a list of the default html elements styles that I can look at.
...
Whatever I try, float, or absolute position, at resizing it fails and change position.
I tried a normal menu and div elements, but if i resize at my browser it changes position.
What I want when you resize is that it keeps the position nomatter what so you have to scroll to the left to see the floated element/positioned element.
E.g s...
Hi all,
I have a follow-up to this question here:
http://stackoverflow.com/questions/2185357/embedded-wmv-video-object-not-working-in-firefox-works-in-ie
In response to a "Windows Media Player for Firefox Plugin" bug, I wanted to see if we could use a different plugin (e.g. VLC) to work around the problem.
(The bug: WMP plugin does ...
I'm quite sure this a common question, but I'm pretty new to JS and am having some trouble with this.
I would like to load x.html into a div with id "y" without using iframes. I've tried a few things, searched around, but I can't find a decent solution to my issue.
I would prefer something in JavaScript if possible.
Thanks in advance...