Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: I need to tweak this layout a little. Please help!!  (Read 3194 times)

0 Members and 1 Guest are viewing this topic.

gingko

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
I need to tweak this layout a little. Please help!!
« on: October 14, 2005, 08:14:51 pm »

Here's my gallery --> http://www.iria.xmgfree.com/gallery/

I want the whole interface to be more narrower, but no matter what values I adjust, I just fail to make the navigation panel as narrow as the cells below. I have tried using divs on the template, but it doesn't work either.

This is the website where I am integrating the gallery into: www.sweet-box.info
When you click on 'gallery', you can see that the gallery is too wide that it causes the iframe to look really weird.
I just want it such that when I fit the gallery into an iframe of let's say 590 px, horizontal scrollbars will not appear cos' it's too wide.

The template page: http://www.iria.xmgfree.com/gallery/themes/ipodlounge/template.htmlhttp://www.iria.xmgfree.com/gallery/themes/ipodlounge/template.php

The stylesheetpage: http://www.iria.xmgfree.com/gallery/themes/ipodlounge/style.css

Your help is very much appreciated!!
« Last Edit: October 14, 2005, 09:24:45 pm by Nibbler »
Logged

xplicit

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 214
Re: I need to tweak this layout a little. Please help!!
« Reply #1 on: October 14, 2005, 08:36:41 pm »

Your width is set to 750 this would never fit... since I see a 566 width resrved space in your I frame.

In your source I see things like

Code: [Select]
<table border="0" cellpadding="0" cellspacing="0" width="750" align="center">
  <tr>
    <td>
      <img src="themes/ipodlounge/images/white_corner_topleft.gif" width="7" height="7" alt="" border="0" />
    </td>
    <td bgcolor="#FFFFFF">
      <img src="images/spacer.gif" width="735" height="7" alt="" border="0" />
    </td>
    <td>
      <img src="themes/ipodlounge/images/white_corner_topright.gif" width="7" height="7" alt="" border="0" />
    </td>
  </tr>
</table>


If your settings in the admin config can't control it, you probably hard coded the 750 width, in that case check your theme and do a search and replace action 750 -> 5xx

if you use the spacer.gif with a width of 735 your table will be 735 width + the rest aswell so perhaps you also need to fix this if its hardcoded

Just adjust some settings in your admin config and check the source of your output to see if things changed, if they didnt you hardcoded it.

Logged
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.

gingko

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: I need to tweak this layout a little. Please help!!
« Reply #2 on: October 14, 2005, 08:46:56 pm »

Ooh actually I realized I forgot to make my file rewritable. no wonder the changes didnt take place. lol Anyway, thanks a lot for enlightening me on that! ^_^
Logged

xplicit

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 214
Re: I need to tweak this layout a little. Please help!!
« Reply #3 on: October 14, 2005, 09:23:38 pm »

I see you got it fixed now :)

Thread can be closed I guess
Logged
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.