81 Topics

Member Avatar for
Member Avatar for tanatos.daniel

I want to determine if the mouse cursor is above a Windows Form and if so, change its color, but I'm kind of new to this and C# also. I was thinking of something like this: public Form1() { InitializeComponent(); if (Control.MousePosition.Y >= 0 && Control.MousePosition.Y <= 499 && Control.MousePosition.X …

Member Avatar for bir_924
2
6K
Member Avatar for alexgrover

Hi, Simple HTML code with few DIVs. See below the code. When window resized, One DIV overlaps with other and it looks messy. I could not figure out the problem. I tried to change position to relative and no it overlaps. Can someone please point out the problem in the …

Member Avatar for LearnTheNew
0
6K
Member Avatar for seularts

I have a checkbox input switch set up over the Input text box that acts as an on/off switch for that particular field. I am also using jQuery Validator (jqueryvalidation.org) to handle the errors for empty fields. The issue is that when the error hops in, my switch is pushed …

Member Avatar for rproffitt
0
307
Member Avatar for armstr38

CSS Code #info-section{ width: 700px; margin-top: 30px; } #info-section ul li{ display: inline-block; list-style: none; } /*#image-section img{ width: 400px; height: 270px; }*/ .info-img img{ max-width: 400px; max-height: 270px; } .text-section{ width: 200px; height:270px; background-color: #1b1b1b; margin-left: 400px; color: #fff; position: absolute; } /* #text-section{ width: 200px; height:270px; background-color: #1b1b1b; …

Member Avatar for diafol
0
374
Member Avatar for James_43

Hi all, I have a HTML video within a div that is 100% width of the page. I want the video fill the container and crop the height to fit. But so far I cannot get the video to expand at all! I'm simply using: .video { width:100%; } and …

Member Avatar for James_43
0
3K
Member Avatar for GlenRogers

I'm doing a one page site. At the top of the page I have a fixed position header with logo, menu etc. As it stands now, when I click on a menu link to take me to the relevant section it takes me there ok but as the header is …

Member Avatar for bnmng
0
158
Member Avatar for CJMW

So I'm making a map editor with C# and XNA. I have currently got it setup so there is a windows for with a picture box, which the game is being displayed through. The problem is this, I want (0,0) to be the upper left corner of the picture box, …

Member Avatar for sfuo
0
2K
Member Avatar for Stefce

Hello im not too sure how is this called but i will try to explain.. I want to make the form to get updated on every "Status Update" so for ex. like Facebook when you are posting a new status it gets updated the "body" of the page with new …

Member Avatar for Taywin
0
213
Member Avatar for sarathcd

Hi Guys, I am new to XSLT, looking to solve a problem I am facing in filtering XML records. I need to get both the Input XML record position and limit the output XML to a particular number (based on input provided to xsl:param from .net 1.1) Input XML <Parent> …

Member Avatar for Maruli
0
824
Member Avatar for UltimateJacob

I've got the beginnings of a website, with the header and navigation bar already implemented. I also have a main section implemented, but only in absolute positioning. I've tried many things, but how would I go about positioning it relatively? Every time I try, the section and the header get …

Member Avatar for Taywin
0
292
Member Avatar for george08.08

I am trying to get my head around the functions etc in xslt with xml. I have made a dummy xml file <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="books.xslt"?> <books> <book> <title>Hello Dolly</title> <author>John Thumb</author> <readers> <young_readers>17</young_readers> <older_readers>23</older_readers> <total_readers>40</total_readers> </readers> </book> <book> <title>Goodbye John Thumb</title> <author>Dolly Smith</author> <readers> <young_readers>12</young_readers> <older_readers>3</older_readers> <total_readers>15</total_readers> …

Member Avatar for george08.08
0
277
Member Avatar for Emma_3

I need to find a digit at a specific postion in a number. Example number 652796, user inputs a 4, "2" is displayed. I have the basis for it, but most of the time, the output is incorrect. Not sure what's wrong. #include <iostream> #include <cmath> using std::cout; using std::cin; …

Member Avatar for vmanes
0
1K
Member Avatar for grarhakim

Hello gayz, i have a written a screen saver App in C# & WPF, everything is done, the only thing is to exit the screen saver when the mouse move event get fired. if i write: private void Window_MouseMove(object sender, MouseEventargs e) { this.Close(); } the screen saver doesn't starts …

Member Avatar for grarhakim
0
397
Member Avatar for Fiorentino01^

Hi I am studying html5 and have a hard time understanding exactly how those tags function.Maybe I am used to the old div tags and cannot figure out what is going on. For example I look at a page made with html5 and css3.In the page there are 3 article …

Member Avatar for Fiorentino01^
0
280
Member Avatar for Start4me

Hello everybody! I’m trying to create a program in which the user has the ability to move the image with mouse click and ability to zoom in and out by scrolling the mouse wheel. If the user wants to return to the original image size and position, it will be …

Member Avatar for Start4me
0
1K
Member Avatar for andreiviziru

so i have the following css stylesheet [Click Here](http://www.jocurigratisonlinenet.ro/default.css) and i want that `#footer{}` and `#copyright{}` to stay at the bottom of the page all time. How can i achieve that?

Member Avatar for almostbob
0
262
Member Avatar for sonicx2218

So I'm using a lightbox JS program and I'm trying to alter the CSS to fix an issue. The lightbox opens in the middle of the page, no matter what. I'm trying to get it to open over where the link was clicked instead of the middle of the page …

Member Avatar for sonicx2218
0
260
Member Avatar for vbpro

How can I get the Mouse Position from the mousemove event inthe VB.net? I can't find out how to do this.. :rolleyes:

Member Avatar for Luc001
0
31K
Member Avatar for ktsangop

Hello everyone! Just as the title suggests, i would like to know if it's possible to set the position of a dialog box. The default behaviour, is to appear in the center of the screen I use it this way : public static int confirmationBox(String infoMessage, String location) { int …

Member Avatar for ktsangop
0
3K
Member Avatar for schroaus

I am making a game in microoft visual basic. It is virtually finished, but I am having a problem. When you hit the start button a timer is activated making the character in the game equal mouse position. The problem is that the character is not actually going to the …

Member Avatar for schroaus
0
673
Member Avatar for kumar89hitesh

how to postion tags fix like <p>,<div>. that could not move when i add some contents at same web page.

Member Avatar for annaharris
0
159
Member Avatar for kumar89hitesh

how to positon contents in the asp.net? I have a problem to position contents of web page. i have many div at one page when i positon one div then another div move to another place and i have to position div again and again when i add some content …

Member Avatar for annaharris
0
171
Member Avatar for RinzLove

Hi, I've problem positioning the div. I would like to have the div (id=new, id=cd) position beside .navmenu instead of below .navmenu Please see the code. Many thanks.. <div class="catalog"> <blockquote> <h1 style="text-align: right;"><marquee direction="right">Free Shipping Islandwide for Purchase above S$100<img src="images/plane.png" width="70" height="40" alt=""/></marquee></h1><br /> <div id="left"> <div> <p …

Member Avatar for IIM
0
256
Member Avatar for newGains

i created a testScores class which initialized an object with an array of scores and had an exception that if the score was <0 or >100 it would throw an IllegalArguementException. I got my main program to work it throws the exception for the array with the bad grade in …

Member Avatar for JamesCherrill
0
300
Member Avatar for Adami

Hi all, I wrote a simple app that shows your current location depends on GPS, WiFi, 3G signals, and shows in a Text View the location as city,street, country. The problem is that I saw that the location is pretty updated with WiFi\ 3G \ GPS, but the Text View …

Member Avatar for BitBlt
0
2K
Member Avatar for baol

Hi would like to center all my webpage. I am noviced in web design. I have try a lot of different way to make it center but it doesn't work. When i zoom out or in, everything move. I would like that every stay in same place. Each sub menu(products) …

Member Avatar for mattster
0
255
Member Avatar for PriteshP23

How to fixed the layout of page for ALL screens? I mean to say on "ANY" size of COMPUTER SCREEN, Page-layout should be the same. In fact, i would like to put width:100% ONLY for header and footer. I would be more than happy IF i can have small EXAMPLE …

Member Avatar for Steve hasting
0
384
Member Avatar for guilherme.carvalho.9250

Hello to everyone, im having some trouble in setting a position on a table in php. I learn how to display a table in php on school and with some research through the internet, but not how to customize it. Is it possible to display a mysql table from a …

Member Avatar for guilherme.carvalho.9250
0
1K
Member Avatar for jonsan32

My slider works well enough in all browsers except for IE, where the overflow isn't hidden at all. I've tried adding position absolute to some parts and I've tried adding position relative to others, but nothing has worked. Any answer to this would be great. Thanks. <script type="text/javascript" src="http://dl.dropbox.com/u/5739741/OMAR/code/jquery.js"></script> <script …

Member Avatar for jonsan32
0
280
Member Avatar for nakshi

I need a perl script to extract the starting and ending positions of a column here is the input HETATM 7749 C1 NFG A1001 -31.772 -7.604 -23.847 0.80 61.71 C HETATM 7750 O1 NFG A1001 -30.806 -8.518 -23.305 0.80 65.42 O HETATM 7751 C2 NFG A1001 -32.987 -7.507 -22.895 0.80 …

Member Avatar for 2teez
0
312

The End.