container modifyalb.php problem - Page 2 container modifyalb.php problem - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

container modifyalb.php problem

Started by grimez, March 28, 2016, 11:39:49 AM

Previous topic - Next topic

0 Members and 7 Guests are viewing this topic.

grimez

#20
Quote from: allvip on March 28, 2016, 05:10:09 PM
Nothing is wrong.
With firefox inspect I added a temporary white border to #container and red border to maintable.
As you can see everything is fine.
BTW the container has 1068px because the container width 1040px +  10px padding left + 10px padding right + 8px border left and right = 1068px. Padding and borders add their width to the div width.

Not with tables.

As you can see maintable has 1040px.

Use web developer add-on to disable chache and cookies http://chrispederick.com/work/web-developer/

That's way you seeing things the wrong way.

i tested another css (with padding left and right too) and works :(

allvip

Quote from: grimez on March 28, 2016, 11:39:49 AM
Hello everybody. I have a small problem with my theme.

In my container i already specified the maximum (1040px) but in modifyalb.php he is in 1140px, could someone help me?

You meant editpics.php because there is the problem.
Right?

grimez

ok, I think I understand the error.
how i can delete this post?

allvip

You don't. You have to post the solution you found for other users to learn.
Is the board rules.

I will only delete the links from your post.
Please say your solution. I'm curious too as tables always exand as much as they need to.
Depends of their content.
I don't think is an error as it does the same thing in my test with the curve theme.
Depends of the width the table needs.

grimez

Okay, so you could delete the links?

there is no solution, it's just some padding and margins in divs that i thought would be flexible in container
but the best solution to keep the padding and margins was the display: table in container
thank u

allvip

#25
Quote from: grimez on March 28, 2016, 05:54:32 PM
Okay, so you could delete the links?

there is no solution, it's just some padding and margins in divs that i thought would be flexible in container
but the best solution to keep the padding and margins was the display: table in container
thank u

Perfect without display table:


#container {
    width: 1040px;
    padding: 10px;
    background: rgba(0,0,0,0.1);
    margin: 10px auto;
    position: relative;
    color: #fff;
}
.maintable {
    background: transparent;
    color: #fff;
    margin: 10px auto;
    text-align: justify;
    position: relative;
}


attachments removed at request.

grimez

Quote from: allvip on March 28, 2016, 06:01:22 PM
Perfect without display table:


#container {
    width: 1040px;
    padding: 10px;
    background: rgba(0,0,0,0.1);
    margin: 10px auto;
    position: relative;
    color: #fff;
}
.maintable {
    background: transparent;
    color: #fff;
    margin: 10px auto;
    text-align: justify;
    position: relative;
}


but without the images cut (it's not much, i know) but with table display is perfect!

allvip

#27
No image cut.
See attachment.
Please remove dispay table and let me see it without.
What's your monitor resolution?
It works for me one your gallery with display table temporary removed with firefox inspect.

attachments removed at request.

grimez

Quote from: allvip on March 28, 2016, 06:19:52 PM
No image cut.
See attachment.
Please remove dispay table and let me see it without.
What's your monitor resolution?
It works for me one your gallery with display table temporary removed with firefox inspect.

monitor: 1366

done! i removed display table

allvip

#29
Is OK on my PC.
How is on your PC?

attachments removed at request.

grimez


allvip

Fine: 1040px and in the container.

grimez


allvip

#33
Quote from: grimez on March 28, 2016, 07:28:41 PM
print pls

attachments removed at request.

grimez


allvip

print please and before add border:4px solid #fff; to container
and border:4px solid #900; to maintable.

Just so I can see the divs better.
Can you email me the exact link where you see the issue?
Did you have disable chache and disable cookie on?

grimez

Quote from: allvip on March 28, 2016, 07:44:09 PM
print please and before add border:4px solid #fff; to container
and border:4px solid #900; to maintable.

Just so I can see the divs better.
Can you email me the exact link where you see the issue?
Did you have disable chache and disable cookie on?

In my friend's computer is the same way

allvip

#37
The link is fine.

attachments removed at request.

ΑndrĂ©

Can this thread be marked as solved?