Hello
Masters
haw to make table of content not so wide
in % of window?
wdir
https://www.sima.spb.ru/?Kako/Knigi/Kollekciya
wdir
Moderator: Tata
wdir
Aleksei
Re: wdir
Pack the wdir() in a DIV aand check
If width is set to 100%, the table will get its width from the width of the parent DIV.
In your template you have
The div has no class. Here you can change DIV to
and add this class in your template/stylesheet.css
e.g.
In this case the DIV will always use 75% of the entire page width and the table will always use the full width of the DIV.
However, I am not sure how will this behave with other used classes e.g.
Code: Select all
.wdir_table {
border-collapse: collapse;
width: 100%;
}
In your template you have
Code: Select all
<DIV>
<table class="wdir_table" ...
Code: Select all
<div class="myClass">
e.g.
Code: Select all
.myClass{width:75%}
However, I am not sure how will this behave with other used classes e.g.
Code: Select all
.col-md-...
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.