Solved

Quick Q

Posted on 2003-11-19
8
186 Views
Last Modified: 2010-04-09
How do I position something 50%way across the screan?

Number 1            0       
Number 2            0       
Number 3            0

Where the check boxes are in a vertical line 50% the distance across the screem?       
0
Comment
Question by:PieP
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 9779945
One way to do it is with tables:


<HTML>
<BODY>
<FORM name="myform">
<TABLE width="100%">
 <TR>
  <TD width="49%">Number 1</TD>
  <TD><INPUT type="checkbox" name="myCheckbox1" value="1" />
  <TD width="49%">&nbsp;</TD>
 </TR>
 <TR>
  <TD width="49%">Number 1</TD>
  <TD><INPUT type="checkbox" name="myCheckbox2" value="2" />
  <TD width="49%">&nbsp;</TD>
 </TR>
</TABLE>
</BODY>
</HTML>
 
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 9779955
... forgot the </FORM> tag after the </TABLE> tag.
0
 

Author Comment

by:PieP
ID: 9780293
Can you please do this table for me, it's driving me mad. Then you got the points. Sorry!

                                                     Poor Average Good Excellent
1                                                      0        0           0        0
22                                                      0        0           0        0
3333                                                      0        0           0        0
444                                                      0        0           0        0
 
 
 

0
 

Author Comment

by:PieP
ID: 9780355
The checkoxes should be vertically aligned.
Thanks so much
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 17

Accepted Solution

by:
dorward earned 50 total points
ID: 9780430
<table>
<thead>
<tr>
<th scope="col" style="width: 50%;">Number</th>
<th scope="col">Poor</th>
<th scope="col">Average</th>
<th scope="col">Good</th>
<th scope="col">Excellent</th>
</tr>
</thead>
<tbody>

<tr>
<th scope="row">1</th>
<td><input type="radio" name="1" value="poor"></td>
<td><input type="radio" name="1" value="average"></td>
<td><input type="radio" name="1" value="good"></td>
<td><input type="radio" name="1" value="excellent"></td>
</tr>


<tr>
<th scope="row">2</th>
<td><input type="radio" name="22" value="poor"></td>
<td><input type="radio" name="22" value="average"></td>
<td><input type="radio" name="22" value="good"></td>
<td><input type="radio" name="22" value="excellent"></td>
</tr>


<tr>
<th scope="row">333</th>
<td><input type="radio" name="333" value="poor"></td>
<td><input type="radio" name="333" value="average"></td>
<td><input type="radio" name="333" value="good"></td>
<td><input type="radio" name="333" value="excellent"></td>
</tr>


<tr>
<th scope="row">444</th>
<td><input type="radio" name="444" value="poor"></td>
<td><input type="radio" name="444" value="average"></td>
<td><input type="radio" name="444" value="good"></td>
<td><input type="radio" name="444" value="excellent"></td>
</tr>

</tbody>
</table>
0
 

Author Comment

by:PieP
ID: 9781002
How can I have the radio butons directly under the 'Col' names.
And have the 'row' names directly under one another i.e. the first digit in the first row name should be directly inder the first digit of the second reow name.
Thanks
0
 
LVL 17

Expert Comment

by:dorward
ID: 9781393
err.... that's what the code I provided does!
0
 
LVL 9

Expert Comment

by:Dang123
ID: 9781613
This is a slight modification to dorward's code, is this what you mean PieP? (Please give dorward the points if this is right)

<table>
<thead>
<tr>
<th scope="col" style="width: 10%;" align="left">Number</th>
<th scope="col" style="width: 10%;">Poor</th>
<th scope="col" style="width: 10%;">Average</th>
<th scope="col" style="width: 10%;">Good</th>
<th scope="col" style="width: 10%;">Excellent</th>
</tr>
</thead>
<tbody>

<tr>
<th scope="row" align="left">1</th>
<td align="center"><input type="radio" name="1" value="poor"></td>
<td align="center"><input type="radio" name="1" value="average"></td>
<td align="center"><input type="radio" name="1" value="good"></td>
<td align="center"><input type="radio" name="1" value="excellent"></td>
</tr>


<tr>
<th scope="row" align="left">2</th>
<td align="center"><input type="radio" name="22" value="poor"></td>
<td align="center"><input type="radio" name="22" value="average"></td>
<td align="center"><input type="radio" name="22" value="good"></td>
<td align="center"><input type="radio" name="22" value="excellent"></td>
</tr>


<tr>
<th scope="row" align="left">333</th>
<td align="center"><input type="radio" name="333" value="poor"></td>
<td align="center"><input type="radio" name="333" value="average"></td>
<td align="center"><input type="radio" name="333" value="good"></td>
<td align="center"><input type="radio" name="333" value="excellent"></td>
</tr>


<tr>
<th scope="row" align="left">444</th>
<td align="center"><input type="radio" name="444" value="poor"></td>
<td align="center"><input type="radio" name="444" value="average"></td>
<td align="center"><input type="radio" name="444" value="good"></td>
<td align="center"><input type="radio" name="444" value="excellent"></td>
</tr>

</tbody>
</table>
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now