![]() |
|
setting a simple style-sheet for a dbedit not working - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: setting a simple style-sheet for a dbedit not working (/thread-4701.html) |
setting a simple style-sheet for a dbedit not working - sglodek - 11-19-2024 Hello all, I try to apply a simple style-sheet to an IWDbEdit-component. This is only a test of how to use stylesheets and will be expanded later with more useful style changes. I do it like this:
Code: ...What am I doing wrong? I tried several combinations of css-property and naming the style in the css-file like IWMYDBEDIT, .IWMYDBEDIT,... It seems that Intraweb can't find my style and replaces it with the default-style using #IWDBEDIT1{...}. The css-file is referenced in <link rel="stylesheet". The file is placed in wwwroot so I think this part is OK. So I am sure to make any mistake in naming the style, but can't figure out what I am doing wrong. Can anyone give me an advice? Many thank for your help Siegbert RE: setting a simple style-sheet for a dbedit not working - joergb - 12-07-2024 Hello Siegbert sorry ... I can't give you any advice, I found your Post cause I have the same problem with TIWLabel. I test with: .label2 { color: green; HighlightColor:blue; text-align: center; font-size: 64px; } or simply without dot label3 { color: blue; HighlightColor:black; font-family: Arial, Helvetica, sans-serif; text-align: left; font-size: 64px; } text-align seems to work, color works . I can switch between red blue or what else The size is seems to be ignored. Your Post is from november So the support here is once again not so great. Maybe you find a solution. So it will be helpfull if you post it here. On the other hand , I'm looking for this topic in "stackoverflow.com" If I will find something I post a reply RE: setting a simple style-sheet for a dbedit not working - joelcc - 12-10-2024 Have you turned off the inline styles through IWDbEdit.StyleRenderOptions RE: setting a simple style-sheet for a dbedit not working - MJS@mjs.us - 12-16-2024 Disabling RenderFont as joelcc suggests seems to make it work:
|