Some Page Troubles

General topics relating to phpBB3 to be posted in here.
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: Some Page Troubles

Post by cisco007 »

no the code is fine, but don't use that notepad, use the notepad++ i mentioned in the previous post, the reason the error is because windows' notepad doesn't save the files with BOM, and they need to so just use the text editor i told you about!
User avatar
shadowslight
Forum Member
Forum Member
Posts: 35
Joined: Mon May 07, 2012 12:20 am

Re: Some Page Troubles

Post by shadowslight »

Well it turned out i had 3 white spaces at the very beginning of the page in aboutus.php i got it fixed now it works as planned :D
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: Some Page Troubles

Post by cisco007 »

wow, took a while! glad you got working!
User avatar
shadowslight
Forum Member
Forum Member
Posts: 35
Joined: Mon May 07, 2012 12:20 am

Re: Some Page Troubles

Post by shadowslight »

thanks man. I didn't even realize i had the spaces in there. A fellow coder pointed it out lol
User avatar
shadowslight
Forum Member
Forum Member
Posts: 35
Joined: Mon May 07, 2012 12:20 am

Re: Some Page Troubles

Post by shadowslight »

ok forgive the double post here. but Click here to see my new page,

my only concern is that the font size is so small...

i was looking to improve it...make it a little bigger.

Below is the html i used

Code: Select all

  <!-- INCLUDE overall_header.html -->

    <br clear="all" />

    <table class="tablebg" width="100%" cellspacing="1">
       <tr>
          <td class="cat" colspan="2"><h2>About Us</h2></td>
       </tr>
       <tr>
          <td class="row1" width="100%"><p class="genmed"> We were founded in 2009, by Shadow to bring you the best general discussions forum on the Internet! <br />
             
             We promise to do the following:
             <ul>
                <li>Provide new content</li>
                <li>Provide a friendly atmosphere</li>
                <li>Provide an environment where you can have fun!</li>
                <li>Keep them internet trolls at bay</li>
                <li>Listen and give advice if you want it</li>
             </ul><br /></font></p></td>
       </tr>
       </table>

    <!-- INCLUDE jumpbox.html -->
    <!-- INCLUDE overall_footer.html -->
I tried adding a font size tag after <p class>

do i change the size in the paragraph tab?
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: Some Page Troubles

Post by cisco007 »

if you want the whole text in that box to be bigger, maybe you can try to change this:

Code: Select all

<table class="tablebg" width="100%" cellspacing="1">
to this:

Code: Select all

<table class="tablebg" width="100%" cellspacing="1" style="width: 12px;">
change the 12px to what ever size you prefer!
User avatar
shadowslight
Forum Member
Forum Member
Posts: 35
Joined: Mon May 07, 2012 12:20 am

Re: Some Page Troubles

Post by shadowslight »

hm, this is going to prove a challenge, I just tried that suggestion.... and thank you for helping :) but it took the text and formed a column. I changed it back. haha, i cant believe i've been getting beat like this :lol:
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: Some Page Troubles

Post by cisco007 »

sorry it's my fault, it's supposed to be

Code: Select all

font-size: 12px
not

Code: Select all

width: 12px
sorry about that!
sorry that will only increase the font in the table header. let me test it a little more and tell you the correct edits! :D
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: Some Page Troubles

Post by cisco007 »

i really hate those phpbb3 styles that use tables! :grin:
how does it look if you used this instead?

Code: Select all

<!-- INCLUDE overall_header.html -->

    <br clear="all" />

<table width="100%" cellspacing="0" class="tablebg">
    <tbody>
      <tr>
        <th colspan="2">
          <h2>About Us</h2>
        </th>
      </tr>
      <tr>
        <td width="100%" class="row1">
          <p class="genmed">We were founded in 2009, by Shadow to bring you the best general
          discussions forum on the Internet!<br />
          We promise to do the following:</p>
          <ul>
            <li>Provide new content</li>
            <li>Provide a friendly atmosphere</li>
            <li>Provide an environment where you can have fun!</li>
            <li>Keep them internet trolls at bay</li>
            <li>Listen and give advice if you want it</li>
          </ul>
        </td>
      </tr>
    </tbody>
  </table>

    <!-- INCLUDE jumpbox.html -->
    <!-- INCLUDE overall_footer.html -->
User avatar
shadowslight
Forum Member
Forum Member
Posts: 35
Joined: Mon May 07, 2012 12:20 am

Re: Some Page Troubles

Post by shadowslight »

I will give that a shot too.

and while i love phpbb, I do agree with your sentiment
User avatar
shadowslight
Forum Member
Forum Member
Posts: 35
Joined: Mon May 07, 2012 12:20 am

Re: Some Page Troubles

Post by shadowslight »

That actually centered the words "about us" in the bar which i like.

and now with that html you provided, I was able to use <font size> tags to enlarge the lists and the paragraph.

but thank you so much for your help man, I appreciate it!
:yahoo:
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: Some Page Troubles

Post by cisco007 »

great you got it working, but if I was you i would search in the internet about better ways to add the font size to those items instead of adding it to each of the lines. Like using

Code: Select all

style="font-size: 22px;"
to the whole thing, like

Code: Select all

<td width="100%" class="row1" style="font-size: 22px;">
instead, but it's up to you whether you want it xhtml strict or not!
User avatar
shadowslight
Forum Member
Forum Member
Posts: 35
Joined: Mon May 07, 2012 12:20 am

Re: Some Page Troubles

Post by shadowslight »

im guessing it takes a little bit longer for browsers to interpret?
User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am

Re: Some Page Troubles

Post by cisco007 »

shouldn't really they should interpret all of it fine. just a matter of taste.
User avatar
shadowslight
Forum Member
Forum Member
Posts: 35
Joined: Mon May 07, 2012 12:20 am

Re: Some Page Troubles

Post by shadowslight »

WEll I just have to find time to get it fixed, I have no problem letting it display like that... a little overboard and ugly on the html but who's gonna view the source? :lol:

I added a mod today. "who was here" but i couldnt find asupport for the Aero blue style that I use. Care to venture over to my site and give a thought? I tried to use a setup like what was done for the affiliates box.
Post Reply