0

TRAVEL RESERVATION

i have used &nbsp for giving space but what should i do to align the text of both column <!DOCTYPE html> <html> <body> <center> <table> <tr><th><h1>TRAVEL RESERVATION FORM</h1></th></tr> <tr><th><h3>*denotes mandatory</h3></th></tr> <tr><td><table> <tr><td><input type="text" placeholder="Name" &nbsp>&nbsp;<input type placeholder="mobile number"></td></tr></table> <table> <tr><td><input type="email" placeholder="*Email ID"> <select name="Month of Travel"> <option value="Month of Travel">Month of Travel</option> <option value="jan">jan</option> <option value="feb">feb</option> <option value="march">march</option> <option value="april">april</option> <option value="may">may</option> <option value="june">june</option> <option value="july">july</option> <option value="aug">aug</option> <option value="sept">sept</option> </select></td></tr> </table> <table><tr><td> <select name="origin"> <option value="origin">origin</option> <option value="GOA">GOA</option> <option value="MUMBAI">MUMBAI</option> <option value="KERALA">KERALA</option> <option value="TAMILNADU">TAMILNADU</option> <option value="KOLKATA">KOLKATA</option></select> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<input type="text" placeholder="*Destination"> </td></tr></table> <table><tr><td> <input type="submit" value="GET A CALL"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

19th Sep 2018, 7:22 AM
shilpi kumari
shilpi kumari - avatar
7 Antworten
+ 3
I don't understand why you would want to use the non-breaking space to separate two items in the same cell but have them aligned differently. Why wouldn't you dedicate each piece of data to its own cell (td) and just make some invisible borders? If you want other rows to span multiple columns, there's a way to do that too. That way you don't need to have so many separate tables. For reference: https://www.w3schools.com/html/html_tables.asp
19th Sep 2018, 9:15 AM
Janning⭐
Janning⭐ - avatar
+ 1
you could use <br/> to place them in separate lines
19th Sep 2018, 7:47 AM
Roel
Roel - avatar
+ 1
thanks for the help i referred the w3school site and it does helped me
19th Sep 2018, 10:41 AM
shilpi kumari
shilpi kumari - avatar
0
Excellent! :)
19th Sep 2018, 11:50 AM
Janning⭐
Janning⭐ - avatar
0
Traveling teaches me the value of patience and adaptability. From long airport delays to sudden weather changes, things don’t always go as planned. But those moments often lead to the most unexpected and rewarding experiences. Traveling has definitely helped me become more flexible and better at going with the flow. https://vespabackstreet.com/vespa-tours-in-phnom-penh Phnom Penh Vespa Tour
11th Oct 2024, 2:15 PM
Mevish Jabeen
Mevish Jabeen - avatar
0
Travel reservations are crucial for ensuring a smooth journey, encompassing flights, accommodations, and activities. Utilizing online platforms allows travelers to compare prices, read reviews, and secure bookings in advance. Planning ahead not only saves money but also enhances the overall travel experience, reducing stress and allowing for better exploration. https://thrillofitaly.com/ Luxury Travel in Italy
27th Oct 2024, 1:56 PM
Mevish Jabeen
Mevish Jabeen - avatar
0
Pack a travel health kit with essentials such as prescription medications, pain relievers, antiseptic wipes, bandages, sunscreen, insect repellent, and any other specific medications you may need. Include any necessary medical documents for prescription drugs. www.sandytracks.com best south african travel agents
9th Nov 2024, 1:37 PM
Mevish Jabeen
Mevish Jabeen - avatar