is possible to make all elements in html results align to center by edit css ?

Started by muhmath2023, August 27, 2022, 09:02:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

muhmath2023

hi
i need to align center all fet results in pages by edit css
is possible?

Liviu Lalescu


Volker Dirr

hmmm.... i fear i don't understand 100%.
All tables are already aligned centred.

Or do you want to have the text outside the tables also aligned centred?

In that case you can write this into the css file:
* {
  text-align: center;
}

But in my opinion it looks awful. Maybe i missunderstood your request. Please explain more detailed if i didn't understood your request correct.


Volker Dirr

Maybe you also want to align the table?
In that case write:
* {
   text-align: center;
   margin-left: auto; margin-right: auto;
}

muhmath2023

all thank you
i mean all table and text outside
after reading code in css and html
by tags A and STRONG ( outside text ) how center this
another solution to center tables
margin: auto;
regards

Volker Dirr

hmmm... not sure. You talk about the dot left from the listed names at the beginning of each html file?

I saw that they won't be centered with Micosoft Edge nor with google chrome. But they will be centered with Mozilla Firefox. So maybe try Firefox.

muhmath2023