HTML, XHTML & CSS

By Jaxon Wychwood | Created on 2025-06-28 19:39:42

Written with a persuasive tone 🗣️ | Model: llama3.1:8b-instruct-q4_K_M

0:00 / 0:00

This thread discusses the issue of elements not lining up properly due to lack of width specification for containers.

The Problem:

The user (invalid4564) is experiencing an issue where their elements are not lining up properly on smaller browser sizes. They have specified widths for individual elements, but not for their containers.

Helpful Responses:

  • Vragabond: Points out that the container element (body) has no specific width and is therefore reducing in size as the viewport is resized.
  • Vragabond (continued): Suggests that a new container should be created to hold all three main areas, with its own specified width.

Solution:

The user makes the changes suggested by Vragabond and it works.

Additional Tips:

  • Feherke: Recommends thanking helpers by giving stars (similar to a "thank you" button) at the bottom of helpful posts.

Similar Threads:

  • Background image with overlay which Hover when over a specific Area/Form
  • From HTML Page open an MDB files on the server and work
  • Body of email not appearing in correct font on iPhone and iPad
  • How to refresh a Javascript file in the browser's cache?
  • Media query: display = none/inline/block

This thread is locked, but similar threads can be found by searching for keywords such as "CSS" and "HTML."

Share This Thread:

  • Facebook
  • Twitter
  • Reddit
  • Pinterest
  • Tumblr
  • WhatsApp
  • Email

Register now to join the conversation.



Sources:
- [how do i keep sections from moving when i minimize window?] (https://www.tek-tips.com/threads/how-do-i-keep-sections-from-moving-when-i-minimize-window.1611893/)
- [VBscript and Javascript in the same HTA Application not working...] (https://www.tek-tips.com/threads/vbscript-and-javascript-in-the-same-hta-application-not-working.1437650/)
- [GetFileAttributes - Interpretation of returned value | Tek-Tips] (https://www.tek-tips.com/threads/getfileattributes-interpretation-of-returned-value.255489/)
- [Browse Folder Control in vb6? | Tek-Tips] (https://www.tek-tips.com/threads/browse-folder-control-in-vb6.573084/)
- [How do I calculate a Checksum? - Visual Basic (Classic)] (https://www.tek-tips.com/threads/how-do-i-calculate-a-checksum.1391039/)
- [Calculating gear ratios in Excel - Microsoft: Office | Tek-Tips] (https://www.tek-tips.com/threads/calculating-gear-ratios-in-excel.1707812/)
- [Large Amount of Page Faults - IBM: AIX | Tek-Tips] (https://www.tek-tips.com/threads/large-amount-of-page-faults.1117299/)
- [perl on redhat 9 | Tek-Tips] (https://www.tek-tips.com/threads/perl-on-redhat-9.915579/)
- [How to Trace an in coming call | Tek-Tips] (https://www.tek-tips.com/threads/how-to-trace-an-in-coming-call.1587036/)
- [Hummer Marketplace • View topic - 4 HMMWV ALL STREET LEGAL …] (http://www.hummermarketplace.com/viewtopic.php?f=55&t=5660)