Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 8th, 2005, 09:14 AM
kevin01's Avatar
kevin01 kevin01 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 153 kevin01 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 54 m 30 sec
Reputation Power: 5
Exclamation Content stretches website's layout ..

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

Reply With Quote
  #2  
Old February 9th, 2005, 03:26 AM
kevin01's Avatar
kevin01 kevin01 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 153 kevin01 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 54 m 30 sec
Reputation Power: 5
please anyone.. its kinda urgent.

Reply With Quote
  #3  
Old February 9th, 2005, 04:45 AM
BonRouge's Avatar
BonRouge BonRouge is offline
Winemaster
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Sendai, Japan
Posts: 1,354 BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 2 h 52 m 6 sec
Reputation Power: 86
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.

Reply With Quote
  #4  
Old February 9th, 2005, 11:59 AM
kevin01's Avatar
kevin01 kevin01 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 153 kevin01 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 54 m 30 sec
Reputation Power: 5
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.

Reply With Quote
  #5  
Old February 9th, 2005, 04:36 PM
BonRouge's Avatar
BonRouge BonRouge is offline
Winemaster
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Sendai, Japan
Posts: 1,354 BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 2 h 52 m 6 sec
Reputation Power: 86
You know, it takes 2 minutes (often a lot less - sometimes 2 seconds) to upload a webpage.

Reply With Quote
  #6  
Old February 10th, 2005, 03:32 AM
X-plozive X-plozive is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 107 X-plozive User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 4 m 20 sec
Reputation Power: 5
Quote:
Originally Posted by kevin01
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.

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

Reply With Quote
  #7  
Old March 3rd, 2005, 05:01 PM
amassedaura's Avatar
amassedaura amassedaura is offline
"I'm dulled by excess..."
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: London, England
Posts: 237 amassedaura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 17 h 38 m 36 sec
Reputation Power: 5
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

Reply With Quote
  #8  
Old March 16th, 2005, 09:04 AM
jsKid's Avatar
jsKid jsKid is offline
Application is what Divides Us
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Dec 2002
Location: Titusville, FL
Posts: 2,162 jsKid User rank is Sergeant Major (2000 - 5000 Reputation Level)jsKid User rank is Sergeant Major (2000 - 5000 Reputation Level)jsKid User rank is Sergeant Major (2000 - 5000 Reputation Level)jsKid User rank is Sergeant Major (2000 - 5000 Reputation Level)jsKid User rank is Sergeant Major (2000 - 5000 Reputation Level)jsKid User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 10 h 32 m 30 sec
Reputation Power: 52
Send a message via AIM to jsKid Send a message via MSN to jsKid
MySpace
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>
__________________
Download [ Fx | Op ] Validate [ Markup | Css ]

Reply With Quote
  #9  
Old March 16th, 2005, 09:58 PM
slayed slayed is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 24 slayed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 19 m 3 sec
Reputation Power: 0
It looks to me you just need to define the <td>'s height?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Content stretches website's layout ..


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway