| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 1216 online users. » 0 Member(s) | 1212 Guest(s) Applebot, Baidu, Bing, Google
|
| Latest Threads |
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
Yesterday, 11:46 AM
» Replies: 2
» Views: 178
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 68
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 378
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 93
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 1,892
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 235
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 709
|
Looking for UI Design Tip...
Forum: Delphi General Discussion
Last Post: chrisjordon232
08-06-2026, 05:17 AM
» Replies: 0
» Views: 269
|
TIWjQDBGrid DateFormat
Forum: IntraWeb General Discussion
Last Post: brushbuny
08-05-2026, 03:31 AM
» Replies: 2
» Views: 1,666
|
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
08-04-2026, 03:50 PM
» Replies: 2
» Views: 396
|
|
|
| class order in TemplateProcessorHTML |
|
Posted by: StephB - 06-28-2023, 03:30 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Dear all,
I have a strange render with css classes in an Intraweb application and I don't understand why, hope somebody can help me to fix it.
In a classic HTML/PHP page, when I assign 2 classes to an item, on rendering the classes are applied in the "text" order.
Here an example with a mix between bootstrap btn class and my own btn-welter class, the button is as expected.
![[Image: html_d6b5io.png]](https://res.cloudinary.com/teka/image/upload/v1687965488/html_d6b5io.png)
But with Intraweb, the same kind of button using the same classes is not properly render because my class is render before the bootstrap class.
![[Image: intraweb_zprcsk.png]](https://res.cloudinary.com/teka/image/upload/v1687965488/intraweb_zprcsk.png)
I tried to reverse the classes order (btn-welter btn), but the render is the same.
Then I tried to use bootstrap classes only (btn btn-primary), and in this case the result is OK, I have a classic Bootstrap blue button.
I can't add !important in my class to force the render because it comes from a common class, and somethime we have to overwrite it by using a third class.
Any idea why my classes are not processed as expected ?
Many thanks for your help.
|
|
|
|