external CSS formatting????

General discussions about WebYep
Post Reply
Posts: 1
Joined: Sat Feb 24, 2007 4:31 am

external CSS formatting????

Post by robpez » Sat Feb 24, 2007 4:34 am

where do I specify the external CSS styles to use for each element??? I am using GoLive so the tutorials are no help.

Objective Development
Objective Development
Posts: 815
Joined: Fri Nov 10, 2006 4:39 pm

Post by johannes » Mon Feb 26, 2007 1:17 pm

a) You can place every WebYep Element inside a <div> or <span> and assign a "class" to this. Then create a CSS style with that name (class selector) and define the style attributes.

b) Some WebYep Elements do output HTML elements with specific CSS class names - these class names are fixed and mentioned in the documentation reference of those WebYep Elements. For example the WebYep Menu Element outputs its menu items in <div> tags with CSS class names like "WebYepMenuItem" or "WebYepMenuSelected" etc.

c) The WebYep Text Element can make use of custom CSS styles. You create a CSS style named e.g. ".IMPORTANT" (note: the name must be all upper case) and then the user can enter text into the Text Element like:

This is a <IMPORTANT very important> sentence.

Post Reply