Author Topic: I am having trouble with the text in 4darkm.php  (Read 9980 times)

0 Members and 1 Guest are viewing this topic.

Offline einarkol

  • Newbie
  • *
  • Posts: 13
    • View Profile
I am having trouble with the text in 4darkm.php
« on: October 10, 2007, 06:28:46 PM »
Hi !
Does anyone know how to adjust the text in 4darkm.php.  I use it as a welcome text for users but I would like to
adjust the width of the text, color of the text and so on. Anyone with an idea ?
Einar :oops:

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: I am having trouble with the text in 4darkm.php
« Reply #1 on: October 10, 2007, 06:41:24 PM »
Hi,

- no url
- no 4images standart file
- no posting in a thread about this file/ template /mod

nothing... And do you thing, any one can help you?????  8O


Kurt

Offline einarkol

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: I am having trouble with the text in 4darkm.php
« Reply #2 on: October 10, 2007, 06:57:36 PM »

I am sorry. I didnīt think, obviously.

  http://www.myndaland.com

Thanks.

Einar

Hi,

- no url
- no 4images standart file
- no posting in a thread about this file/ template /mod

nothing... And do you thing, any one can help you?????  8O


Kurt

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: I am having trouble with the text in 4darkm.php
« Reply #3 on: October 10, 2007, 07:47:35 PM »
search in home.html:

Code: [Select]
  {if random_image}
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">
    <br />
                        {random_image}
<br />
                        <br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
{endif random_image}
                  <p align="center">
                    <?php
                    
echo date("d.m.Y"); 
        ?>

                  </p>
<?php include("4darkm.php"); ?>

replace with:
Code: [Select]
  {if random_image}
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">
    <br />
                        {random_image}
<br />
                        <br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
           {endif random_image}
                  <p align="center">
                    <?php
                     
echo date("d.m.Y"); 
                    
?>

                  <br />
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />Welcome</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">
    <br />
                     <?php include("4darkm.php"); ?>   
<br />
                        <br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>

test it..

######################### EDIT ############################
Your problems are the width from the random images. brakes the left table



Kurt

Offline einarkol

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: I am having trouble with the text in 4darkm.php
« Reply #4 on: October 10, 2007, 08:17:23 PM »
Thank you. This works fine. I just need to adjust things a little.

Do you know if there is a chance to let the Random picture have
a fixed width ? 

Then I could adjust the text I am working on to
be exactly the same width.

Thank you very much.

Einar

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~

Offline einarkol

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: I am having trouble with the text in 4darkm.php
« Reply #6 on: October 11, 2007, 12:14:31 AM »
Thank you again !
Everything you suggest works like clockwork.

It seems to me that my homepage is very wide and for people with low screen
resolution they have to scroll a lot to the right to see all the page.
Is there a simple way to control the width of the website ? :oops:

Einar

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: I am having trouble with the text in 4darkm.php
« Reply #7 on: October 11, 2007, 05:52:10 AM »
Hi

i don't nothing about this template.
 Ask in the Thread about this/ your template


Kurt

Offline einarkol

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: I am having trouble with the text in 4darkm.php
« Reply #8 on: October 11, 2007, 01:18:28 PM »
Quote
Please explain "Thread about this/ your template"

I am unused to using Forums and I am not sure what this meens.

Einar

You download this template. And there you post your request please....

Kurt
« Last Edit: October 11, 2007, 04:01:24 PM by KurtW »