Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Stretching My Site Vertically, Using CSS or HTML
MediYama
post Jul 13 2007, 03:19 PM
Post #1


Member - Active Contributor
Group Icon

Group: Members
Posts: 93
Joined: 11-June 07
Member No.: 22,564



I know it's possible, I've seen it one time. But I forgot. Many websites, if they hold more content than there is room for in the minimum height, the site stretches vertically. How can I do this? I only know that I need a background image of 1px height.

Thanks in advance

MediYama
Go to the top of the page
 
+Quote Post
yordan
post Jul 13 2007, 04:12 PM
Post #2


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 1,925
Joined: 16-August 05
Member No.: 7,896



Err...
May I suggest you to read the vujsa tutorial here : http://www.astahost.com/index.php?showtopic=2998
first create his very simple first page, with a small text displayed.
Then, add a second line of text and see how it looks.
You will see that, as long as you add more lines of text, your web page will stretch down to fit whole text you want to display.
So, the stretching downwards feature is a normal feature of a standard webpage.
If the page you mentionned in your topic does not stretch down, then, there is a problem attached to your page, like forcing a fixed size to your page.
Go to the top of the page
 
+Quote Post
MediYama
post Jul 13 2007, 05:44 PM
Post #3


Member - Active Contributor
Group Icon

Group: Members
Posts: 93
Joined: 11-June 07
Member No.: 22,564



You don't get my point yordan. One thing I have figured out though. If you have a div style with your contents in it, and it has a background image or colour, how does the color stretch together with the content?
Go to the top of the page
 
+Quote Post
yordan
post Jul 13 2007, 07:57 PM
Post #4


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 1,925
Joined: 16-August 05
Member No.: 7,896



QUOTE(MediYama @ Jul 13 2007, 07:44 PM) *
You don't get my point yordan. One thing I have figured out though. If you have a div style with your contents in it, and it has a background image or colour, how does the color stretch together with the content?

Just try what I was telling you, you will see that your background image will be side-to-side reproduced downards and rightwards in order to cover the whole text displayed in your webpage.
Simply choose an image whose border will with a weak border, so that it intermixes well.
Go to the top of the page
 
+Quote Post
MediYama
post Jul 14 2007, 06:10 PM
Post #5


Member - Active Contributor
Group Icon

Group: Members
Posts: 93
Joined: 11-June 07
Member No.: 22,564



Ah well, I solved it by myself already. Thank you anyways! smile.gif
Go to the top of the page
 
+Quote Post
jlhaslip
post Jul 15 2007, 03:00 AM
Post #6


Advanced Member
Group Icon

Group: Members
Posts: 179
Joined: 15-November 05
From: Inland from the Left Coast of Canada
Member No.: 9,627



Would it be possible for you to post up some of the original code and then some of the fixed code so that others might learn from your trials?
After all, that is the purpose of the Forum. You came here asking for assistance but don't appear to willing to assist others. Not very good Netiquette...
Go to the top of the page
 
+Quote Post
Sten
post Jul 15 2007, 04:32 AM
Post #7


Oh come on Mrs. B!
Group Icon

Group: Members
Posts: 648
Joined: 6-June 07
From: Tasmania, Australia
Member No.: 22,422



well im not sure if this is wot u mean but...

HTML
<table>
<tr>
<td height="100%" background="wotever.wotever">
content goes here just keep going and it will get bigger
</td>
</tr>
</table>


if thats wot u mean.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Basic Tips and Tricks in HTML(15)
  2. Embedding XML into HTML(2)
  3. Music On My Site?(18)
  4. Help me(3)
  5. Add A Search Box To My Web Site(10)
  6. How Do You Put Flash Into Your Site?(7)
  7. Find Out Dead Links In Your Site Automatically(11)
  8. Force Object To Load Last(2)
  9. Free Shoutbox? HTML, Flash or PHP Code(24)
  10. Redirecting All Htm Files To Php Site...(8)
  11. How Do I Keep A Background On My Site(14)
  12. Home Videos(4)
  13. Bulletproof HTML: 37 Steps To Perfect Markup(4)
  14. Thinking About An "audio" Web Site(4)
  15. Need Help With Multi-lingual Site Design(6)
  1. Cvs For Maintaining Your Site(0)
  2. Unicode Encoded Site - Characters Not Displaying Properly?(4)
  3. Quick Tips On Html And Css(11)
  4. Firefox Inventing Its Own Html?(9)
  5. Scripts And Html(13)
  6. Html Stats(3)
  7. About Html(15)
  8. Html Table Issue.(18)
  9. Html Emails How?(12)
  10. Sitepoint's Css And Html Reference Sites(2)
  11. Website Navigation Hover Buttons Stick So Made Css Today(7)
  12. Yaml - (x)html/css Framework(2)
  13. Style P And H? Html Tags(2)


 



- Lo-Fi Version Time is now: 24th July 2008 - 07:44 PM