1
Welcome, Guest. Please login or register.
November 21, 2008, 10:28:44 PM
Home Help Search Login Register
News: iJoomla Ad Agency for Joomla 1.5 is here!

+  iJoomla Forum
|-+  iJoomla News Portal
| |-+  Support Questions
| | |-+  How to apply border for the whole Zone?
« previous next »
Pages: [1] Print
Author Topic: How to apply border for the whole Zone?  (Read 936 times)
leon99
customers
Newbie
*
Posts: 11


View Profile Email
« on: January 30, 2008, 10:52:20 AM »

Hi! I'd like to apply a border on 'Most popular' zone.
When I go to iJoomla News Portal/Settings/Zones/General, and set the Border, it is being applied to every individual bulleted news within the 'Most popular' zone, but not as a border for the whole zone.
I just checked and this is the case for all other zones ('Top stories', 'More news'...).
This is really confusing: General zone setting should apply to the *zone*, not to the individual message within the zone.
Is there a way to set the border of the *zone*?
Thanks!
Logged
smoothdude11
customers
Full Member
*
Posts: 111



View Profile WWW Email
« Reply #1 on: January 31, 2008, 05:38:47 AM »

all you have to do is change the margin to zero in the general tab.
Logged

www.nintendofanalliance.com  videogames are fun!!
RicardoCorai
customers
Hero Member
*
Posts: 2264


View Profile WWW
« Reply #2 on: January 31, 2008, 11:07:19 AM »

Try with this:
Code:
<table style="border-collapse: separate;" cellspacing="5" cellpadding="0" border="0"><tbody><tr valign="top"><td colspan="2">{module_position2}</td></tr><tr valign="top"><td colspan="2">{date_time} </td></tr><tr valign="top"><td width="48%">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td>{top} </td></tr><tr><td height="20">&nbsp;</td></tr><tr><td> {more news}</td></tr><tr><td>{module_position1}</td></tr></tbody></table><br />
<br />
</td><td width="52%"> {leading} <div style="border:1px solid #a0a0a0;">{most popular}</div><br />
<br />
</td></tr><tr valign="top"><td colspan="2">{module_position3}{featured sections} </td></tr></tbody></table>
Best regards,
Logged

Ricardo Corai
Moderator
www.planetacms.com
leon99
customers
Newbie
*
Posts: 11


View Profile Email
« Reply #3 on: February 01, 2008, 06:45:46 AM »

Hi!
Thanks for the suggestions. I have tried 'smoothdude11' method:
Quote
all you have to do is change the margin to zero in the general tab.
but all I got was the borders of every individual topic within zone, not the whole zone border.
So instead I modified 'RicardoCorai' method, and in effect I got the border of the zone. I have now:

Code:
<table border="0" cellspacing="5" cellpadding="0" width="633" height="207" style="border-collapse: separate">
<tbody> <tr><td colspan="2">{date_time}<br />{top}</td></tr>
<tr valign="top"><td width="48%">{leading}<br />{module_position2}<br /></td><td width="52%" align="left">{more news}<br />
  <table border="1" cellspacing="10" cellpadding="10" style="border-collapse: collapse" bordercolor="#cccccc"><tbody>
<tr valign="top"><td>     {most popular}<br /><br />  </td></tr></tbody></table>    </td></tr>
 <tr valign="top"> <td colspan="2">{module_position3} </td> </tr>
 <tr><td colspan="2">&nbsp;</td></tr>
<tr valign="top">   <td colspan="2">{featured categories}</td> </tr>
<tr><td colspan="2">&nbsp;</td></tr></tbody></table>

Thanks!

Logged
smoothdude11
customers
Full Member
*
Posts: 111



View Profile WWW Email
« Reply #4 on: February 01, 2008, 04:11:49 PM »

You have to turn off the border if you use my method.  The other way is better if you want a border.  Just change the background color and turn off the border.  However, did you want to keep the border?
Logged

www.nintendofanalliance.com  videogames are fun!!
leon99
customers
Newbie
*
Posts: 11


View Profile Email
« Reply #5 on: February 03, 2008, 02:54:13 PM »

Quote
You have to turn off the border if you use my method.  The other way is better if you want a border.  Just change the background color and turn off the border.  However, did you want to keep the border?
I'd prefer to have a border around the whole Zone, including the Zone's Name, so I use a code in a template.
Your method is fine for highlighting the text within the Zone.
Thanks for the hint which might work in some other projects!
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Theme Globe by Eponnox