vinpkl
-
Posts
448 -
Joined
-
Last visited
Posts posted by vinpkl
-
-
can you post an online link to the page.
or post your full page code, full html.
vineet
-
if i copy and paste your code in my php file then it works fine in IE7 AND FIREFOX 3.5.
which version r u testing.
Vineet
-
are you using a proper DOCTYPE.
also can you post a link to page.
vineet
-
good to know that it worked for you
vineet
-
if you want to get a line break on hitting enter key, then you can use
<?php echo nl2br("$textarea"); ?> http://php.net/manual/en/function.nl2br.php vineet
-
your <form> action is incorrect.
replace
<form action="<?=$PHP_SELF?>" method="post" name="search" class="style1">
with
<form action="<?php echo $PHP_SELF;?>" method="post" name="search" class="style1">
vineet
-
if you need linebreak after certain number of character then you need to use javascript while displaying your textarea content.
vineet
-
if you want your inputs aligned then you need to use <label>.
see the below link
http://www.cssdrive.com/index.php/examples/exampleitem/tableless_forms/
vineet
-
I need the text to touch not the background (already have it touching)
in that case you will have to give width to each <li> individually
<li style="width:15%">link first</li> <li style="width:10%">link last</li>
vineet
-
not quite vineet, almost
if you mean that some space is still left, then i should clear you that you cannot get your text to 100% touch the boundries.
coz if my <li> width is 200px and i write
<li>hello</li>
then everytime there will be space left in inside of <li>.
if you want to touch it from left to right then give it background color or show me online link.
if background color is touching the boundries then its fine otherwise there may be some other issue.
show an online link.
vineet
-
-
replace this
ul.dropdown ul { list-style: none; margin: 0; padding: 0; color: #660000; width:19.9%; display:block; } #nav{ width:100%; }
vineet
-
you are welcome
vineet
-
<!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=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> a.lk{ background-image:url(images/first_image.gif); background-repeat:no-repeat; display:block; } a.lk:hover{ background-image:url(images/second_image.gif); background-repeat:no-repeat; display:block; } </style> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><a href="#" class="lk">link1</a></td> <td><a href="#" class="lk">link2</a></td> </tr> </table> </body> </html>
vineet
-
what ever your code echoes
<?php $name = 'vineet'; echo $name; ?>
from the above code the visitor will just see "hello" nothing else. he will not able to see your variables name.
no php code is visible to visitor. what ever your php outputs as html only that is visible.
and javascript is visible.
vineet
-
try this
<?php $date1 = gmdate("Y-m-d H:i:s", mktime(gmdate("H"), gmdate("i")-60, gmdate("s"), gmdate("m"), gmdate("d"), gmdate("Y"))); echo $date1; ?>
vineet
-
the visitor will see only the html part that php file will output.
he cannot see your php code or download your php file.
vineet
-
see this example for reference
http://help.veign.com/css-center-webpage.php
in the above example you can keep body margin to 0px instead of 20px;
-
-
i have attached the picture for the idea.
if you want to increase the size then you can do it in photoshop.
vineet
[attachment deleted by admin]
-
hover property doesnt works in ie6 for input butons.
rest all latest browsers support it.
vineet
-
<input type="submit" value="Submit" class="button" />
write value="" instead of value="submit".
<input type="submit" value="" class="button" />
vineet
-
-
for multilanguage website use UTF-8 configuration
vineet
Float And Display with Firefox
in CSS Help
Posted
hi
the problem is you are using wrong comment tags for html.
replace
with
and do it with all row coments tags. it will work fine in all browsers.
vineet