SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Non-Member
    Join Date
    Apr 2007
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to create a solid line of the right?

    I'm working with a script for my website. I want to add a solid vertical line down the right side of my main page, from header to footer. Can somoen tell me how/where I can add what code to accomplish this? Thanks.

    Here is the main_page code:

    Code:
    <link href="../style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    a:link {
    	text-decoration: none;
    }
    a:visited {
    	text-decoration: none;
    }
    a:hover {
    	text-decoration: none;
    }
    a:active {
    	text-decoration: none;
    }
    -->
    </style><table width="770" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
    	<tr>
    		<td width="174" align="left"valign="top" bgcolor="#A30100">
    		<br /><a href="index.php"><font color="white"><strong>&nbsp;&nbsp;Home</strong></font></a><br /><br />
    		<A href='index.php?command=signup_page'><font color="white"><strong>&nbsp;&nbsp;Signup</strong></font></A>
    		<br /><br />
    		[member_menu]&nbsp;</td>
    		<td width="420" valign="top">[main_content]&nbsp;</td>
    		
    		<td width="174" valign="top" bgcolor="#FFFFFF" align="right">
    			
    
    
    
    <TABLE width="174" style='border:1px solid color:#A30100' cellpadding="4" cellspacing="1" >
    			<form method="POST" action="index.php">
    		<input class='field' type='hidden' name='command' value='account'>
    		<input class='field' type='hidden' name='param' value='login'>
    				<tr><td colspan='2' style='background-color:#A30100;color:white;font-size:12;font-weight:bold'>&nbsp;Login</td></td>
    
    				<TR height='4px'><td height='4px'></td></TR>
    				<tr>
    					<td style='font-size:12px' class='fieldLabel'>&nbsp;Email &nbsp;Address</td>
    					<td><input style='height:20px' class='field' type='text' size='12' maxlength="30" name='user_name' value='[user_name]'></td>	
    				</tr>
    				<tr>
    					<td style='font-size:12px'  class='fieldLabel'>&nbsp;Password&nbsp;</td>
    					<td><input style='height:20px' class='field' type='password' size='12' maxlength="30" name='password' >
    					</td></tr>
    				<TR height='1px' > 
    					<td colspan='2' class='errorMessage' align="center"><SPAN style='font-size:11px'>[login_message]</SPAN></td>
    				</TR>
    				<tr><td colspan="2" align="center"  class='hLine'><A href='index.php?command=send_pass'><SPAN style='font-size:11px;'>Forgot password?</SPAN></A>&nbsp;<br />
    					<center><input class='button' type='submit' value='Login'></center>
    					
    	
    					</td>
    				</tr>
    				
    			  </form>
    			</TABLE>
    <!--- Begin Text Under Logon Box  ----->
    
    		<br />  
    		
    <!--- End Text Under Logon Box  ----->
    		
    	</tr>
    </table>

  2. #2
    [Biped] LJK's Avatar
    Join Date
    Jun 2004
    Location
    In My Jammies
    Posts
    761
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi -
    Are you using css styles?
    table {
    border-right:1px solid #hexcol;}
    F-Fox 2.0 :: WIN :: el design :: US

  3. #3
    SitePoint Addict iwonder's Avatar
    Join Date
    Feb 2005
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    body {
    border-right:1px solid #hexcol;
    }
    would do better. In the above code, you can change the pixels(px) to the width you want.

    GFXedit DesignsFree/Custom CSS Designs & Wordpress themes
    Web 2.0 & Me | Personal Blog | IndianWebDevs | AutoPundit |

  4. #4
    SitePoint Guru Chroniclemaster1's Avatar
    Join Date
    Jun 2007
    Location
    San Diego, CA
    Posts
    784
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And if it's something in between you simply create a container tag and put the things that should have the border-right next to them inside and everything else outside.

    [] This is one of the reasons CSS is so cool, you have so many ways to manipulate it.
    Whatever you can do or dream you can, begin it.
    Boldness has genius, power and magic in it. Begin it now.

    Chroniclemaster1, Founder of Earth Chronicle
    A Growing History of our Planet, by our Planet, for our Planet.


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
  •