It is currently Fri Oct 04, 2024 5:02 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to swap element position using Css?
PostPosted: Tue Mar 29, 2022 10:59 am 
Newbie
Newbie

Joined: Sat Feb 19, 2022 6:24 am
Posts: 6
Hi
I want to change the position of two elements using CSS.

The structure of my website is as follows and it show up del ins.

<span class="main-price">
<del aria-hidden="true">
<span class="price">
</del>
<ins>
<span class="price">
</ins>
</span>
No CSS is applied to these elements.

So I applied CSS like below.

.main-price{
text-align: left;
display: inline-flex;
flex-direction: column-reverse;
}
However, this will place the two elements vertically as shown below.

ins
del
So I re-applied the below css, still no change.

.ins{
display:inline;
}
I've tried many times other than that, but no matter what I do, it doesn't show up as ins del.

Can someone give me some advice on what omegle voojio to do?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011