Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 02:04:38 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155504 Posts in 21710 Topics by 7736 Members
Latest Member: deenangle
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: a line in the middle of the page to spread the right from the left side  (Read 539 times)
Ogierini

Offline Offline

Posts: 276



WWW
« on: June 23, 2009, 01:45:04 PM »

Hi guys,

I have transformed a joomla template into wb. I think it works quite ok now, but what I would like is a line in the middle of my page to spread the right from the left side. I tried it with the css command for td
Code:
td {border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #333333;
}
but afcourse than I get a line left and right. I would like one just in the middle.....
Any Ideas?Huh

Kind regards Irene
Logged

Kind regards,Irene
BerndJM

Offline Offline

Posts: 1764



« Reply #1 on: June 23, 2009, 02:10:22 PM »

Hi,

give the td a class
Code:
<td class="left_border"> ....
and style this class in the css
Code:
.left_border {
   border-left-width: 1px;
   border-left-style: solid;
   border-left-color: #333333;
}

Regards Bernd
Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
Ogierini

Offline Offline

Posts: 276



WWW
« Reply #2 on: June 23, 2009, 07:12:39 PM »

Thanks Bernd!
It worked.
Kind regards Irene
Logged

Kind regards,Irene
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!