Jump to content

Strange problem


miligraf

Recommended Posts

Ive been working on my new layout but i got a strange problem...here it is:

 

37852150sz1.jpg

 

As you can see, the images pile up right at the middle, it does this with Firefox but with IE 6 there is no problem but anyway i have different css files for each browser.

 

Here is the html part:

 

<div class="contenido">

	<div class="cuadros">

		<div class="tutoriales">

			<?php include('tutoriales/tutorialesazar.php'); ?>

		</div>

		<div class="afiliados">

			<?php include('afiliados/afiliadosazar.php'); ?>

		</div>

		<div class="descargas">

		</div>

	</div>
</div>

 

And the CSS part of those:

 

div.contenido {
margin:0px auto;
background-color:#353535;
border:1px solid #676767;
width:766px;
height:auto;
}

div.cuadros {
padding:5px 5px 5px 5px;
background-color:#252525;
}

div.tutoriales {
margin:0px 0px 0px 0px;
width:242px;
height:117px;
background-color:#353535;
border:2px solid #676767;
}

div.afiliados {
margin:-121px 0px 0px 255px;
width:242px;
height:117px;
background-color:#353535;
border:2px solid #676767;
}

div.descargas {
margin:-121px 0px 0px 510px;
width:242px;
height:117px;
background-color:#353535;
border:2px solid #676767;
}

 

Thanks for your help  ;D

Link to comment
Share on other sites

try to get rid of the table wich contains the images, use floated images instead:

 

div.tutoriales  img{
    float:left;
}

 

you could use floated divs also for the containers instead of playing with margins. I'm guessing the table is messing things up because of the fixed witdh:

 

<table width="64" align="center">

Link to comment
Share on other sites

Thx for the help guys, i did what you told me Zeon and that kinda solved the problem so i decided to change it a bit:

 

http://www.miligraf.com/new/?ir=inicio

 

The problem now is that the Title and first line of each page, is centered or it starts from the middle to the right...you can see this in the affiliates page (afiliados). I have eliminated any existing table in the affiliates page but i still get the problem.

 

Thanks for your help.

Link to comment
Share on other sites

I would like to delete my last post since i figured out how to fix it but got a new problem...

 

If you go to:

 

http://www.miligraf.com/new/?ir=tutoriales&categoria=Efectos&mostrar=id&ver=10&orden=desc&pag=1

 

You will see the menu at the right but if you go to the last page:

 

http://www.miligraf.com/new/?ir=tutoriales&categoria=Efectos&mostrar=id&ver=10&orden=desc&pag=2

 

The menu at the right will be gone and is at the bottom...how can i solve this? thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.