![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
The "ugly...bordered multiline span" is the same as a GroupBox control in a Windows application. This control can is a container for radio buttons or checkboxes but other controls can be placed inside it as well, in case you are ignorant of Windows application programming. |
#12
| ||||||
| ||||||
|
|
lauri (AT) raittila (DOT) cjb.net says... in comp.infosystems.www.authoring.stylesheets, Mr.Clean wrote: span style= inline styles are not good idea. "text-align: center; Does nothing, as it only aplies to block elements. border:thin inset; I really think it is ugly to have bordered multiline span, so hopefully you don't have much text in it. height:53px; width:185px; Neither should do anything, and don't on modern browsers or IE6 in standards mode. Why aren't you using div instead of span. background-color:#F9DFB2;" You forgot to use color with your background color. span style="font-family:'MS Sans Serif'; That is bitmap font, at least in my systems. So user might get ugly font if he overrides your size, which he most likely do. font-size:8px; Too small and using px unit is bad when setting font. In my version of MS Sans Serif, there is no 8px version, I think that yours haven't have that either - so you are actually seeing 8pt version which size 11px. (easily tested, remove font-family rule) |
|
If users font is true type or similar (very likely if he don't have MS Sans Serif, which is about 99% certain if he is not using MS OS), he don't get 8pt font like you, but he will get 8px font, and that is not readable on any resolution, unless special fonts are used. |
|
If you'd followed the entire thread, you would have know that I was working on producing an HTML form that mimics a form from my Delphi application. |
|
Essentially I am creating a DFM (Delphi Form File) to HMTL converter. I want the HTML to match the Delphi form as close as possible. I don't want to screw with em's and funky placements. I use the measurements off the form itself to dynamically create the CSS from the DFM file. |
|
So far, I've gotten pretty good results. |
|
The "ugly...bordered multiline span" is the same as a GroupBox control in a Windows application. This control can is a container for radio buttons or checkboxes but other controls can be placed inside it as well, in case you are ignorant of Windows application programming. |
![]() |
| Thread Tools | |
| Display Modes | |
| |