Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 12th, 2004, 08:23 AM
Authorized User
 
Join Date: Feb 2004
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default unusual space

Hello everone
in my home page i am using a template and also i am using a css as my styles.
i have a table with two columns and in each column i have other tables
but every time i am typing something when i want to put space between words it will put a break
some thing like this
hellohoware this line would be fine
hello how are you will be like this
hello
how
are
you
any one any idea

Best Regards,
Hamed Gholamian
 
Old August 12th, 2004, 12:05 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

("salam ghayae Gholamian")
I guess the width of your column is not wide enough although the reson of it could be everything if you put your code here I can solve your problem better...


--------------------------------------------
Mehdi.:)
 
Old August 13th, 2004, 08:03 AM
Authorized User
 
Join Date: Feb 2004
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Salam aghayeh mehdi khan
az kojaee man az uk hastam
width ra fix kardam vali moshkel in hast ke chera space ro be onvan break line migireh albateh in ro fix kardam,
i just put spacer image with the width i want and it fix it.
the thing is i am using php and in php you are better use php commands rather than html commands. With php commands it's fine


Best Regards,
Hamed Gholamian
 
Old August 13th, 2004, 10:27 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

"salam Hamed KHAN:D man aslan nafahmidam chi gofti phpcommand o badesham fix kardanesh o ...dar zemn man bacheye kafe Tehranam
alanam daram az garma talaf misham kheli inja hava kheili garm shode
hala shayad in yaroo manzoram Imar komaket kone
vali age codeto inja bezari khodam say mikonam moshkeleto hal konam rasti che khabar az uk karo kasebi oonja chetore?"

Hope you provide me more info.

--------------------------------------------
Mehdi.:)
 
Old August 13th, 2004, 10:57 AM
Authorized User
 
Join Date: Feb 2004
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

bebin emailet ro bedeh barat befrestam

Best Regards,
Hamed Gholamian
 
Old August 13th, 2004, 11:20 AM
Authorized User
 
Join Date: Feb 2004
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is my code but it is about my code can you check this please
The problem is when i am trying to add table to the content part it will not accept it and it will create mess and i i don't know where the problem is
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<br>
<br>
<table align="center" width="100%" cellspacing="0">
  <tr valign="bottom">
    <td width="195"><a href="javascript:void(0);" onClick="javascript:showContent('This is Content 1');"><b>Content
                                    1</b></a></td>
    <td width="302"><a href="javascript:void(0);" onClick="javascript:showContent('This is Content 2');"><b>Content
    2</b></a></td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2"><layer name="nsdiv" left="510" top="0" width="0" height="19" id="nsdiv"></layer>

      <div id="qiksearch_div"></div>

      <script language="JavaScript1.2">

var ie4=document.all&&navigator.userAgent.indexOf("Ope ra")==-1;
var ns6=document.getElementById&&navigator.userAgent.i ndexOf("Opera")==-1;
var ns4=document.layers;

function showContent(content)
{
 if(ie4)
 {
  showContentObj=document.all.qiksearch_div;
 }
 if(ns6)
 {
  showContentObj=document.getElementById("qiksearch_ div");
 }
 if(ie4||ns6)
 {
  if(showContentObj.innerHTML!=content)
  {
   showContentObj.innerHTML=content;
  }
  else
  {
   showContentObj.innerHTML="";
  }
 }
 if(ns4)
 {
  document.nsdiv.document.write(content);
  document.nsdiv.document.close();
 }
}

</script> </td>
  </tr>
</table>
<center>
</center>
</body>
</html>


Best Regards,
Hamed Gholamian
 
Old August 14th, 2004, 12:28 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
quote:
The problem is when i am trying to add table to the content part it will not accept it and it will create mess and i don't know where the problem is
what does it mean ,can you explain it more what do u mean from mess
,can you change your example like when it is mess.

--------------------------------------------
Mehdi.:)
 
Old August 15th, 2004, 06:39 AM
Authorized User
 
Join Date: Feb 2004
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

if ou try the code you will see in where you can put your content try to put a table and you will see what happen

Best Regards,
Hamed Gholamian





Similar Threads
Thread Thread Starter Forum Replies Last Post
space is not working.. gantait XSLT 5 February 26th, 2007 04:39 AM
unusual issue with textarea phishcoder Classic ASP Professional 3 September 6th, 2006 07:25 AM
Looks like a space but it isn't. rstelma SQL Server 2000 3 September 7th, 2005 07:17 PM
space crmpicco Javascript How-To 1 February 7th, 2005 01:26 PM
White space sundar_revathi XSLT 2 May 17th, 2004 05:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.