98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Dreamweaver Training and help » macromedia dream weaver training - Table
macromedia dream weaver training - Table
Resolved · Low Priority · Version Standard
Anna has attended:
Dreamweaver 8 Introduction course
Table
why do tables jump around and become out of line when viewed in browser?
Tables - fixed versus percentage
Hi Anna,
This is actually a feature which enables the information within table cells to adjust accordingly depending on the visitor's browser.
Not everyone has the same computer set up, especially when it comes to screen resolution. Some people may be using a mobile device with a very small screen. A graphic designer may be using an enormous monitor and have a huge resolution.
The good news is you are able to set the width of your table AND your cells with a combination of pixels and percentage if you so desire.
Personally, I find it best to not specify ANY width for any part of the table if I'm just showing a table of information. Most browsers do a very good job of displaying tables.
When it comes to design though, a table may need to be 100% in width, with the first cell locked at 100 pixels, leaving the second cell to stretch out over the remaining screen space on a user's screen. You can also use the 'nowrap' parameter to insist that a cell does not wrap text, unless you specify. This will even cause the browser to scroll sideways if the text pushes the cell far enough. This isn't such a good thing for the user, as it's natural to scroll down, but not to scroll sideways. As a result, NoWrap is usually only used on cells with a small amount of content.
A percentage width means the table will stretch or contract, even if the user resizes their browser window. It's best to test your page in all browsers on quite a few resolutions.
Good luck with your table designs, and remember to experiment with different widths. If you get really frustrated, remove all widths from all cells and the table itself, and start again. Remember, if you adjust tables or cells with the mouse in Dreamweaver, it automatically assigns them with width values, and you may not want it to.
Regards, Rich
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Dreamweaver tip:Quick Tag EditorIf you want to quickly access your HTMl tag while in design view, highlight your item on a page and press Ctrl+T |