Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Other Languages

Post new topic   Reply to topic
Text Alignment
View previous topic :: View next topic  
Author Message
shminhas
Newbie


Joined: 13 Jan 2004
Posts: 4

PostPosted: Jan 15th, 2004 08:12 PM    Post subject: Text Alignment Reply with quote

I have a HTML file, which is attached. Problem is that the when we run the file the question nos are not vertical align in middle of the written question.

Please suggest the Code for proper Alignment
Back to top
View user's profile Send private message Send e-mail
Avis
Junior Poster


Joined: 07 Oct 2003
Posts: 510
Location: India

PostPosted: Jan 16th, 2004 07:29 AM    Post subject: Reply with quote

Hi!

I will recommend that you use tables! So the following code will do the job for you:

Code:
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="38%" id="AutoNumber1">
  <tr>
    <td width="18%" align="center">Q1)</td>
    <td width="82%">&nbsp;<IMG SRC = "Question 1.gif" width="236" height="46"></td>
  </tr>
  <tr>
    <td width="18%" align="center">Q2)</td>
    <td width="82%">&nbsp;<IMG SRC = "Question 2.gif" width="234" height="41"></td>
  </tr>
</table>


Hope this helps!
_________________
Code Snippets, Tutorials, Utilities, Controls

Low cost Web Hosting
Hosting starts at as low as $4 per year!


Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Other Languages All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic