homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

How to add a vertical line

 3:36 pm on Jun 14, 2010 (gmt 0)

I am trying to insert a single vertical line on my PTA page separating the two columns. [removed url]

I am not very familiar with html, so I am hoping someone can give me dummy proof directions.

This is the beginning of my page....

<table cellspacing="4" cellpadding="0" style="width: 200px; height: 3983px;" class="mediumWrap">
<td class="leftMiddle"></td>
<td class="tableTemplateContent">
<div style="text-align: center;"><strong><img border="0" style="width: 308px; height: 94px;" src="/modules/groups/homepagefiles/cms/969287/Image/ovpta.gif" alt="" /></strong></div>
<div style="text-align: center;"><img border="0" style="width: 279px; height: 179px;" alt="" src="/modules/groups/homepagefiles/cms/969287/Image/MickeyMagicWelcome.gif" /></div>

Thank you so much!

[edited by: brotherhood_of_LAN at 10:33 pm (utc) on Jun 14, 2010]
[edit reason] Removed URL as per the ToS [/edit]



 4:31 pm on Jun 14, 2010 (gmt 0)

1. Welcome aboard antnicksmom . . . .

2. Links are not allowed, see #13 TOS [webmasterworld.com]

3. Something is goofy with your PHP, it has session ID in the query string twice (not a big deal, but just having a session ID in the query string will get to be one if you care about search engine indexing)

4. border-right or border-left: You have a lot of issues going on with that page but simplified, something like this would work:

.left-bordered-cell { border-left:1px solid #000; }


<td> content in a left cell</td>
<td class="left-bordered-cell"> Content in a right cell</td>


 9:33 pm on Jun 14, 2010 (gmt 0)

Oh sorry! I had just wanted to show you what I meant. Thanks for the info. I will try it and see how it goes!


 9:46 pm on Jun 14, 2010 (gmt 0)

Ok, at the risk of sounding like a complete idiot here. Where does the information go? I put it in front of everything and didn't work. Then I put it in the middle and that didn't work. Am I doing something wrong?

Or do I replace something with this new code?


 6:19 pm on Jun 15, 2010 (gmt 0)

Yeah that's kind of what I meant with

You have a lot of issues going on with that page

It may be a bit hard to find . . . put that code in a page by itself and see what it does. You should have


And note how the right-most column has the vertical border.

Now take this concept, and find out which column holds the right-most content in your page. Apply the style to that column. It's in there, somewhere, I couldn't find it in the daily time I allow for this site. :-)

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved