• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CSS with WOComponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CSS with WOComponent


  • Subject: CSS with WOComponent
  • From: Wolfram Stebel <email@hidden>
  • Date: Sat, 30 Oct 2004 13:55:55 +0200

Hi all,

Is there an easy way to use css in components?
Selfhtml means to include a <link> in the <HEAD> section as below is
correct, where the href="../Styles.css" is a path relativ to the html-file
of the component.

Example: Main.wo, File Main.html contains:

...
<HEAD>
    <Title>Styletest</Title>
    <link rel="stylesheet" type="text/css" href="../Styles.css">
</HEAD>
...

A SELECT-browser inside the component uses the format:

<select class="SelectFormat" size="5"></select>



This is the content of the "../Styles.css" file:

<style type="text/css">
   .SelectFormat
   { width:100%; }
</style>


Seems to be simple, but does not work with IE and safari, probably also not
with others.

The following style definition in the <HEAD> section works as expected:

<style type="text/css">
.SelectFormat
{ width:100%; }
</style>


Any suggestions?
Thanks!


Wolfram Stebel
Flutgrabenstr. 19, 35576 Wetzlar
Tel. 06441/48164, Mobil: 0172/6558588
Mailto: email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CSS with WOComponent
      • From: Michael DeMan <email@hidden>
    • Re: CSS with WOComponent
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: wocode TextDisplayFormatter and WOString's incorrect displays
  • Next by Date: Re: CSS with WOComponent
  • Previous by thread: Re: wocode TextDisplayFormatter and WOString's incorrect displays
  • Next by thread: Re: CSS with WOComponent
  • Index(es):
    • Date
    • Thread