546 Posted Topics

Member Avatar for swornavidhya_m

No. You can't include an HTML file into another. You can use frames for multiple HTML document embeds. You can find more details here [URL="http://www.w3schools.com/html/html_frames.asp"]http://www.w3schools.com/html/html_frames.asp[/URL].

Member Avatar for Dandello
0
180
Member Avatar for kracko

[code] addPhoto.innerHTML = addPhoto.innerHTML +"<br/><input type='file' name='flImg'+ i>"; [/code] You need to insert the quote here [icode]<input type='file' name='flImg'" + i + "'>"[/icode] This one may help you. [code] function AddMore() { var i = document.frmExhbt.addN.value; var ele = document.getElementById('addPhoto'); i=parseInt(i); i++; document.frmExhbt.addN.value=i; var newFile = document.createElement('DIV'); newFile.innerHTML = '<input …

Member Avatar for kracko
0
91
Member Avatar for veledrom
Member Avatar for AMADH

Try this: [code] <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("mydb", $con); if(isset($_REQUEST['sort'])){ if($_GET['sort'] == "FNAME"){ $query = "SELECT * FROM departments LEFT JOIN (employees) ON (departments.ID=employees.DEPARTMENTID) ORDER BY FNAME"; } elseif($_GET['sort'] == "LNAME"){ $query = "SELECT * FROM departments LEFT JOIN (employees) …

Member Avatar for AMADH
0
1K
Member Avatar for PChuprina

session_start() should always stay at the first line of the others. [code] <?php session_start(); //some scripts after this line ?> [/code]

Member Avatar for PChuprina
0
359
Member Avatar for nikc121

[code] #img {background-image: url ("../images/red.jpeg/") width= "100%" length="100%"} [/code] This is not valid CSS. And '.jpeg' should be '.jpg'.

Member Avatar for JRM
0
154
Member Avatar for andrewliu

You mean 'Street' is one row and the others are another row together ? You can merge the columns. Try this: [code] <form> <table class="spon_info"> <tr> <td colspan="2"> <label for="add_street" style="font-size:12px;vertical-align:middle;padding-left:2px;">Street</label></td> <input name="add_street" type="text" style="vertical-align:middle" value="" size="35" maxlength="50"/> </td> </tr> <tr> <td> <label for="add_city" style="font-size:12px;vertical-align:middle;padding-left:2px;">City</label><input name="add_city" type="text" style="vertical-align:middle" value="" size="35" …

Member Avatar for JRM
0
150
Member Avatar for ahmedeqbal

[code] str_replace('<br />','<br>',$string); [/code] Hope this help!

Member Avatar for ahmedeqbal
0
121
Member Avatar for vexhawk

The pseudo selector can't support in IE 6 and older. Using the background image must be more flexible and comfortable. I never used the pseudo selector for styling the elements.

Member Avatar for ko ko
0
139
Member Avatar for sameeya007

[code] $query="insert into attendance values('$admission_no[$y]','$date')"; [/code] Should be: [code] $query="insert into attendance(field1, field2) values('" . $admission_no[$y] . "','" . $date . "')"; [/code] You must select the field(s) to insert the value(s). [icode]$var="variable $var"[/icode] and [icode]$var = "variable " . $var[/icode] are not same.

Member Avatar for paulrajj
0
104
Member Avatar for bsewell

It is because of your container 'height: auto'. [code] #accountContainer { position:absolute; top:2%; left:42%; width:16%; height: -px; /* Set some height here */ background-color:#CCCC33; } [/code]

Member Avatar for ko ko
0
73
Member Avatar for kishan112
Member Avatar for LogicWeb

The inline-element doesn't has the vertical margin, and the image has not vertical margin while it was not specified by the css 'display: block'. For example: 'margin-bottom: auto/ x-px' and 'margin-top: auto/ x-px' is ignore to inline elements. It may be the table cell vertical alignment. You can set the …

Member Avatar for Dandello
0
216
Member Avatar for spiderguy84

Try this: [code] body { background: #FFFFFF url('backgrounds/358.gif') scroll repeat top left; } [/code]

Member Avatar for Dandello
0
180
Member Avatar for benqus

Here is some examples. [URL="http://www.kelvinluck.com/assets/jquery/jScrollPane/examples.html"]http://www.kelvinluck.com/assets/jquery/jScrollPane/examples.html[/URL] [URL="http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html"]http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html[/URL] Hope this help!

Member Avatar for benqus
0
171
Member Avatar for fabzster

Your codes are not properly nested. Some are missing close tags. I found that 'p' has not close tag. Run your code in browser and then open the view sources, validate these codes. [URL="http://validator.w3.org"]Here is validator[/URL] And also need the DTD in your document. You can get more infos about …

Member Avatar for JRM
0
253
Member Avatar for clint6998

IE needs DTD to support auto margin. You can use these. In transitional mode: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org /TR/xhtml1/DTD/xhtml1-transitional.dtd"> [/code] In strict mode: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org /TR/xhtml1/DTD/xhtml1-strict.dtd"> [/code] In frame-set mode: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" …

Member Avatar for clint6998
0
68
Member Avatar for kracko

[code] header("Location: add.php"); [/code] I am not sure that is the one you want. Hope this help..!

Member Avatar for kracko
0
195
Member Avatar for harsh93

DIV is the block level element. Block level can include both block level (such as heading, paragraph, list, table) and inline level elements (such as span, anchor, image), but inline cannot include block element. Here is some example: [code] This is available. <div> <div></div> <p></p> </div> [/code] [code] This is …

Member Avatar for ko ko
0
2K
Member Avatar for harsh93
Member Avatar for ko ko
0
64
Member Avatar for gssmithers

[code] #content { background-position: 190px 0px; background-attachment: fixed; } [/code] Hope this help!

Member Avatar for ko ko
0
84
Member Avatar for dennishall

Your code was wrong. Should be [code] <!--[if gte IE 5.5]> <link rel="stylesheet" type="text/css" href="standard.css" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="ie7.css" /> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" type="text/css" href="standard.css" /> <![endif]--> [/code] It should be work. Good luck..

Member Avatar for dennishall
0
114
Member Avatar for drfarzad

Use 'text-align' property for your sub-menu. It would like: [code] ul ul li a { text-align: left; } [/code] Hope this help!

Member Avatar for macgurl70
0
77
Member Avatar for levsha

Use 'class' or 'id' instead of 'attribute' (input[type]). This may ignore in some of IE version.

Member Avatar for levsha
0
388
Member Avatar for rawrjoeynashomg

Try this.. [code] .menu .sub li a { text-align: left; } [/code] Hope this help!

Member Avatar for ko ko
0
50
Member Avatar for reibi

Simply way for one DIV inside another DIV. [code] <div class="div1"> <div class="div1-1"> <div class="div1-2"> </div> </div> </div> [/code]

Member Avatar for Dandello
0
149
Member Avatar for ppetree

[code] <td class='td_stars'><ul id='total' class='rating ninestar'></td> [/code] There is no closing for the 'ul', and validation failed. [URL="http://validator.w3.org/"]http://validator.w3.org/[/URL], validate here. '<br>' doesn't allowed in XHTML. You should use '<br />'.

Member Avatar for ppetree
0
97
Member Avatar for mgn2683

May be not had the enough space for the right. The maximum width of the two columns must be their parent's width, and if there was also margin or padding, they can increase spaces between the two columns. Check these and try again.

Member Avatar for mgn2683
0
128
Member Avatar for drewpark88

Here: [code] #mainnav ul { float: left; overflow: hidden; margin-left: 140px; margin-bottom: 0; border: 1px solid blue; } [/code] Add 'margin-bottom: 0' to 'ul' which is inside of 'mainnav' div.

Member Avatar for drewpark88
0
127
Member Avatar for abdulraqeeb33

I don't know exactly what your problem is. But your code was not valid. [code] [COLOR="Red"]<link></link>[/COLOR] [COLOR="Red"]<img></img> <br></br> <hr></hr>[/COLOR] [/code] From above, they are non-close tags. You must use [code] <link /> <img /> <br /> <hr /> [/code] The input tag has no close tag too. Fix these and …

Member Avatar for Netprof
0
397
Member Avatar for dylank

[code] div#div1-b { position:absolute; top:0px; right:0px; width:75%; height:200px; } [/code] Remove 'height: 200px' with 'height: auto'. Or use 'overflow' property to control the overflow contents. [code] div#div1-b { /* This declaration hide the overflow contents */ overflow: hidden; /* This declaration show the overflow contents */ overflow: visible; /* This …

Member Avatar for dylank
0
99
Member Avatar for rameshdaniweb
Member Avatar for Argo54325

Use auto margin to center the div tag. [code] div { margin: 0 auto; width: 650px; } [/code] I have no idea to stay exactly center at vertical alignment. Note that auto margin need static width.

Member Avatar for MJ Pieterse
0
120
Member Avatar for sufax

You can also use span tags and class for the multiple font colors. Here: [code] <th> Address<br/> <span class="green">North</span>&nbsp;&nbsp;&nbsp; <span class="red">South</span>&nbsp;&nbsp;&nbsp; <span class="blue">West</span> </th> [/code] CSS: [code] .green { color: green; } .blue { color: blue; } .red { color: red; } [/code]

Member Avatar for sufax
0
1K
Member Avatar for craigaw

The 'response redirect' can help you. [code] <% response.redirect('contact.html') %> [/code] When you submit the form and it will process in 'asp' file and then, redirect to the 'contact.html'. It make the browser refresh and all fields are clear.

Member Avatar for craigaw
0
94
Member Avatar for suncica2222
Member Avatar for nizuya

You are wrong with id and class. Your div used 'id', not 'class'. So CSS should be: [code] #main { } [/code] id and class are not the same. id start with '#', class start with '.'

Member Avatar for vsmash
0
98
Member Avatar for kooia
Member Avatar for kooia
0
2K
Member Avatar for MandaloreFett7
Member Avatar for ko ko
0
272
Member Avatar for hisabness

Your function return value, not echo value. You need to echo the value. Example: [code] include_once('renderIndexer.php'); echo renderIndex(); [/code]

Member Avatar for hisabness
0
1K
Member Avatar for StickerAA

I checked your code and it is fine with both. Did you validate your HTML? If not, validate your HTML first, and try again.

Member Avatar for StickerAA
0
62
Member Avatar for StickerAA

[code] #ao_nav li#first{ display:inline; margin:3px 0 0 10px; position:relative; float:left; height: 20px; color: white; font-size: 9pt; font-weight:bold; } #ao_nav li#contrast{ display:inline; margin:3px 0 0 10px; position:relative; float:left; height: 20px; color: white; font-size: 9pt; font-weight:bold; } #ao_nav li{ display:inline; margin:0 0 0 12px; position:relative; float:left; text-align:bottom; height: 20px; } [/code] '#ao_nav …

Member Avatar for StickerAA
0
133
Member Avatar for softheart

Add 'class' or 'id' for this anchor. [code] <?php if(isset($user) && (isset($pass)) { //whatever u want for this echo "<td><a href='www.something.com/file.htm' class='memberlink'>Click</a><td>"; } else { echo "<td>Click</td>"; } ?> [/code] And you can change in css: [code] a.memberlink { } [/code] Good luck.

Member Avatar for surenkumar
0
3K
Member Avatar for niths

Remove single quote from the red color text. [code] $sql = "SELECT count(*) as count FROM Users WHERE username = '$username' and [COLOR="Red"]`password`[/COLOR] = '$password'"; [/code]

Member Avatar for ko ko
0
107
Member Avatar for spectacularbob
Member Avatar for emhmk1

Write the variable outside from the string. Example: [code] echo "<a class=\"pglink\" href=\"news.php?p=" . $i . "\">" . $i . "</a>&nbsp;&nbsp"; [/code] This may be help you.

Member Avatar for ko ko
0
93
Member Avatar for ryy705

Float these images. [code] img { float: left } [/code] Notice that float makes browser debug. But it should work.

Member Avatar for almostbob
0
105
Member Avatar for codecat

Try with 'area shap: circle' instead of 'rectangle'. You can find the coordinate with photoshop more exactly.

Member Avatar for codecat
0
4K
Member Avatar for avinash_545

[URL="http://www.free-css.com/free-css-menus/page1.php"]http://www.free-css.com/free-css-menus/page1.php[/URL] Here is free css meus. You can learn easily and download free.

Member Avatar for avinash_545
0
77
Member Avatar for rhirde

[code] <a href="your_image.jpg" alt="" title="change photo"><img src="your_image.jpg" /></a> [/code] It is what you want.

Member Avatar for Boroimhe
0
95

The End.