 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
March 13th, 2005, 09:03 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 53
| Fixing button display issues in Showphoto.php
For some strange reason, I'm getting a very peculiar display problem in my photopost gallery. Instead of the buttons lining up horizontally, they're lining up stacked on top of each other. I'm trying to change this to line up across the screen instead of on top of each other for obvious reasons. I am having a hard time navigating through the templates and styles to find this fix. Please advise. The gallery is found at www.ecmtb.com/gallery
Here's a pic for example:
|
| |
March 13th, 2005, 09:07 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
There is nothing wrong in the html of our gallery
<td valign="middle" align="right">
<span class="normal"><span class="normal"><a href="http://www.ecmtb.com/gallery/showphoto.php?photo=6462&sort=1&size=medium&cat=507&page=1"><img border="0" src="http://www.ecmtb.com/gallery/images/previmg.gif" alt="Next image in category" /></a></span> <a href="http://www.ecmtb.com/gallery/slideshow.php?photo=11164&password=&sort=1&cat=507"><img border="0" src="http://www.ecmtb.com/gallery/images/slideshow.gif" alt="Start a slideshow of images" /></a> <span class="normal"><a href="http://www.ecmtb.com/gallery/showphoto.php?photo=11169&sort=1&size=medium&cat=507&page=1"><img border="0" src="http://www.ecmtb.com/gallery/images/nextimg.gif" alt="Next image in category" /></a></span></span>
</td>
Have you checked the resulting html of your header footer? If you turn it off does that part display right?
|
| |
March 13th, 2005, 09:26 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 53
|
It appears that PP is ignoring this CSS tag:
img {
display: inline;
}
which is working for the rest of the site. it's displaying stuff with display: block
|
| |
March 14th, 2005, 06:46 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 53
|
Can you assist me in turning off the header? Do I just empty the header/footer path or is there an on/off for the header/footer?
thanks.
|
| |
March 14th, 2005, 02:04 PM
|
#5 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
|
Hi..
just empty the path, that'll do it
-T
|
| |
March 14th, 2005, 04:30 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 53
|
I tried it and nothing changed. The buttons were still messy. If it helps any in the diagnosis of the problem, when I had the user rating system on, if the user rated 10 thumbs, they got stacked up on top of each other as well...
Our web designer thinks it has something to do with the gallery tool ignoring the display:inline
style.
I hadn't insisted that there was something wrong with the html in photopost -- merely that we have installed it and there is a problem. Obviously if it works for others, it's something we have done, but we can't figure out what. I'm the messenger guy, not the designer guy.
Thanks for any help you can offer in this matter.
Adam
|
| |
March 14th, 2005, 06:24 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Look at your CSS
You dont have a period before img |
| |
March 15th, 2005, 06:13 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 53
|
No, it doesn't, actually. img is not a class so it doesn't need a period
in front of it. if you declare the element "img" to always display
inline, it should.
|
| |
March 15th, 2005, 08:04 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 53
|
I took the page output from one of my showphoto pages, did a find/replace all the display:block with display:inline, saved as a static HTML page and it worked.
We're using the "Use Integrated forum stylesheets" option if that makes a difference.
My stylesheet is indeed working, cause my VB3 forum is picking up everything properly. There is no need for a '.' in front of the 'img' - I proved that by simply replacing 'block' with 'inline' in my static page: www.ecmtb.com/gallery/showphototest.html
Palease heellllpppp!!!
|
| |
March 15th, 2005, 08:16 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 53
|
ok. I thought my way right to it and my web designer owes me LARGE.
We had a display:block in the headerinclude for VB3 - since it was using VB3 integration, it was picking that up.
Man, I"m smarter than I thought!
One problem remains - now my Prev Image button is gone... grrrrr.....
Last edited by nimzie; March 15th, 2005 at 08:20 AM.
|
| |
March 15th, 2005, 08:28 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 53
|
and fixed.
|
| |
March 15th, 2005, 04:14 PM
|
#12 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
| Quote: |
Originally Posted by nimzie display:block in the headerinclude for VB3 | y'know i really was gonna say that early on...sorry i didn't  honest i was !!
-T
|
| |
March 15th, 2005, 08:09 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Nov 2002
Posts: 53
|
Bahaha! thanks .. I bet you were  ... I'm not even the web dude in our group.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:27 PM. | |