vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Newbie in need of basic html help. (https://vborg.vbsupport.ru/showthread.php?t=112987)

mcgrco 04-14-2006 10:35 AM

Newbie in need of basic html help.
 
1 Attachment(s)
Ok, Please dont laugh at how basic a question this is but Im trying to customise a form hack for my board. I have no html experience other than what I'm learning at the moment. Its a interesting learning curve! I'm also travelling at the moment so I dont have a perment pc! Anyway, Im chopping and changing a generic form but i can't 4 boxs to align properly. The html code is attached. Sorry about the bad indentation I'm using someone elses code!

The screen shot is attached. I want the second box with "general" to be smaller and the 2nd pulldown list to fit.

Code is

<tr>
<td class="alt1" valign="middle">
<b>General</b>:<br />
Place holder for Khmer</td>
<td class="alt1" valign="left" colspan="1">
<select name="General">
<option value="No apparant Distress">No apparant Distress</option>
<option value="Mild distress">Mild distress</option>
<option value="Severe Distress">Severe Distress</option>
</select></td>
<td class="alt1" valign="left" align="left" >
<b>General</b>:<br />
Place holder for Khmer</td>
<td class="alt1" valign="left" align="left" colspan="1">
<select name="General">
<option value="No apparant Distress">No apparant Distress</option>
<option value="Mild distress">Mild distress</option>
<option value="Severe Distress">Severe Distress</option>
</select></td></tr>

Any help is appreciated.

peterska2 04-14-2006 01:56 PM

check the row above this and make sure that it is specified to be colspan="4" otherwise it will always kick out your 3rd column.

Also, as a freindly tip, don't have both dropdowns with the same select name as this will confuse the poor form when you go to submit the data.

mcgrco 04-14-2006 03:42 PM

Kerry-Anne ,

Many thanks for your reply and for the tip. I'll give it a go when I get a chance. Its 10pm here so off for a beer. I can code in VBA so i know the importance of making variables unique. I was trying to get the format issue sorted before I gave it a unique name.
As a newbie constructive critism is important and I welcome it. Its the only way to learn.


thanks again.

Conor

arrrgh, Im going bad to worse her. Any chance you could have a quick look!

http://www.medicorps.org/mirn/newthread.php?do=form

these things usually take me a while before I realise what the hell I'm doing!


<!-- header -->
<tr>
<td class="tcat" colspan="4">
<b>This section deals with then general condition of the Patient</b>
</td>
</tr>


<tr>
<td class="alt1" valign="middle">
<b>General</b>:<br />
Place holder for Khmer</td>
<td class="alt1" valign="left" colspan="1">
<select name="General">
<option value="No apparant Distress">No apparant Distress</option>
<option value="Mild distress">Mild distress</option>
<option value="Severe Distress">Severe Distress</option>
</select></td>
<td class="alt1" valign="left" align="left" >
<b>General</b>:<br />
Place holder for Khmer</td>
<td class="alt1" valign="left" align="left" colspan="3">
<select name="General">
<option value="No apparant Distress">No apparant Distress</option>
<option value="Mild distress">Mild distress</option>
<option value="Severe Distress">Severe Distress</option>
</select></td></tr>

Thanks in advance

Ok, worked out what you meant and of course it makes sence now. all googd now.

Thanks again


All times are GMT. The time now is 03:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00949 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete