![]() |
newb html problem...please help...
Im using dreamweaver and i created a table and set its height and width values. when i type and it hits the edge of the table it makes the table expand rather than going down to the next line...wtf is wrong with my table?
|
post the html
|
It's hard for me to explain here but two things I suggest is worry about the text after you have written it all then space the table correctly. If you're saying it will not go in paragraph form and it's all on one line that's because you have it set to "preformatted" and you should set it to "paragraph" and it will write correctly. Still worry about the spacing after you have the words written.
|
<html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <table width="500" heigth="500" border="0"> <tr width="500" height="500" border="0"> <td width="500" height="500" border="0"> <img src="http://www.helpmyhtml.com/myhtmlisshitty/slice.jpg"> this text stays on one line and keeps getting longggggggggggger </td> </tr> </table> </body> </html> |
Not sure what u expect to happen it's a table with a single row and single cell which is set to 500px width. The width is therefore 500px...
|
well i want to just fill up 500x500 with text. however, when i reach the end of the table (ie the 500th px) it doesnt go to the next line, it makes the table wider.
|
Yeah man you're going to have to play around with a lot more you have to learn a lot more. You should make more columns and put things in their own columns.
|
no no, i know what im doing. this has never happened before....my other tables work fine
|
Quote:
|
<td width="500" height="500" border="0"> just remove the width and the height of the cell and set the line to this <td> and it will work for you mate... :)
|
|
this will work for you...:
<table width="176" heigth="500" border="0"> <tr> <td> <img src="http://www.helpmyhtml.com/myhtmlisshitty/slice.jpg"> this text stays on on das a asd as dasasd sa das dsa daddas asd asd as dasd asd asd asd asd as as as dasd as asda das asdasdas das asd as asdasa asas</td> </tr> </table> Anyways you have many settings that you don't really need setup here... :pimp |
your code...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <table width="500" heigth="500" border="0"> <tr width="500" height="500" border="0"> <td width="250" height="500" border="0"> <img src="http://www.perfectforporn.com/maximumpills/slice.jpg">hdfkhasdlkfhasooooooooooooooooo kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkk</td> <td width250 height="500">dgdgsdfllllllllllllllllllllllllllllll lllllgdsf</td> </tr> </table> </body> </html> try like this <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <table width="500" heigth="500" border="0"> <tr> <td width="250"> <img src="http://www.perfectforporn.com/maximumpills/slice.jpg">h d f k h a s d l k f h as o o o o o o oo o oo o oo o o o kk kkkkkkkk kkkkkkkk kkk kkkkkkkkkkk kkkkkkkkkkkkkkk kkkkkkk</td> <td width="250">dg dgs dflllllllll llllllllllllllllllll llllllgdsf</td> </tr> </table> </body> </html> |
problem solved...to some degree....apparently if you have a word that is longer than the width of the table it will expand it....this makes no sense...
|
oh almost forgot. thanks for the help :thumbsup
|
Quote:
|
Whoa..!
Could it be something as simple as spelling..? I don't know if it's the case here, but check this: <table width="500" heigth="500" border="0"> <tr width="500" height="500" border="0"> Notice how You have "height" spelt differently in those two lines? The correct spelling is "height", not "heigth". These kind of errors are WAY to easy to get when coding tired, dealt with that a few times myself :upsidedow |
Quote:
|
Just relax.....don't hit the tables so hard.....
All you need is one click. |
man, just set the CELL width of it.
Example [CODE] <table align="center"> <tr> <td width="600">TEXT GOES HERE</td> </tr> </table> |
la la la!
|
All times are GMT -7. The time now is 07:28 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123