HTML - Text flowing outside of table cell?
-
Dear Fellow Users, I am coding a website and in one of the text boxes, I have simply taken an image and set it as a background image so I can type over it. When I add content, it does not wrap around the cell, rather expand the cell causing the text to continue from left to right. How can I lock the table so the text wraps with the cell and does expand? I'm using Adobe Dreamweaver CS4, so where would I go in the CSS section to find this 'feature'? Best Regards, Neil
-
Answer:
Try using the overflow attribute to control the container. You gave no link to problem page, nor code, so short answer as I hate to guess in a long winded fashion. Ron
Neil at Yahoo! Answers Visit the source
Other answers
Ah, the ever-friendly html table. if I remember correctly, as you add text to a table cell in dreamweaver, it automatically expands to fit the text. if that is what you are trying to prevent, just drag the edge of the table back after you add the text, that might work. I haven't used dreamweaver since the end of the second quarter (school year). I prefer pure code, it tends to be much neater. you could also try adding this to the table cell opening tag (looks something like this: <td...>): width="size you want" if there already is a width attribute, just change the value to a lower number. if it is the height of the cell bothering you, it's the same principle, but the attribute is height instead of width, so: height="size you want" note that the size is in pixels, or you can use a % at the end and have percentage.
Xen
Related Q & A:
- How to display HTML table with angularJS?Best solution by Stack Overflow
- How do I create an HTML table, in jQuery, with JSON data?Best solution by Stack Overflow
- How do you write specific data to an HTML table?Best solution by Stack Overflow
- How do I text to someone's cell from my computer?Best solution by Yahoo! Answers
- Does a cell phone send a DPS location when you send a text message?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.