[Skip to main content](#vessel-content)

#   Shipment/Delivery options not aligned

##

- **[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")**
- [![madjedo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35774-madjedo "View madjedo's Profile") Topic Author
- [ Offline](/forum/user/35774-madjedo)

Less More

- Posts: 59
- Thank you received: 1
-
-

11 years 9 months ago -  11 years 9 months ago [\#189452](#189452) by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile")  *[Shipment/Delivery options not aligned](/forum/27-checkout/874751-shipment-delivery-options-not-aligned#189452 "-- url of the page with the problem -- : localhost -- HikaShop version -- : business  While at the checkout page, I notice that the shipment and delivery options are not aligned properly on my page.  Please view my uploaded screen for reference. I would like the tables to align properly.  Best Regards,  madjedo")* was created by *[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")*

-- url of the page with the problem -- : localhost
-- HikaShop version -- : business

While at the checkout page, I notice that the shipment and delivery options are not aligned properly on my page.

Please view my uploaded screen for reference. I would like the tables to align properly.

Best Regards,

madjedo

- [ ![not&#95;aligned.jpg](/forum/attachment/22127) ](/forum/attachment/22127 "not&#95;aligned.jpg") [ ](/forum/attachment/22127?download=1 "not&#95;aligned.jpg")

Last edit: 11 years 9 months ago by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NDc1MS1zaGlwbWVudC1kZWxpdmVyeS1vcHRpb25zLW5vdC1hbGlnbmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")**
- [![madjedo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35774-madjedo "View madjedo's Profile") Topic Author
- [ Offline](/forum/user/35774-madjedo)

Less More

- Posts: 59
- Thank you received: 1
-
-

11 years 9 months ago [\#189458](#189458) by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile")  Replied by *[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")* on topic *[Shipment/Delivery options not aligned](/forum/27-checkout/874751-shipment-delivery-options-not-aligned#189458 "-- url of the page with the problem -- : localhost -- HikaShop version -- : business  While at the checkout page, I notice that the shipment and delivery options are not aligned properly on my page.  Please view my uploaded screen for reference. I would like the tables to align properly.  Best Regards,  madjedo")*

I think I solved this by changing a bit in .css
Code:

\#hikashop_shipping_methods table {border-collapse:collapse; width:500; table-layout:fixed;} /*ändrat width och fixed */ #hikashop_shipping_methods td {padding:10px 10px;} #hikashop_payment_methods table {border-collapse:collapse; width:500 table-layout:fixed;} /*ändrat width och fixed */ .hikashop_checkout_payment_description{margin-left:15px}

Basically just added fixed to table layout and set the width. Had to edit some margins aswell. Was this right? Or am I missing something?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NDc1MS1zaGlwbWVudC1kZWxpdmVyeS1vcHRpb25zLW5vdC1hbGlnbmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 9 months ago [\#189485](#189485) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Shipment/Delivery options not aligned](/forum/27-checkout/874751-shipment-delivery-options-not-aligned#189485 "-- url of the page with the problem -- : localhost -- HikaShop version -- : business  While at the checkout page, I notice that the shipment and delivery options are not aligned properly on my page.  Please view my uploaded screen for reference. I would like the tables to align properly.  Best Regards,  madjedo")*

Shipping and payment methods in checkout are two separate, independent HTML tables. By default, the table cell widths display depending on their content, eventually both tables appearing differently and "not aligned".

So, yes, applying CSS is a way of "controlling" it. However, adding code per individual table (cell) as you did to make it appearing like the other, might work but can be fiddly - and unreliable if content changes, or even from browser to browser.

IMHO, it'd be simpler and reliable if you applied the same CSS for both tables/cells. Once done right, it's guaranteed that both tables will always display the same way (= "aligned").

Just my 2 cents... but of course, do whatever works best for you. ![;)](/media/kunena/emoticons/24.png ";)")

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NDc1MS1zaGlwbWVudC1kZWxpdmVyeS1vcHRpb25zLW5vdC1hbGlnbmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
