XML/CSS Style/text decoration — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:26, 26 мая 2010
Mark text underline
<source lang="xml">
File: Data.xml <?xml version="1.0"?> <?xml-stylesheet type="text/css" href="Style.css"?> <document xmlns:xlink="http://www.w3.org/1999/xlink">
<page> <title>Linking With XLink</title> <paragraph>This <link xlink:type="simple" xlink:show="new" xlink:actuate="onRequest" xlink:title="Visit" xlink:href="http://www.wbex.ru">link </link> will open in a new page. </paragraph> </page>
</document> File: Style.css title{
display:block; color: #000000; font-size: 30px; font-weight: bold;
} paragraph {
display:block; padding:10px; margin: 10px;
} link {
color: #0000FF; text-decoration: underline;
}
</source>