6 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Mike Askew

So I have recently come across `string.Format("{0, x}", "Word")` for aligning strings, with demonstration code that works fine in the CMD. Does this also function correctly when pumping text to a label? I am finding that it does not behave as expected and instead misaligns the text. Using an example …

Member Avatar for Mike Askew
0
253
Member Avatar for kevwood

Hi all thanks for reading, I am having problems getting my padding to work how i would like. I have a the followinc code for my page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sonc Hydro</title> <link rel="stylesheet" type="text/css" href="css/main_styles.css" /> …

Member Avatar for matrixdevuk
0
287
Member Avatar for Smeagel13

Take the following C structure: typedef struct dataPoint { tick * tickData; struct dataPoint * previousDataPoint; struct dataPoint * nextDataPoint; } dataPoint; Compiling on a 64-bit system with 8-byte words, this structure takes up 24 bytes (3 words) of memory. 24 % 8 = 0 ... so it is word …

Member Avatar for Smeagel13
0
284
Member Avatar for johnnycho

To illustrate the issue, I've created two HTML pages: [url]http://www.johnnycho.com/firefox_csstest01.html[/url] [url]http://www.johnnycho.com/firefox_csstest02.html[/url] They are both exactly the same, with one exception. On the first page, the div class="topbox" has a padding of 1px. On the second page, the padding has been set to 0. If you look at these two pages …

Member Avatar for Arkinder
0
657
Member Avatar for reececropley

Hey, I have a table on my site in which I want to <th> to have a background-color of black and the <td> to have a background-color of grey. Also to have a border at the bottom of the cell and none on the top of sides. Now I have …

Member Avatar for reececropley
0
1K
Member Avatar for P0lT10n

Hello, I'm trying to do a margin-left depending on the resolution of the screen... I want to margin the page to hold it in the center all... like daniweb... you can see that all is centered, but then you can move things to the left and right like logo and …

Member Avatar for P0lT10n
0
163

The End.