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: table width  (Read 2815 times)

0 Members and 1 Guest are viewing this topic.

djriknet1

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • Your ticket to the tropics - www.tropicalview.net
    • Your ticket to the tropics
table width
« on: January 18, 2007, 02:17:25 pm »

Dear All,

i'm rebuilding a theme so i can use it with my own design,

in this design, i put the gallery in a table and in a cell before the gallery i put the dtree script (search on dtree in this forum)

the code in the template.html looks like this:
Code: [Select]
<table width="0*" border="0" align="left">
  <tr>
<td valign="top" align="left" width="200">
<div id="content" width="200">
<link
rel="StyleSheet" href="dtree.css" type="text/css" />
<script type="text/javascript" src="dtree.js"></script>
<script type="text/javascript" src="dtree.php"></script>
</div>
</td>
    <td valign="top" align="left">
<div id="content">
            <div class="entry">
               {GALLERY}
            </div>

</td>
  </tr>
  <tr>
    <td>{LANGUAGE_SELECT_FLAGS} <br />
            {LANGUAGE_SELECT_LIST}{THEME_SELECT_LIST}</td>
    <td></td>
  </tr>
</table>

if you go to http://tropicalview.net/gallery/index.php?theme=andreas09
for some reason i cannot get all the content aligned to the left

does somebody know what i'm doing wrong?
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: table width
« Reply #1 on: January 18, 2007, 02:54:10 pm »

The gallery alignment is doing exactly as you have it in the code. You need to add a new row for the gallery something like this:
Code: [Select]
</div>
</td>
</tr>
<tr>
    <td valign="top" align="left">
<div id="content">
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

djriknet1

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • Your ticket to the tropics - www.tropicalview.net
    • Your ticket to the tropics
Re: table width
« Reply #2 on: January 18, 2007, 03:15:12 pm »

Hi Gizmo,

Thanks for your answer, but if i do so the dtree will be on top of the gallery,
I just like it next to it (left)

How can i do that and get ride of all the blank space the html put in there right now?

Greetings

Hendrik
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: table width
« Reply #3 on: January 19, 2007, 02:11:36 am »

You're setting some rather large <table> and <td> widths. In this line
Code: [Select]
<div id="content" width="200">you have a width set but there's also a min-width: 460px in the content css style. Remove the width="200" and fix the margin and min-width in the css.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

djriknet1

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • Your ticket to the tropics - www.tropicalview.net
    • Your ticket to the tropics
Re: table width
« Reply #4 on: January 19, 2007, 06:54:08 am »

Hi Grimzo,

Thanks for the great tip, you put me on the right track to solve the problem i think.

but still the problem is not yet solved, i changed the content id tag to content-left
and copied the whole tag in the ccs with a min-width of 200

i took off the width tags in the table, but still the same thing.


i searched some more and i think the problem is in this part:
template.html:
Code: [Select]
<!-- http://www.cssplay.co.uk/boxes/width2.html -->
<div class="width">
<div class="minwidth">
<div class="holder">
<!-- End IE wrapper -->


i tried a lot, but style sheets are new stuff for me, and still i do not understand everything (you can see that, i even didn't thaugt about looking in there)

Untill now i did not find any value that causes this problem, if you have the change, can you please take a look into it?
i will attach a zip file of the theme
If you want access to the server, i can pm you ftp information .

Greetings

Hendrik

PS. do you guys have a donation place? the way the support goes is realy worth to give at least something back..
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.