CSS with WOComponent
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