webForumDet fria alternativet

CSS trubbel

2 svar · 203 visningar · startad av Riri

RiriMedlem sedan dec. 2000182 inlägg
#1

Hur kommer det sig att min "right" inte funkar på tabelldata fælten?

........
............
...............
<style type="text/css">
<!--
table {font:10px arial;}

input {font:10px arial;}

table.InputTable {background-color: DBD0D0;}

th { border-color: #000080 #000080 #000080 #000080;
		 border-style: solid solid solid solid;
		 border-width: 1px 1px 1px 1px; }

right { border-right: 25px solid blue; }

-->
</style>
<title>Graph generator</title>
</head>
<body bgcolor="#F0EBEB">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="73">

        <br />

        <form name="Type" method="post" action="parseNordeaXML.asp">
        <table class="InputTable" width="400" border="0" cellspacing="0" cellpadding="5" align="center">
        <tr>
        <th colspan="2">
        <center><b>Grey Graph Gen</b></center>
        <br />
        </th>

        </tr>
        <tr>
          <td >Column graph data</td>
          <td ><input type="radio" name="type" value="0" checked></td>
        </tr>
        <tr >
		  <td class="right">Line graph data</td>
		  <td ><input type="radio" name="type" value="1"></td>
.....................
................
.........
hypatiaMedlem sedan feb. 20016 388 inlägg
#2

Du måste ha en punkt före klass-namnet när du gör egna klasser. :)

.right { border-right: 25px solid blue; }
MatteMedlem sedan aug. 20002 975 inlägg
#3

Det saknas en punkt före right:

**.**right { border-right: 25px solid blue; }

132 ms totalt · 3 externa anrop · v20260731065814-full.30151723
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
128 ms — hämta tråd, inlägg och bilagor (db)