|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hi ,
i did a design in photoshop , exported the design as html page and then edited it in dreamweaver. The problem is that when i put content which is bigger than the actual table size of the website it stretches all the website's height and everything is messed. I want do make it so when i enter content to stretch only the footer and to leave everything in its current position. Table code starts like this.. : Code:
<table width="781" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td rowspan="6"> Any help appreciated Regards , Kevin |
|
#2
|
||||
|
||||
|
please anyone.. its kinda urgent.
|
|
#3
|
||||
|
||||
|
I think that's one of the biggest dangers of using tables for layout. I'm afraid I don't have a good answer for you besides suggesting you learn how to make webpages without using tables for layout.
Having said that, if you post a link to your page I'll have a look and see if there's anything I can do to help. |
|
#4
|
||||
|
||||
|
unfortunately the website is not upload on a webserver yet. What im most wondering is that , when i create a table based layout website from scratch theres no problem. When i import layouts made in photoshop , i have this problem.
|
|
#5
|
||||
|
||||
|
You know, it takes 2 minutes (often a lot less - sometimes 2 seconds) to upload a webpage.
|
|
#6
|
|||
|
|||
|
Quote:
Thats because when you SLICE images from photoshop they dont act as a background and dont stretch...unless you set them as a bg, but it wont always work unless you use css with it aswell... So you may aswell just do it from scratch ![]() |
|
#7
|
||||
|
||||
|
It's just an idea, but it might be something to do with the 'rowspan'. It's set to 6, which suggests that whatever you're trying to do could probably be done a much easier and more efficient way. Could you post the code of the whole table, or even better, the whole page?
It sounds like a problem I myself am keen to try and figure out. I suppose I'm quirky like that! If you don't want to post these on the forum, message me and I'll have a look for you ![]() |
|
#8
|
||||
|
||||
|
by content you mean the text portion which is overflowing
the table boundaries that you expected to work... if no then disregard this post, ---- if necessary.. you could always use styles to help control the content of your page. Code:
table {
width: 800px;
height: 450px;
cell-spacing: 0px;
cell-padding:5px;
border: solid 1px #000000;
}
td {
width: #px;
height: #px;
}
or in the TABLE and TD tags themselves... Code:
<table...style="width:800px;height:450px;..."> <tr> <td...style="width:#px;height:#px;...">...</td> </tr> </table> |
|
#9
|
|||
|
|||
|
It looks to me you just need to define the <td>'s height?
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Content stretches website's layout .. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|