I have a web site in ASP.NET MVC 2. I deployed it in the server. But when I browse the site, the image position behaves differently with ip address and host name on the URL.
http://mysite/applicationsite
http://192.28.252.13/applicationsite
I couldn't figure out why its behaving differently. The image is more to the left when used ip ...
I encountered this page https://www.google.com/accounts/ServiceLogin, a Google service login page that (beyond just omitting a doctype), contains 6 instances of </img>
For example,
<img src="https://www.google.com/accounts/google_transparent.gif"
alt="Google">
</img>
Why would they ever do that? What benefit/functional...
Hi, i want to display values from a database (a list of categories) into a table that has 2 columns and x number of rows.
I want my web page to display like this:
Apes Cats
Apples Cherries
Bats Tigers
Berries Zebras
Instead of
Apes Apples
Bats Bears
Cats Cherries
Tigers Zebras
Here is my code so far:
<table border="0" bordercolor...
Hi,
I am trying to use a string that contains double quotes in the title attribute of an anchor. So far I tried these:
<a href=".." title="Some \"text\"">Some text</a>
<!-- title looks like `Some \` --!>
and
<a href=".." title="Some "text"">Some text</a>
<!-- title looks like `Some ` --!>
Please note that using single q...
Hi folks,
I have a query and I just want to know if its possible to do or not. If yes, then it would be real helpful if you can guide me to a sample or an example.
So what I am trying to do is, do a comparison on HTML (or DOM elements). So lets take this scenario:
I have 5 rows on my page (5 <tr>'s or 5 <div>'s), and I make an ajax ca...
I'm developing a mobile site in HTML for use on 2 Blackberry models, one quite old (8700v) and one newer (8520) as specified by the client.
The native browser on the 8520 is rendering my HTML/CSS pages perfectly. The native browser on the old 8700 is far from perfect however as the CSS support is minimal.
As a solution I decided to tr...
CSS:
select {
float:left;
background:url(../images/bg_search_sml.png) top left repeat-x;
border:none;
width:200px;
font:15px Arial, Helvetica, sans-serif;
letter-spacing:-1px;
padding:7px 0 10px;
}
option {
height:auto;
outline:none;
border:none;
}
Why only opera and IE6 has problems with this tag. What i must do in opera and IE6 ...
Hi,
How do I specify a css div container so that it enforces column-like behavior, such that when the height of the container is exceeded by the elements in its first 'column', the elements simply continue in the next 'column' of the container. My goal is not to specify columns but just the i) the container height and ii) whatever prope...
Hi there,
I have a padded DIV (containing other/sub-DIVs and a DL) followed by some text:
<div> # the padded/main div
<div>
<div>
</div>
</div>
<div>
<dl>
<dt></dt><dd></dd>
<dt></dt><dd></dd>
</dl>
</div>
</div>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus ante dui, et...
Observe the following painfully simple construction:
<div id="home_thumbnails">
<img onClick='loadFeature(0);' src='image_1.jpg'>
<img onClick='loadFeature(1);' src='image_2.jpg'>
<img onClick='loadFeature(2);' src='image_3.jpg'>
<img onClick='loadFeature(3);' src='image_4.jpg'>
<img onClick='loadFeature(4);' sr...
im trying to load more data(like pagintaion) using jquery. my ajax is working, but jquery is not displaying the data the way i want it, this is my code,
jquery file:
$(function () {
//More Button
$('.more').live("click", function () {
var ID = $(this).attr("id");
if (ID) {
$("#more" + ID).html('<img ...
Hello, I have to use some gallery with JQuery (I'm using Galleria). The problem is that the structure is like:
<div id="galleria">
<img src="(...).jpg" />
<img src="(...).jpg" />
<img src="(...).jpg" />
<!-- ... -->
</div>
The plugin takes all photos from that list and use them. The problem: I have a lot of high-quality ph...
I am having an issue where the background color is behaving unexpectedly when the viewport is shrunk to a size smaller than that specified for some of my elements. While the scroll bars appear correctly the background is not what I would expect. When the viewport is as large or larger the backgrounds behave as intended. When inspecting t...
I'm looking for a way to get an HTML element from a string that contains HTML. Is it possible to use the jQuery selector to do this?
Basically I have an javascript functions that get an entire page from the server but I only need one element from that page.
Thanks in advance
...
Can I write some style css code for every • code I use in my page, for example font-size: 16px;? Thanks.
...
can we pass any info., say a string between html pages using javascript. No forms, input fields I am using just want to pas some info in hyperlink.
...
I have an image on a webpage that needs to be stretched to fit the available space in the window whilst maintaining its proportion. Here's what I've got:
http://www.lammypictures.com/test/
I would like the large image to proportionally stretch to match the height and widths of the browser, minus the size of the divs to the left and bot...
Hi! I created a navigation bar uisng simple HTML&CSS only. The navbar is located here:
http://www.disenyoexport.com/de-nav-bar/nav-bar.html
It looks good in Firefox and Google Chrome, but it messes up in IE and Opera. The mess happens when you hovered on the 'products' link, which should show the submenu. The 'right' behavior should be...
How to fix display:inline-block; on IE6 ?
My html Page http://www.faressoft.org/tutorialTools/slideShow/
can I get the same result in other way ?
...
Can we specify to use a particular email client while using
<a href="mailto...
In my system it opens Microsoft Outlook. But what if someone does not have Outlook on his system? On such systems clicking the mailto link does nothing.
...