html

css vertical gap between divs

I know this is a common problem but I can't seem to find a solution that works. I have a setup like this: <div id="wrapper"> <div class="content-area-top"></div> <div class="content-area"> <h1>Title</h1> some other text </div> </div> .content-area-top { height: 12px; width: 581px; background-image: url(images/conte...

Need to modify JQuery Cycle updateActivePagerLink option

Hey everyone. I'm creating a simple 3-image slide show, and I'm pretty new to Jquery and Cycle. I have the slideshow working, with 3 pager links that also work. The only thing I need to accomplish is, add "activeSlide" functionality to the currently selected pager image, which I can't do in CSS by simply using the activeSlide class......

Problem pasting HTML from selection in web browser.

I am putting together a WYSIWYG html editor using the .NET webbrowser control. I have managed to piece together the code for inserting a table at the cursor position. However I am now trying to do something a little different. What I need to do is insert a and html comment around a table row. I've managed to write the code that, fr...

Spring-MVC Opening New Tabs For No Apparent Reason

there is a form with a submit that logs in a user <div class="logInDIV"> <form action="login.do" target="login.do" method="post"> <span style="font-size:77%;"> <label>email:</label> <input path="userName" cssClass="textfield" cssStyle="width:160px;" title="user name" name="userName" type="text" /> ...

Is php capable of doing what I want?

Hey stack overflow, I'm working on a biology web based application and trying to figure out what language to use. The features I need to include are: Image viewing frame - This area will display the current image that the biologists wish to see. The application needs to take in a number of coordinates from a file and draw those point...

Body top-margin issue

Hello, I'm having an issue with a common website template of mine: http://www.radonsystems.net/newsite/ That space between the top and the first div: navbar. I can't seem to get rid of it, because I don't know why it's there. Any ideas? ...

JQuery Multiple selector problem

<script> $(function(){ $("a.a, a.b, a.c, a.d").click(function () { alert('Hi'); }); }); </script> <a href="#" class="a button">Hi</a> The above JQuery unfortunately doesn't work. Probably an easy fix, any ideas? I need it to be a multi-selector, but with a's that have multiple classes unfor...

How to have a page load to the middle of the page (instead of top)?

I'd like for the page to open at a certain div halfway down the page, not at the top... I have something like: <div id="d1"> <div id="d2"> <div id="d3"> <div id="d4"> <div id="d5"> <div id="d6"> How can I get the page to open at #d4, instead of the top? (Besides adding #d4 to the end to the URL...) I imagine there must be some easy...

Is it "code" or "markup"?

Is this: <h1 id="superheader">Morbi in sem quis</h1> <ul class="highlight"> <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li> <li>Aliquam tincidunt mauris eu risus.</li> <li class="important">Vestibulum auctor dapibus neque.</li> </ul> <p id="fancy"><a href="#" onclick="javascript:theFunc();">Vestibulum tortor quam</a>....

Strange border (for me !) on IMG

Hello to everybody, i have the following code in html : <div id="header"> <div id="logo"></div> <div id="versione"> <a class="ui-widget-content ui-corner-all countryVersion" href="blank.html">Versione italiana<img src="ita.png" /></a> <a class="ui-widget-content ui-corner-all country...

About Xhtml Guideline

There are certain guide lines to be followed while writing Html for you page. my question is what if we dont follow those rules. Iam asking this because my site heavily work with javascript for dom manipulation and there are certain points where we have to add custom attributes. I want to know what problems i may face by not following ...

Dynamic web page...filling in data on the page when a link is clicked

I want to implement a web page (using HTML/PHP, whatever else), that will populate data int the top half of the page (seem image below). The top half will contain links. When the user clicks on the links, I want to populate the bottom half of the page with detailed information about the item clicked on in the link in the upper half of ...

Fix formatting of aspx file in Visual Studio?

I have a file with a lot of this kind of thing in it: <asp:TableCell ID="TableCell9" runat="server">Company Organization:</asp:TableCell><asp:TableCell ID="TableCell10" runat="server"> How can I get the formatter to change it to shows like this: <asp:TableCell ID="TableCell9" runat="server">Company Organization:</asp:TableCell> ...

How to prevent mouse scrolling outside hovered element ?

I have a div which is set to overflow:scroll;. I get scrollbars which is what I want. However when scrolling the div with the mousewheel it scrolls the rest of the page when it reaches the top or bottom of the div's content. How can I scroll only the div or the entire page based on what's hovered ? ...

How to call Onload function in the Main page as well as @include file inner.jsp page

Hi, I have two pages one is the main page and the another one is the inner page: Page names: main.jsp , sidebar.jsp I want to call the onload function on both of these pages. Is that possible. If yes How? Below is the code for main.jsp: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DT...

div contenteditable="true"

Okay!... I'm facing this for hours now... html <div contenteditable="true" style="width: 509px; "></div> <textarea cols="50" rows="10"></textarea> ​ jQuery $('div').keyup(function(){ $('textarea').val($(this).text()); }); $('textarea').keyup(function(){ $('div').html($(this).val()); })​;​ I want it that whatever I type in...

Problems with Directions API in Google Maps V3 and jQuery

Hi, I'm trying to get Google Maps Directions API working with jQuery, and I have the following code.. http://pastebin.com/6jcGt706 Where #end is a select list in the HTML.. I'm Using jQuery 1.4.. I'm not sure as to what is going wrong.. Can you please help me with this... Would appreciate if any one could help me fix the problem with...

How stop the link of href from being highlighted?

I am setting an anchor tag for an image. It is highlighted and I want to remove the image from being highlighted. How to do this? This is my anchor tag (some PHP in it): <a style="outline:none;" href="<? echo base_url();?>/friends/UploadPhoto"> <img src="<?=$imgp ?>" name="b1" width="90" height="80" border="0"/> </a> ...

Generating HTML Programmatically in C#, Targeting Printed Reports

I've taken over a C# (2.0) code base that has the ability to print information. The code to do this is insanely tedious. Elements are drawn onto each page, with magic constants representing positioning. I imagine the programmer sitting with a ruler, designing each page by measuring and typing in the positions. And yes, one could cert...

how can use iframe in html

what is iframe and how can we use it in html..... ...