Log in Register FAQ Memberlist Search Welcome to RCF Forum Index
alt : test.swf
Welcome to RCF
4fx3.gif 
Contact the Webmasters of RCFContact   Invite a friend to Join usRecommend   Chat in IRCChat   EZ Template Change OptionEZStyle   Listen to Internet Radio while you browse...iRadio   See your private message.Login for PMs   Important LinksLinks
Member Website LinksWeb Links   Play/View our GamesGames   Register.Register
calendar_open_closeCalendar 
<div> Question
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
<div> Question
PostPosted: 07/06/2008 9:57 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 6:01 PM
greatbrE.gif
I'm doing a directory as part of my ticker site.

The template I'm using has a section for adsense adverts but I want to use it to advertise sites from my topsites.

If I add the code for the topsite banners they show as really tiny and squished. I took out the < div id="homex" > bit and they show up as normal but then I lose the purple headings. I can't figure it out  Brick wall

Any ideas?? I have brain ache!  flower

Here's my url www.tickerplayground.com/directorynew

Here's the code in that file

Code:
<div id="homex">

<div class="top">
   <div class="topleft"><div class="topright">
   <div class="toptxt">Parenting Topsites Featured Sites</div>
   </div></div>
</div>

   <div class="content"><div class="contentfooter" style="text-align:center;">

<tr>
   <td>
      
<center><b><font color="#B80909" size="2" ><center>Last Month's Winning Site ~ Congratulations!</center></font>
</td>
</table>
<br><center><a href="http://mommysbreakroom.com/index.php" target="blank"><img src="http://i36.photobucket.com/albums/e8/princessk316/Siggies%20and%2 0Blinkies/pmb.gif" border="0"  /></center>
<br>
<br>
<br>


      <b><font color="#B80909" size="2" ><center>Featured Topsite ~ Check them out!</center></font>
</td>
</table>

<br><center><a href="http://www.chatterscene.com/csboards/" target="blank" ><img src="http://i173.photobucket.com/albums/w76/unicorn2433/chatterbanner. gif" border="0"/></center>
<br>
</center>
   </td>
</tr>


   </div></div>




<div class="top">
   <div class="topleft"><div class="topright">
   <div class="toptxt">Latest Featured Links</div>
   </div></div>
</div>
   <div class="content"><div class="contentfooter" style="text-align:center;">

{foreach from=$latest_feat item=link name=links}
<div class="block">
<a href="{if !$smarty.const.ENABLE_REWRITE}
                                                {$smarty.const.DOC_ROOT}/detail.php?id={$link.ID}
                                             {else}
                                                {$smarty.const.DOC_ROOT}/detail/link-{$link.ID}.html{/if}" title="{l}Read more about{/l}: {$link.TITLE|escape|trim}"><img src="http://open.thumbshots.org/image.pxf?url={$link.URL|escape}" alt="" /></a>


<br />
   <div class="l"><a href="{$link.URL|escape}">{$link.TITLE|escape}</a></div>
</div>
{/foreach}

   <div class="clear"></div>

   </div></div>

</div>
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: <div> Question
PostPosted: 07/07/2008 2:58 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:01 PM
Location: St Pete, FL
peace.gif
The div tag holds the key to what you need to do.  The id homex is a class that is probably defined in a css file.  This class defines what the look should be, so if you want to change the way something looks, you would adjust the settings for the class wherever it is defined...

Does that make any sense to you?  If you can find the declaration of the homex class, I might be able to help you adjust the settings to work better on your site...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: <div> Question
PostPosted: 07/07/2008 5:06 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 6:01 PM
greatbrE.gif
Ahh yes I think I understand what you mean!  I'm just off to bed now so will look tomorrow and see how I get on - thank you! headbang
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: <div> Question
PostPosted: 07/09/2008 4:43 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 6:01 PM
greatbrE.gif
I did it - thank you!  I took out the
Code:
#homex img {
values for height and width as the banners I want to display will be different sizes.

headbang

Thanks NR  Applause
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: <div> Question
PostPosted: 07/09/2008 9:06 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:01 PM
Location: St Pete, FL
peace.gif
Great!!!  I'm glad that my explanation made sense to you.  Working with classes can be very confusing to a great many people.  The use of div tags can add to that confusion...

Applause  Applause  Applause  Applause  Applause
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: <div> Question
PostPosted: 07/10/2008 10:39 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 6:01 PM
greatbrE.gif
prayer Good teacher as always!
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: <div> Question
PostPosted: 07/10/2008 12:44 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:01 PM
Location: St Pete, FL
peace.gif
Good students can certainly make a teacher look good too!!!

Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  

Get IX Get IX
  Prices Based on 24 Month Billing Cycle  

  Google

Powered by phpBB © 2001, 2005 phpBB Group
  ImageShack  
  Putfile  
  TinyURL  
  CommonDreams  
  Log in  

Page generation time: 2.6732s (PHP: 37% - SQL: 63%) - SQL queries: 52 - GZIP enabled - Debug on