One of those "little css" issues

21 views
Skip to first unread message

Dawn Wolthuis

unread,
Mar 21, 2012, 8:57:48 PM3/21/12
to InterSystems: Zen Community
I am trying to figure out how to use css to put some space before each
field so that there are some pixels of space on top of the zenLabels
of "Showing off a 3D input text box" and "In FF or IE scroll down
then..."

http://prod.snupnow.com/csp/dev/Util.Template.Page.cls

If I add padding-top or margin-top to the span it does nothing
(because they are inline elements, not block elements) and I am not
figuring out how to specify padding within the td above these. I think
I'm just thinking wrong. Suggestions? Thanks. --dawn
--
Dawn M. Wolthuis

Take and give some delight today

Roberto

unread,
Mar 21, 2012, 10:37:03 PM3/21/12
to intersys...@googlegroups.com, InterSystems: Zen Community
You can use the following for the span:

display:inline-block;
margin-top:25px;

-Roberto

Vlado

unread,
Mar 21, 2012, 10:40:10 PM3/21/12
to intersys...@googlegroups.com, InterSystems: Zen Community
Try with:
.zenLabel {
height:0px;
padding-top: 10px;
}
It seems that padding-top works if you use height.
**Владо.

Dawn Wolthuis

unread,
Mar 21, 2012, 11:04:38 PM3/21/12
to intersys...@googlegroups.com
Thanks Roberto and Vlado -- It looks like nothing else gets messed up
when switching these spans to inline groups, so good deal. I might
give Vlado's suggestion a try tomorrow, but this one looks like it
works. I was getting weary of css work (maybe just lazy), so thanks a
bunch! --dawn

> --
> You received this message because you are subscribed to the Google Groups
> "InterSystems: Zen Community" group.
> To post to this group, send email to InterSys...@googlegroups.com
> To unsubscribe from this group, send email to
> InterSystems-Z...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/InterSystems-ZEN?hl=en
> Zen Community Terms and Conditions:
> http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions

Reply all
Reply to author
Forward
0 new messages