- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
18 Posted Topics
Re: margin affects the height and width of an element. Whereas padding affects the space inside the element for the child elements to fill. Say if you had a parent div with the class "parent" and some text inside it: <html> <body> <div class="parent"> <h1>A header which will be contained within … ![]() | |
Re: hi KCM5052. is the images folder in the same folder as the stylesheet? if so, background-image:url('images/1.jpg'); should do the trick. and make sure the "1.jpg" image is a ".jpg" not a ".jpeg" ![]() | |
Re: using javascript you'll be able to show and hide columns depending on the width of the browser window the user is viewing your page on. as for text elements, you could set a percentage width and a min-width and, if the height is explicitly set, the element will resize to … | |
Hi all a div located below the top div is positioning itself roughly 200px higher than expected. The top div is filling the browser window as it should be; but the bottom div is overlapping the top div. I hope this makes sense :S The properties set for the top … | |
Re: Hi Violet 82 I don't see anything wrong with that! might want to let a more skilled member of the community confirm this though ;) | |
Re: change the order of the elements in the html like this: <div id = "komen"> Nama : <input name="nama" type="text"> Email : <input name="email" type="text"> No. HP : <input name="no_hp" type="text"> </div> <div id = "berita"> <p> Belakangan ini cherry belle membuat lagu yang versi rock. . . . . … | |
Good morning I have an event called "OptionChanged" that is triggered when one of many CheckBox's is changed. string cb = ((CheckBox)sender).Name.Remove(((CheckBox)sender).Name.Count() - 1); gets the name of the changed CheckBox, removes the last letter then copies it to a string. Now, i need to find the relevant bool (named … | |
Afternoon (UTC +0) all I am having a slight problem with the FileSystemWatcher. The File watcher does exactly what i want it to do (as in throwing an event when needed). However, when this event is thrown the debugger stops with no exceptions. This has never happened to me before … | |
Hello all I am writing a solicitor allocation application that will be used by multiple users at one time. Because of this, the database needs to be updated with every change. This is my code when a solicitor is chosen for allocation: private void FindSolicitor(int type, bool stype) { table … | |
Re: atleast give it a go. Report the problems you have trying and people will be able to help you. Hint: BinaryReader | |
Hello Daniwebbers I have a 2 dimentional control array which gets added to it programatically. There's a lot to add to it but i have already stumbled at the first hurdle. I keep getting the standard "Object reference not set to an instance of an object." error when the first … | |
Re: you need to add the select command to the data adapter before calling adapter.Fill Example: SQLDataAdapter adapter = new SQLDataAdapter(SELECT query, connection string); | |
Re: Double click the textbox to create the event "textbox_TextChanged" then type in this code: private void textbox_TextChanged(object sender, EventArgs e) { textbox.Text = textbox.Text.Replace("'", ""); } this will replace any instances of ' found within the textbox. However, due to the cursor going back to the beggining of the textbox, … | |
Re: I'm new to C# and am currently reading "C# for dummies". It has helped me understand many elements of C# which i would have otherwise struggled with. The good thing about this book is it doesn't stay on simple event driven programming for long, it gives you a relatively short … | |
I have written a program which allows agents of a call centre the ability to access a database (ms access) containing names of solicitors to allocate to. the database is stored centrally and i need a way to update the local dataset on the agents machine when a change is … | |
Hello daniweb chums I once again cannot seems to get a simple bit of text box validation working I am trying to detect if a first name entered contains a number by converting the text box text into a char array and then convert each character entered (using a for … | |
Hi guys i'm trying to just do a simple email/password validation on two text boxes. This code runs but when i type in a correct email address it throws an error "Object reference not set to an instance of an object." on [CODE]AdAcc.InsertCommand.Connection = OleAcc;[/CODE] I'm thinking i may need … | |
Re: or you could just put this.close() before line 6 therefore it wont include frmMain |
The End.