IHTMLStyle Object
Multiple objects IHTMLStyle |
Represents a style attribute for the cascading style sheet (CSS) for an HTML element. The IHTMLStyle object provides access to a limited number of properties and methods related to the style attribute. For access to all properties and methods, use the FPHTMLStyle object.
Using the IHTMLStyle object
Use the style property to return an IHTMLStyle object. The following example accesses the style attribute for the body of the active document.
Dim objStyle As IHTMLStyle
Set objStyle = ActiveDocument.body.Style
Properties | background Property | backgroundAttachment Property | backgroundColor Property | backgroundImage Property | backgroundPosition Property | backgroundPositionX Property | backgroundPositionY Property | backgroundRepeat Property | border Property | borderBottom Property | borderBottomColor Property | borderBottomStyle Property | borderBottomWidth Property | borderColor Property | borderLeft Property | borderLeftColor Property | borderLeftStyle Property | borderLeftWidth Property | borderRight Property | borderRightColor Property | borderRightStyle Property | borderRightWidth Property | borderStyle Property | borderTop Property | borderTopColor Property | borderTopStyle Property | borderTopWidth Property | borderWidth Property | clear Property | clip Property | color Property | cssText Property | cursor Property | display Property | filter Property | font Property | fontFamily Property | fontSize Property | fontStyle Property | fontVariant Property | fontWeight Property | height Property | left Property | letterSpacing Property | lineHeight Property | listStyle Property | listStyleImage Property | listStylePosition Property | listStyleType Property | margin Property | marginBottom Property | marginLeft Property | marginRight Property | marginTop Property | overflow Property | padding Property | paddingBottom Property | paddingLeft Property | paddingRight Property | paddingTop Property | pageBreakAfter Property | pageBreakBefore Property | posHeight Property | position Property | posLeft Property | posTop Property | posWidth Property | styleFloat Property | textAlign Property | textDecoration Property | textDecorationBlink Property | textDecorationLineThrough Property | textDecorationNone Property | textDecorationOverline Property | textDecorationUnderline Property | textIndent Property | textTransform Property | top Property | verticalAlign Property | visibility Property | whiteSpace Property | width Property | wordSpacing Property | zIndex Property
Methods | getAttribute Method | removeAttribute Method | setAttribute Method | toString Method
Parent Objects | FPHTMLAnchorElement Object | FPHTMLAreaElement Object | FPHTMLBaseElement Object | FPHTMLBaseFontElement Object | FPHTMLBGsound Object | FPHTMLBlockElement Object | FPHTMLBody Object | FPHTMLBRElement Object | FPHTMLButtonElement Object | FPHTMLCommentElement Object | FPHTMLDDElement Object | FPHTMLDivElement Object | FPHTMLDivPosition Object | FPHTMLDListElement Object | FPHTMLDTElement Object | FPHTMLEmbed Object | FPHTMLFieldSetElement Object | FPHTMLFontElement Object | FPHTMLFormElement Object | FPHTMLFrameBase Object | FPHTMLFrameElement Object | FPHTMLFrameSetSite Object | FPHTMLFrontPageBotElement Object | FPHTMLHeaderElement Object | FPHTMLHRElement Object | FPHTMLIFrame Object | FPHTMLImg Object | FPHTMLInputButtonElement Object | FPHTMLInputFileElement Object | FPHTMLInputHiddenElement Object | FPHTMLInputImage Object | FPHTMLInputTextElement Object | FPHTMLIsIndexElement Object | FPHTMLLabelElement Object | FPHTMLLegendElement Object | FPHTMLLIElement Object | FPHTMLLinkElement Object | FPHTMLListElement Object | FPHTMLMapElement Object | FPHTMLMarqueeElement Object | FPHTMLMetaElement Object | FPHTMLNextIdElement Object | FPHTMLNoShowElement Object | FPHTMLObjectElement Object | FPHTMLOListElement Object | FPHTMLOptionElement Object | FPHTMLParaElement Object | FPHTMLPhraseElement Object | FPHTMLScriptElement Object | FPHTMLSelectElement Object | FPHTMLSpanElement Object | FPHTMLSpanFlow Object | FPHTMLStyleElement Object | FPHTMLTable Object | FPHTMLTableCaption Object | FPHTMLTableCell Object | FPHTMLTableCol Object | FPHTMLTableRow Object | FPHTMLTableSection Object | FPHTMLTemplateRegionElement Object | FPHTMLTextAreaElement Object | FPHTMLTextElement Object | FPHTMLTitleElement Object | FPHTMLUListElement Object | FPHTMLUnknownElement Object | FPHTMLWebPartElement Object | FPHTMLWebPartZoneElement Object | FPHTMLXSLElement Object | FPHTMLXSLWebPartElement Object | IHTMLElement Object
Child Objects