Page 1 of 1

wdir

Posted: Tue Apr 09, 2024 2:31 pm
by ustalo
Hello
Masters
haw to make table of content not so wide
in % of window?

wdir
https://www.sima.spb.ru/?Kako/Knigi/Kollekciya

Re: wdir

Posted: Wed Apr 10, 2024 9:07 am
by Tata
Pack the wdir() in a DIV aand check

Code: Select all

.wdir_table {
  border-collapse: collapse;
  width: 100%; 
}
If width is set to 100%, the table will get its width from the width of the parent DIV.
In your template you have

Code: Select all

<DIV>
<table class="wdir_table" ...
The div has no class. Here you can change DIV to

Code: Select all

<div class="myClass">
and add this class in your template/stylesheet.css
e.g.

Code: Select all

.myClass{width:75%}
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

.col-md-...