fixed width FAQ with border

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
tgimer
Posts: 6
Joined: Sat Apr 10, 2010 7:40 pm

fixed width FAQ with border

Post by tgimer »

would love to make faq look like the rest of our site -- 75% width with purple border -- see landing page: http://TRACauctions.com

best way to accomplish in css for phpmyfaq?
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: fixed width FAQ with border

Post by Thorsten »

Hi,

you can move the basic HTML and CSS parts from your webpage into index.tpl and style.css.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
tgimer
Posts: 6
Joined: Sat Apr 10, 2010 7:40 pm

Re: fixed width FAQ with border

Post by tgimer »

i'm using 2.0.3 and not a programmer. i see there is a wrapper around columns. can i change wrapper to table? thx in advance for any insight
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: fixed width FAQ with border

Post by Thorsten »

Hi,

2.0.3 is very old and you should upgrade to 2.6.3 as soon as possible.

You can add a HTML table if you like.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
tgimer
Posts: 6
Joined: Sat Apr 10, 2010 7:40 pm

Re: fixed width FAQ with border

Post by tgimer »

thorsten, thanks for this great script. man i wished your reply helped me! which part(s) of css would you modify to put a 75% table around the entire faq content?
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: fixed width FAQ with border

Post by Thorsten »

Hi,

how does your HTML currently look like?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
tgimer
Posts: 6
Joined: Sat Apr 10, 2010 7:40 pm

Re: fixed width FAQ with border

Post by tgimer »

<table width="75%" height="400" border="1" align="center" cellpadding="4" cellspacing="4" bgcolor="#8B66AC" class="top">
[content]
</table>
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: fixed width FAQ with border

Post by Thorsten »

Hi,

please post your complete FAQ, otherwise it's hard to help.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
tgimer
Posts: 6
Joined: Sat Apr 10, 2010 7:40 pm

Re: fixed width FAQ with border

Post by tgimer »

my faq is at http://tracauctions.com/faq

what i posted was the table code from our landing page at http://tracauctions.com

i did upgrade to the latest stable release
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: fixed width FAQ with border

Post by Thorsten »

Hi,

you can add your table

Code: Select all

<table width="75%" height="400" border="1" align="center" cellpadding="4" cellspacing="4" bgcolor="#8B66AC" class="top">
  <!-- top table -->

  <tr bgcolor="#FFFFFF">
    <td height="380" class="background">
right before the two div containers from phpMyFAQ:

Code: Select all

<div id="wrapper1">
    <div id="wrapper2">
Please close all tags at the end of the template index.tpl.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
tgimer
Posts: 6
Joined: Sat Apr 10, 2010 7:40 pm

Re: fixed width FAQ with border

Post by tgimer »

thank you thorsten for seeing this thru

looking good now at http://tracauctions.com/faq!
Post Reply