Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2006, 10:35 AM
mcgrco mcgrco is offline
 
Join Date: Mar 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Newbie in need of basic html help.

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.
Attached Images
File Type: jpg untitled.JPG (18.8 KB, 0 views)
Reply With Quote
  #2  
Old 04-14-2006, 01:56 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 04-14-2006, 03:42 PM
mcgrco mcgrco is offline
 
Join Date: Mar 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:34 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.03705 seconds
  • Memory Usage 2,196KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete