SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2008
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    everything appears bolded

    I created my web page in dreamweaver,suprising thing is that everything i write appears bolded.
    i checked well and discovered this code at the top of my page is causing the problem,which is been inserted by Dreamweaver its self when i started my page.
    So i dont know what is the importance of the code or should i just remove it,or it has a specific meaning.
    what should i do to unbold the fonts.
    here is the code causing the problem;
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    please help!!!i need your suggestion.

  2. #2
    SitePoint Wizard triexa's Avatar
    Join Date
    Dec 2002
    Location
    Canada
    Posts
    2,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That code is not causing your problem. You'll need to paste more/all of your code if we're going to be able to help you.
    AskItOnline.com - Need answers? Ask it online.
    Create powerful online surveys with ease in minutes!
    Sign up for your FREE account today!
    Follow us on Twitter

  3. #3
    SitePoint Enthusiast the-webber's Avatar
    Join Date
    Mar 2009
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    triexa's right. that's not causing bold. paste more of your code

  4. #4
    SitePoint Zealot
    Join Date
    Mar 2008
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here is my code.
    Code:
    <?php session_start();?>
    <!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=utf-8" />
    <link rel="stylesheet" type="text/css" href="css/styles.css" />
    <title>No body can stop you from being happy</title>
    </head>
    
    <body class="body">
    <?php
    
    if(!session_is_registered('user')){
    
    
    include"checklogin.php";
    exit();
    }
    ?>
    <table width="900" border="0" cellspacing="0" cellpadding="0" height=100% align="center" class="maintable">
    
      <tr align="left" valign="top" height="90">
        <td align="center" valign="top">
        
        
          <table width="900" border="0" cellspacing="0" cellpadding="0" height="90" >
      <tr valign="top">
        <th scope="row" align=right height="10"  background="images/toptablebg.jpg"><font color=white>blessed are all the peacemakers</font></th>
      </tr>
      <tr >
        <th height="80" align="right" valign="middle" scope="row" background="images/officiallogo.jpg"><font color=blue size=10></font> 
        <input name="search" type="text" size="30" value="search .." /> <input name="send" type="submit" value="search" />
        
         
        
        </th>
      </tr>
    </table>
    
        
       </td>
       
      
      </tr>
      <tr valign="top">
        <th scope="row">
        <table width="900" border="0" cellspacing="0" cellpadding="0"  class="menutable">
      <tr valign="middle">
        <th  scope="row"><a href="index.php">HOME</a></th>
        <td ><a href="myprofile.php">MYPROFILE</a></td>
        <td ><a href="searching.php">SEARCH</a></td>
        <td ><a href="member.php">MEMBERS</a></td>
        <td ><a href="invite.php">INVITE</a></td>
        <td ><a href="groups.php">GROUPS</a></td>
        <td ><a href="forums.php">FORUM</a></td>
        
      </tr>
    </table>
    
        
        
        
        </th>
      </tr>
      
      <tr valign="top">
        <th scope="row"><!--first column -->
        
        <table width="700" border="0" cellspacing="0" cellpadding="0"  height="100" align=center>
      <tr valign="top">
        <!-- right side tables -->
      
        <td>&nbsp;
    	<table width="700" border="0" cellspacing="0" cellpadding="0"  height="100" class="featuredtable" >
      <tr valign="to"><td align=center>
      <CENTER> <?php echo" <a href=groupcreate.php?create='create' >";?><img src="images/newgroup.jpg" border=0></a></CENTER>
    				
    				 <table width="700" border="0" cellspacing="20" cellpadding="0"  align=center>
    				 <tr><td>
    			
    				 
    				 
    	<?php			 
    				 
    		
    				 $user=$_SESSION['user'];
                      include"config.php";		 
    				  
    				  if (isset($_GET['pageno'])) {
       $pageno = $_GET['pageno'];
    } else {
       $pageno = 1;
    } // if
    $query = "SELECT count(*) FROM groups ";
    $result = mysql_query($query, $dbcnx); 
    $query_data = mysql_fetch_row($result);
    $calc=mysql_num_rows($result);
    
    
    $numrows = $query_data[0];
    $counter==0;
    	
    $rows_per_page =5;
    $lastpage      = ceil($numrows/$rows_per_page);
    
    $pageno = (int)$pageno;
    if ($pageno > $lastpage) {
       $pageno = $lastpage;
    } // if
    if ($pageno < 1) {
       $pageno = 1;
    } // if
    
    				if($counter==2) {
    				echo "<br />"; 
    				// reset the counter$counter = 0;
    				$counter = 0;
    				
    				}
    		
    $limit = 'LIMIT ' .($pageno - 1) * $rows_per_page .',' .$rows_per_page;
    $query = "SELECT * FROM groups  ORDER BY id DESC $limit";
    $result = mysql_query($query, $dbcnx); 
    $calca=mysql_num_rows($result);
    
    				 //$index="SELECT *FROM groups ";
    				 //$member=mysql_query($index);
    				while( $row=mysql_fetch_array($result)){
    				    
    				      $admin=$row['admin'];
    				       $description=$row['description'];
    					    $date=$row['date'];	
                            $dates2=date("d-m-Y", strtotime($date)); 						
    						 $photo=$row['photo'];	
    						  $group=$row['groups'];	
    						   $id=$row['id'];
                        $index="SELECT *FROM  groupmember  WHERE groupid ='$id'";
    				 $member=mysql_query($index);
    				$total= mysql_num_rows($member);   
    
    					   
    				 
    				  //  echo"$id <a href=groupview.php?groupid=$id>  $group </a>   $description  $admin</br>";
    				?> 
    				 
    				 
    <table width=700 height=40 border=0  cellpadding=5 cellspacing=2 align=center  class="featuredtable">
     <tr valign=top><td width=100 height=50 align=left rowspan=4>
     
     
    <?php if($photo){echo"<a href= groupview.php?groupid=$id><img src=groups/$photo  width=120 height=100 border=0></a>";
    					  }
    					  else{
    					  echo"<a href= groupview.php?groupid=$id><img src=groups/nophoto.gif width=120 height=100 border=0></a>";
    					  
    					  }
    					  ?>
     
     </td>
    </tr>
     <tr><td width=100 align=right>Group:</td><td align=left><font color=blue><a href=<?php echo "groupview.php?groupid=$id"; ?>><?php echo$group?></a></font></td><td align=right><NOBR><?php echo"<a href=groupview.php?groupid=$id>";?>Open Group</a></NOBR></td></tr>
      
       <tr><td width=100 align=right> Members:</td><td align=left><font color=blue><?php 
       
       
       
       
       echo"$total"?></font></td><td align=right><NOBR><?php echo"<a href=groupsend.php?groupnumber=$id>";?> Join Group</a></NOBR></td></tr>
        <tr><td width=100 align=right>Created: </td><td colspan=2 align=left><font color=blue><?php echo$dates2?></font></td></tr>
        
    
    
    </table>
    				 
    				 
    				 
    				 
    				 
    				 
    				 
    				 
    				 
    				 
    				 
    				 
    				 
    				 
    			<?php	 
    			
    			
    				$counter++;
    				 }
    				 
    				 ?>
    				 
    			<?php	 
    				 
    				 
    if ($pageno == 1) {
       //echo " FIRST PREV ";
    } else {
       echo"<center>";
      //echo"<a href='{$_SERVER['PHP_SELF']}?pageno=1'>FIRST</a> ";
       $prevpage = $pageno-1;
      // echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$prevpage'>PREV</a> ";
    } // if
    
    //echo " <aling=center>( Page $pageno of $lastpage ) </align>";
    
    if ($pageno == $lastpage) {
       //echo " NEXT LAST ";
    } else {
       $nextpage = $pageno+1;
      // echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$nextpage'>NEXT</a> ";
      // echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$lastpage'>LAST</a> ";
       echo "</center>";
       
       
    } // if
    
       ?>
       
         <?php
    			   if($numrows>4){
    			   ?>
    			   
    			   
    			   <table width=100% border=0 class="smslink">
    			   <tr align=center><td><?php  echo"<a href='{$_SERVER['PHP_SELF']}?pageno=1'>FIRST</a> ";
      echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$prevpage'>PREV</a> ";
    			   ?></td>
    			   <td><?php echo " <aling=center>( Page $pageno of $lastpage ) </align>"; ?></td><td>
    			   <?php
    			   echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$nextpage'>NEXT</a> ";
       echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$lastpage'>LAST</a> ";
    			   
    			  ?> </td></tr>
    			   </table>
    			   
    			   <?php	
    			   }
    			   ?>
    			   
    			   
    			   </td></tr>
                   </table>
       
       
       
       
    			   
    			   
    				 
    				 
    				 </td></tr>
    				 </table>
      
      
      
      </td></tr>
      </table>
    	
        
        
        
        
        
        
        </td>
      </tr>
    </table>
    
    
        
        </th>
      </tr>
     
      <tr valign="top" align=center>
      
        <th scope="row"  valign="top">
        
        
        <table width="900" border="0" cellspacing="0" cellpadding="0" align=center>
      <tr>
        <th scope="col" valign="top">&nbsp;
        
        
        <table width="600" border="0" cellspacing="0" cellpadding="0" align=center>
      <tr>
        <th scope="col" style="border-width:1; color: #5F9EA0; border-style: solid"><a href=policy.php>Privacy</a></th>
        <th scope="col" style="border-width:1; color: #5F9EA0; border-style: solid"><a href=desin.php>designer</a></th>
        <th scope="col" style="border-width:1; color: #5F9EA0; border-style: solid"><a href=contactus.php>Contact us</a></th>
        <th scope="col" style="border-width:1; color: #5F9EA0; border-style: solid"><a href=terms.php>Terms of service</a></th>
       <th scope="col" style="border-width:1; color: #5F9EA0; border-style: solid">copyright &copy;2008</th>
      </tr>
    </table>
    
        
        
        </th>
      </tr>
      <tr>
        <td background="images/toptablebg.jpg">&nbsp;</td>
      </tr>
    </table>
    
    
        
        
        
        
        
        
        
        </th>
      </tr>
      
    </table>
    
    
    
    
    </body>
    </html>

  5. #5
    SitePoint Wizard triexa's Avatar
    Join Date
    Dec 2002
    Location
    Canada
    Posts
    2,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There isn't a single "bold" thing in there. What's your stylesheet?
    AskItOnline.com - Need answers? Ask it online.
    Create powerful online surveys with ease in minutes!
    Sign up for your FREE account today!
    Follow us on Twitter

  6. #6
    SitePoint Zealot
    Join Date
    Mar 2008
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is my stylesheet.All of them even for other pages which also appears bolded.
    Code:
    .body{
    background-image:url(bg_image.jpg);
    background-repeat: repeat;
    font-size: 12px;
    font-family: Arial,Times New Roman, Sans-Serif;
    }
    
    .body a:link{color:#0000FF; text-decoration:none;}
    .body a:visited{color:#0000FF; text-decoration:none;}
    .body a:hover{background-color:none;color:none; text-decoration:underline;}
    .maintable{
    background-color:#ffffff;
    border-style: solid; 
    border-color:#8DCFF4;
     border-width:1px;
    
    }
    .logintable{
    border-style: solid; 
    border-color:#8DCFF4;
     
     border-width:0px 1px 1px 1px;
    
    
    
    }
    
    .menutable{
    border-style: solid; 
    border-color:none;
    border-width:1px;
    padding:0px;
    margin:0;
    width:900px;
    }
    
     .menutable a{
    display : block;
    padding : 5px;
    border : 1px solid #666;
    background-color : #959595;
    text-align:center;
    width:116px;
    
    
    }
    .menutable a:link{color:white; text-decoration:none;}
    .menutable a:visited{color:white; text-decoration:none;
    }
    .menutable a:hover{background-color:#00AEED;color:#FFFFFF;
    
    }
    .featuredtable
    {
    border-style:solid; 
    border-color:#8DCFF4;
    border-width:1px;
    }
    
    .showingfaces
    {
    border-style:solid; 
    border-color:#8DCFF4;
    
    border-width:1px;
    }
    
    
    .sorround
    {
    border-style:solid; 
    border-right-color:;
    
    
    border-width:1px;
    }
    
    .recent
    {
    border-style:solid; 
    border-color:#8DCFF4;
    border-width:1px;
    }
    
    
    #navlist
    {
    margin-left: 50px;
    padding-left: 15;
    list-style: none;
    
    }
    
    #navlist li 
    {
    padding-left: 20px;
    list-style-image: url(arrow.png);
    vertical-align:3px; 
    list-style-position: outside;
    color:gray;
    
    /*
    background-image: url(arrow.png);
    background-repeat: no-repeat;
    background-position: 0 .5em;
    */
    }
    
    
    #reg_log
    {
    margin-left: 30px;
    padding-left:20;
    list-style: none;
    border:0;
    }
    
    #reg_log li 
    {
    padding-left: 2px;
    
    
    list-style-position: outside;
    }
    .reg_log a:link{color:black; text-decoration:none;}.reg a:visited{color:#C4C5A9; text-decoration:none;
    }
    .reg_log a:hover{background-color:none ;color:green;
    text-decoration:none;
    }
    .reg_log  a:visited{color:#C4C5A9; text-decoration:none;
    }
    
    
    #submit input
    {
    margin-left: 0em;
    
    } 
    
    input
    {
    color: #000;
    background: #ffffff;
    border: 1px outset #8DCFF4;
    
    }
    
    #submit input
    {
    color: #000;
    background: #ffffff;
    border: 1px outset blue;
    } 
    
    fieldset
    {
    border: 1px solid #781351;
    width: 50em
    }
    
    
    .mywall
    {
    border-style:dotted; 
    border-bottom-color:#8DCFF4;
    border-width:1px;
    }
    
    ul.sidemenu {
    padding:0px;
    margin:0;
    list-style:none;
    font-family:verdana,Arial,Helvetica,sans-serif;
    font-size:0.8em;
    border-bottom:1px solid #6f3e04;
    width:120px;
    background-color:#eeeedc;
    
    
    }
    ul.sidemenu  li{
    border:1px solid #6f3e04;
    
    }
    ul.sidemenu  li a{
    text-decoration:none;
    display:block;
    width:120px;
    color:#000000;
    font-weight:bold;
    padding:3px;
    
    
    }
    ul.sidemenu  li  a:link{color:#000000; text-decoration:none;}
    
    ul.sidemenu  li a:hover {
    background-color:#b9bb79;
    color:#eeeedc;
    
    
    }
    ul.sidemenu  li a:visited{color:#000000; text-decoration:none;
    }
    
    
    .smsreply
    {
    border-style:solid; 
    border-bottom-color:#8DCFF4;
    border-width:1px;
    }
    .error
    {
    border-style:solid; 
    border-color:#8B0000;
    border-width:1px;
    }
    
    .forumdisplay
    {
    border-style:solid; 
    border-color:#CCCC99;
    border-width:1px;
    }
    
    .bodyme{
    background-image:url(t.jpg);
    background-repeat: repeat;
    
    font-size: 14px;
    
    
    font-family: Arial, Verdana, Georgia, Times New Roman, Sans-Serif;
    }
    .bodyme a:link{color:#0000FF; text-decoration:none;}
    .bodyme a:visited{color:#0000FF; text-decoration:none;}
    .bodyme a:hover{background-color:none;color:none; text-decoration:underline;}
     .topme{
    border-style:dotted; 
    border-color:#CCCC99;
    border-width:1px;
    }
    
    
    
    .me
    {
    background-image:url(bg_image.jpg);
    background-repeat: repeat;
    }

  7. #7
    SitePoint Wizard triexa's Avatar
    Join Date
    Dec 2002
    Location
    Canada
    Posts
    2,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Better yet, put up a page on your site where we can take a look at it first-hand.

    I don't currently have anything on my laptop right now and eyeballing the code I don't see any problem...
    AskItOnline.com - Need answers? Ask it online.
    Create powerful online surveys with ease in minutes!
    Sign up for your FREE account today!
    Follow us on Twitter

  8. #8
    SitePoint Zealot
    Join Date
    Mar 2008
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i`m working offline with wamp server.
    thats another problem.

  9. #9
    SitePoint Zealot
    Join Date
    Mar 2008
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i discovered the problem.
    it was with the <th> tags i used in my page, i changed in my stylesheet
    like this
    th{
    border-left:none;
    border-right:none;
    font-size:small;
    font-weight:normall;

    }

    Thankx for your contributions.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •