6,557 Topics

Member Avatar for
Member Avatar for serkan sendur
Member Avatar for Kelicula

[B]Situation:[/B] Ever wanted to get the size of an image? Possibly to determine new height and width dimensions that DO NOT distort the proportion. Well I have, and I overcame the math like so. [B]Solution:[/B] First you must decide on an image width. The subroutine returns the proportional height equivalent. …

Member Avatar for Kelicula
0
164
Member Avatar for toraj58

Although most people speak of HTML code, the fact is that if you write good HTML code, you’re actually writing XHTML. XHTML is a set of rules that, if you follow them when you write HTML code, result in code that is more standards-compliant, and hence more likely to render …

Member Avatar for sagorcse
0
181
Member Avatar for scrypt3r
Member Avatar for ShawnCplus

This is a recursive function I made to draw purely CSS bar graphs. You pass it an array of data and the total amount, example: [code=php]$someData = array('Oranges'=>4, 'Apples'=>10); $total = 14; echo drawCSSGraph($someData, $total);[/code] Also, you can pass it options in the form of an array or as space …

Member Avatar for ShawnCplus
-1
142
Member Avatar for Shaffer

This function distributes mail to a mailing list, out of an array. Wether the array is plundered from a database, a file, or from the code, the function only takes a prepared one. Also, this function is only good for HTML messages. The array's syntax is to be: [code] array("recipent's …

Member Avatar for sonny.scroggin
0
141
Member Avatar for vegaseat

This small snippet shows how to load and display HTML (Hyper Text Markup Language) with wxPython's HtmlWindow(). This could be particularly useful with instruction and help text. HTML allows you to include pictures, fancy fonts and links.

0
1K
Member Avatar for vegaseat

New to me, but MS InternetExplorer does have COM support you can access from basic code. I had to test this out and make it work. We are using BCX basic, one of the successors to Qbasic.

0
188
Member Avatar for 1o0oBhP

Without using cascading style sheets or more complicated methods it is easy to introduce coloured text into your HTML sites/documents. This is done by using the <font> tag and its options. In addition to this the <font> tag is more backwards-compatible than most other style commands. The way to do …

Member Avatar for mmiikkee12
0
356
Member Avatar for leegeorg07

hi, i have been working on a log with my friend and we want it to look like the attachment, i currently have a basic css part and html: [code=css] #index_blog{ float:left; } [/code] and html: [code=html] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> …

Member Avatar for leegeorg07
0
109
Member Avatar for Heidegger

I'm a beginner at web design, so my webpage is not that great. I use notepad to edit my HTML and IE7 to display my webpage. I tried to put in CSS in my webpage to make purple letters and a yellow background, but it never works. I had to …

Member Avatar for Heidegger
0
194
Member Avatar for sam023

i was wondering how to how seprate php from html while fetching rows from database.. . . [code] <?while($row=mysql_fetch_array($result)) {?> <td><?$row['firstname']?></td> <td><?$row['lastname']?></td> <?}?> [/code] can i separate php and html in above case.>? . . thank u

Member Avatar for somedude3488
0
95
Member Avatar for mahela007

I'm trying to learn the very basics of HTML parsing in python. Through these forums I learned what a parser is. [I] " Parsing often means "perform syntax analysis" on a program or a text. It means check if a text obeys given grammar rules and extract the corresponding information. …

Member Avatar for mahela007
0
122
Member Avatar for cooterbrown

Hi, I have a calculating order form, which is at [url]http://www.bcdcoatings.com/orderform.htm[/url] which I partially inherited. The problem is that the second drop down "select item" was added, and is not part of the calculation, in order to get needed information to an html template for emailing the order information. Right …

Member Avatar for cooterbrown
0
107
Member Avatar for icu222much

I have a graphical website where the content will be displayed using Flash and will be placed on the center of the screen. On either side, I will have some trees and above I'll have some clouds floating from the right to the left. I am wondering if this can …

Member Avatar for codejoust
0
196
Member Avatar for somerandomuser

hi can somebody make for me CSS code of any abstract image for blog heather. code must be compatible with Smarty and LifeType if you do so, please publish that code here and precious instruction where to copy that code in blog settings. I desperately want to publish a blog …

Member Avatar for codejoust
0
91
Member Avatar for maddogmain

This may be out of place but I'm about to give up on this non-paid task. The company I work for has a news website, that's so cluttered and the IT folks are so out of touch, that our locally produced news is not indexed by Google...or anyone else. My …

Member Avatar for almostbob
0
101
Member Avatar for becraig

I am trying to change the display for some elements in an iframe eg: the iframe has the following link <a href="" onclick="window.parent.document.getElementById('element').style.display = 'none'"> however it does not seem to be working, I am trying to figure out is there a way to do this.

Member Avatar for Troy III
0
80
Member Avatar for scarypajamas

Oh, so I know you can include html files inside html files using: [CODE]<!--#include virtual="myfile.html" -->[/CODE] The problem is, I might want to change the html I include based upon variables passed between web pages. For example... [CODE] <script type="text/javascript"> var name = getValue("myValue"); //getValue returns the value of a …

Member Avatar for Thirusha
0
173
Member Avatar for kilahcup

Is there a CSS methodology that makes a particular color transparent? And if there is, will it work on images? For example, let's say I want to make all the white in a cell or a div transparent, as well as the white bits of an image contained in said …

Member Avatar for Troy III
0
84
Member Avatar for goodtaste

Hi Everyone! I'm looking for a sign-up HTML code. I used to have one but I lost it when I changed computers. I would greatly appreciate it if anyone here could point me to a place where I could get one for FREE (no memberiship sigh-up in WUFOO, please). Thank …

Member Avatar for goodtaste
0
130
Member Avatar for feoperro

Hi, I'm trying to set table cells according to co-ordinates [x][y] - does anyone know if this is possible? Here's what I've done so far: [CODE] <html> <head> <title> Trial & Error - Table Cells </title> </head> <body> <script type="text/javascript"> function getRow(t) { var col=t.cellIndex; //Gets column number clicked on. …

Member Avatar for feoperro
0
254
Member Avatar for daved83

Hi everyone, I hae created a dropdown menu using ajax where each option is populated dynamically based on the previous choice. It works great on Firefox thanks to help I got on this forum. It doesn't work on IE however. I believe this is because IE doesn't recognise the innerHTML …

Member Avatar for Troy III
0
101
Member Avatar for trtcom1

Hi there, I have 3 tables: Student ([B]studentNum,firstName,lastName,CourseName)[/B], course ([B]courseID,courseTotalCapacity[/B]), course_allocation ([B]studentNum,courseID[/B]). I have 3 courses, MATHS=101,BIOLOGY=102,CHEMISTRY=103. My form has the following: [CODE=html]<SELECT NAME="CourseName"> <OPTION VALUE="MATHS">MATHS</OPTION> <OPTION VALUE="BIOLOGY">BIOLOGY</OPTION> <OPTION VALUE="CHEMISTRY">CHEMISTRY</OPTION> </SELECT></td></tr> <SELECT NAME="courseID"> <OPTION VALUE="101">MATHS=101</OPTION> <OPTION VALUE="102">BIOLOGY=102</OPTION> <OPTION VALUE="103">CHEMISTRY=103</OPTION> </SELECT> [/CODE] I would like to have some kind of a …

Member Avatar for trtcom1
0
129
Member Avatar for leviathan185

Hi, I seen an IDE a while ago that stated that you do not need to install or require Admin Priviliges to use on any PC. I can no longer find it. Does anyone know of such an IDE?

Member Avatar for leviathan185
0
244
Member Avatar for rayhova

First off I want to apologize for any confusion as I'm not a programmer, so what I say, and am trying to convey, may come across as backwards or excessive. So I apologize for my ignorance. Somehow though, I manage to lumber my way through these scripts.. lol PHP Code …

0
82
Member Avatar for HughLa

I want to make my website layout/elements not jumble up when i use ctrl+mouse scroll. When I zoom into my pages at the moment the elements meld into each other and I don't know how to make it like all the other websites that remain the same regardless of how …

Member Avatar for MidiMagic
0
66
Member Avatar for Alexancho

I am creating website using CSS. It must be something like this: [url]http://webdesign-gold.awardspace.biz/model_1.html[/url] A picture of a header(fuchsia) is made from many small fragments. The same with a navigation bar(green). To perform this task i used absolute positioning for these fragments. So, actually i need everything in this website to …

Member Avatar for MidiMagic
0
131
Member Avatar for xylude

I am working on a website ([url]http://www.jasonacrider.com/meisseTest/cypress/index.html[/url]) and it looks right in Firefox (of course) but IE doesn't want to let the DIV's overlap the way I want them to - it just keeps pushing it under the floating div on the right and centering it. Can anyone check out …

Member Avatar for Troy III
0
130
Member Avatar for nigelburrell

I'm trying to use DIVs contained within a DIV to show content which is centered horizontally on the page, as per this example. +=========== DIV 1 ===========+ +------+=====+=====+=====+-------+ +------+ DIV 2 + DIV 2 + DIV 2 +--------+ +------+=====+=====+=====+-------+ +==========================+ Here's the CSS and HTML code I'm using: CSS [CODE] …

Member Avatar for Troy III
0
484

The End.