table width table width
 

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]

Main Menu

table width

Started by djriknet1, January 18, 2007, 02:17:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

djriknet1

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:

<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?

Gizmo

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:

</div>
</td>
</tr>
<tr>
    <td valign="top" align="left">
<div id="content">
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

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

Gizmo

You're setting some rather large <table> and <td> widths. In this line
<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.
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

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:
<!-- 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..