Forum: PHP 15 Minutes Ago |
| Replies: 4 Views: 101 It is the same below.
$content = "Hello From ";
//$content has the value "Hello From" string
$content .= "My PHP Page";
//Now, $content has the value "Hello From My PHP Page" string
It... |
Forum: PHP 17 Hours Ago |
| Replies: 4 Views: 101 The error is there is no variable named content like $content. Set the $content variable. Here it is:
$i = 0;
$content;
foreach ($value as $row) {
$content .= "<option value=\"" . $i . "\" " .... |
Forum: HTML and CSS 23 Hours Ago |
| Replies: 4 Views: 149 Your theory is wrong. Left and right were 50% of width, so the total width of these two elements is the full size of the window, and there is no space for center element. The point is you need the... |
Forum: PHP 1 Day Ago |
| Replies: 4 Views: 379 It was fine. Thanks for your reply. |
Forum: HTML and CSS 1 Day Ago |
| Replies: 2 Views: 218 Your code was wrong. Should be
<!--[if gte IE 5.5]>
<link rel="stylesheet" type="text/css" href="standard.css" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css"... |
Forum: HTML and CSS 2 Days Ago |
| Replies: 4 Views: 161 Give the z-index to negative value.
z-index: -10000
Hope this help.. Why not use body or parent element background? The background you used is not a background. It's html element and not the... |
Forum: HTML and CSS 3 Days Ago |
| Replies: 1 Views: 188 Try this:
<!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>... |
Forum: HTML and CSS 6 Days Ago |
| Replies: 1 Views: 239 Post your code here. Without seeing any codes, we can't help you. |
Forum: HTML and CSS 6 Days Ago |
| Replies: 1 Views: 242 Validate your HTML. Here is XHTML 1.0 strict mode.
<!DOCTYPE html PUBLIC "-//W3C//DTD xhtml 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Put this top of your html... |
Forum: HTML and CSS 7 Days Ago |
| Replies: 3 Views: 301 The first is local, which is on your PC, and the second is the another site or absolute address of your site. I don't think the speed depend on the file location which are from the same location.... |
Forum: HTML and CSS 7 Days Ago |
| Replies: 3 Views: 268 Correct the red color code.
#body {
height:400;/* you need unit measure, only numeric value make browser confuse, add px */
width: 950px;
background-color:#FFFFFF;
}
When I corrected this,... |
Forum: HTML and CSS 7 Days Ago |
| Replies: 3 Views: 318 I don't know what do you want to center, text or element. If you want to center the text, try this:
#
ul li a {
display: block;
text-decoration: none;
color: #ffffff;
border-top: 1px solid... |
Forum: HTML and CSS 8 Days Ago |
| Replies: 1 Views: 245 You can use span tag to hold text and vertically align to it. Here is example:
<span style="vertical-align:middle">
You can also use inline, embedded, or external style to it. Good luck. |
Forum: HTML and CSS 12 Days Ago |
| Replies: 3 Views: 364 Add this to your container
#container {
padding: 20px 0 0 0px; /*You should give 'padding-top:20px' instead of this and px doesn't need after 0 value' */
width: 100%;
background-color:... |
Forum: HTML and CSS 15 Days Ago |
| Replies: 4 Views: 441 Try to group with text container like p. Fieldset is better to group form data. Here is my code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ... |
Forum: HTML and CSS 16 Days Ago |
| Replies: 4 Views: 475 Post your code here, let us see. |
Forum: HTML and CSS 16 Days Ago |
| Replies: 4 Views: 441 Is your html has doc type? And what version of IE do you use? I check your codes with IE 7 and the result is same as FF. If you didn't add doc type, you need to put it first. Here:
<!DOCTYPE html... |
Forum: HTML and CSS 16 Days Ago |
| Replies: 4 Views: 358 That is sample for your layout. You could group your banner, content body and footer with the same container. So it hold them together when the resolution increase or decrease and they will stay... |
Forum: HTML and CSS 16 Days Ago |
| Replies: 4 Views: 358 That is sample for your layout. You could group your banner, content body and footer with the same container. So it hold them together when the resolution increase or decrease and they will stay... |
Forum: HTML and CSS 17 Days Ago |
| Replies: 9 Views: 502 What is font: MyCustomFont? Wrong css.
Must be: font-family: MyCustomFont;
'font' is short hand property. You must use this for shorthand.
font: [font-weight] [font-style] [font-variant]... |
Forum: HTML and CSS 18 Days Ago |
| Replies: 4 Views: 358 How much resolution do you use for banner? It is too wide. You should base on 1024. Group with same container for your banner, body, footer, etc. I am not sure it will help, but try this one.
... |
Forum: HTML and CSS 18 Days Ago |
| Replies: 2 Views: 326 What is your code? Post your code here. We don't know what the problem is without seeing some codes. Also, IE have some problems with using percentage values. |
Forum: HTML and CSS 20 Days Ago |
| Replies: 2 Views: 422 I tested with your codes, and it is fine. What is your problem? Is your css file located in the css folder? Check your file location. If the html and css in the same root, create a folder named css... |
Forum: HTML and CSS 21 Days Ago |
| Replies: 3 Views: 396 This is because you floated the li tags from parent ul. So, it force it all child li to float. So you need to break float for the child li tag. Here
#nav ul ul li {
float: none
}
It... |
Forum: HTML and CSS 21 Days Ago |
| Replies: 3 Views: 396 IE 6 and older can't understand li:hover function. You need a script for this function. Here is js.
navHover = function() {
var lis =... |
Forum: HTML and CSS 22 Days Ago |
| Replies: 2 Views: 345 Use css. Here is example:
textarea#reply {
width: 424px;
height: 126px;
border: 1px solid gray;
overflow: auto /* Hiding scroll-bar in IE */
} |
Forum: HTML and CSS 23 Days Ago |
| Replies: 3 Views: 575 Try this:
#upperBarWrap {
margin:0;
position:fixed;
For /* IE */
left: 0;
width:100%;
} |
Forum: HTML and CSS 24 Days Ago |
| Replies: 8 Views: 327 The problem is the 'inline' property to your div. I can't explain clearly but changing block element to inline wrap some white space around them. Try to float them appear next to each.
#... |
Forum: HTML and CSS 24 Days Ago |
| Replies: 8 Views: 327 The problem is the 'inline' property to your div. I can't explain clearly but changing block element to inline wrap some white space around them. Try to float them appear next to each.
#... |
Forum: HTML and CSS 25 Days Ago |
| Replies: 8 Views: 327 Need '>' to your div open tag. And XHTML is case-sensitive and all tags and attributes must be lowercase, and non-close tags need forward slash such as 'img', 'br' or 'hr'. <IMG... |
Forum: HTML and CSS 25 Days Ago |
| Replies: 2 Views: 280 You need to hide the sub menu until hover on it's parent 'li' tags. And show when the cursor over 'li' tags. Like:
/*need hide*/
ul ul {
display: none;
position: absolute;
width: 124px;... |
Forum: HTML and CSS 26 Days Ago |
| Replies: 12 Views: 457 'margin' auto needs DOC type in IE. And what is your code. If you don't show your code, we can't find what the problem is. So, post your code. Insert the doc type in your html first. Try this:
... |
Forum: HTML and CSS 32 Days Ago |
| Replies: 3 Views: 453 The element vertical align is depended on it's height and line-height property. If height and line-height were the same, the content it would be stay vertically middle. Add line-height to your... |
Forum: HTML and CSS 33 Days Ago |
| Replies: 3 Views: 339 Let me see your file, the code can't show me completely and I can't see your image. And type attributes' values with double quotes, because you used strict mode. And the image attribute width and... |
Forum: HTML and CSS 34 Days Ago |
| Replies: 3 Views: 339 Float your images. Put your images' attributes 'width' and 'height'.
Example:
<img src='k24_ctrl.gif' width="-" height="-" class='spc'>
And css like that:
img.spc {
float: left;
... |
Forum: HTML and CSS 34 Days Ago |
| Replies: 3 Views: 270 I check your code and it is ok. Can I know what problem do you have? If you want to control the height of 'textarea', try with 'CSS', it will be more flexible and effective than HTML attribute. |
Forum: HTML and CSS Oct 27th, 2009 |
| Replies: 2 Views: 311 Check url of the file. Are 'assests' folder and the 'css' file same root? You can also write inline-style. Like:
<body style="background: url('assets\back.jpg') no-repeat top center;">
But... |
Forum: HTML and CSS Oct 26th, 2009 |
| Replies: 2 Views: 313 This is a real headache to set the marker position when we use the 'list-style-image'. The position is depends on the browser type. Use as 'background-image' is better than 'list-style-image'. The... |
Forum: HTML and CSS Oct 26th, 2009 |
| Replies: 3 Views: 371 Dear chowdarysmk, thank for reply. I correct some code in your css shown by red color, please try with these. And there is no vertical-align for block level elements. So, the vertical-align for li... |
Forum: HTML and CSS Oct 25th, 2009 |
| Replies: 1 Views: 243 Go there..
http://www.w3schools.com
http://www.smashingmagazine.com
They will teach you.. |