Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Endorsements
Ranked #397
Ranked #3K
~11.8K People Reached

18 Posted Topics

Member Avatar for SHAHAB UDDIN

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 …

Member Avatar for diafol
0
840
Member Avatar for kcm5052

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"

Member Avatar for Zagga
0
364
Member Avatar for Jeff_7

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 …

Member Avatar for Jeff_7
0
228
Member Avatar for //Gonz

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 …

Member Avatar for //Gonz
0
2K
Member Avatar for Violet_82

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 ;)

Member Avatar for Violet_82
0
2K
Member Avatar for andika.kurniawan.121

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. . . . . …

Member Avatar for //Gonz
0
194
Member Avatar for //Gonz

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 …

Member Avatar for //Gonz
0
249
Member Avatar for //Gonz

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 …

Member Avatar for //Gonz
0
638
Member Avatar for //Gonz

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 …

Member Avatar for //Gonz
0
287
Member Avatar for anisha.silva

atleast give it a go. Report the problems you have trying and people will be able to help you. Hint: BinaryReader

Member Avatar for nmaillet
0
601
Member Avatar for //Gonz

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 …

Member Avatar for nmaillet
0
217
Member Avatar for Trebron

you need to add the select command to the data adapter before calling adapter.Fill Example: SQLDataAdapter adapter = new SQLDataAdapter(SELECT query, connection string);

Member Avatar for nmaillet
0
546
Member Avatar for khocmedemmua

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, …

Member Avatar for //Gonz
0
114
Member Avatar for vinnitro

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 …

Member Avatar for vinnitro
0
212
Member Avatar for //Gonz

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 …

Member Avatar for //Gonz
0
204
Member Avatar for //Gonz

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 …

Member Avatar for Antenka
0
261
Member Avatar for //Gonz

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 …

Member Avatar for //Gonz
0
754
Member Avatar for elshan0011

or you could just put this.close() before line 6 therefore it wont include frmMain

Member Avatar for walid86
0
2K

The End.