extending Horizontal as well as vertical ????

Reply

Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

extending Horizontal as well as vertical ????

 
0
  #1
Feb 9th, 2005
OK folks.... struggling with this one!

You create a table, set the propeties so that t is 100% etc.... you place images in the outer cells, so you are forming a ring of out cells around the central/9th one.
Now, if you set the images to stretch as well, then view it in i.e... theres a problem.... the width is perfect... the height isn't!

Now, I think I have found away round this... just can't find where I put the page with my notes and an example on...... so does anyone else haveany ideas how to fix this, whether it breaks the code rules, whether other browsers have this issue etc.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 61
Reputation: 2ndPlatform is an unknown quantity at this point 
Solved Threads: 0
2ndPlatform's Avatar
2ndPlatform 2ndPlatform is offline Offline
Junior Poster in Training

Re: extending Horizontal as well as vertical ????

 
0
  #2
Feb 9th, 2005
Originally Posted by autocrat
OK folks.... struggling with this one!

You create a table, set the propeties so that t is 100% etc.... you place images in the outer cells, so you are forming a ring of out cells around the central/9th one.
Now, if you set the images to stretch as well, then view it in i.e... theres a problem.... the width is perfect... the height isn't!

Now, I think I have found away round this... just can't find where I put the page with my notes and an example on...... so does anyone else haveany ideas how to fix this, whether it breaks the code rules, whether other browsers have this issue etc.
Can we get a look at your code? Did you hard code height values? Heights can be tricky sometimes... sometimes I'll use spacer GIFs to get a height exactly how I want it. Doesn't sound like that would work for you though --

Send over your code, I'll take a look.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: extending Horizontal as well as vertical ????

 
0
  #3
Feb 9th, 2005
Ditto: post a hyperlink.

Also, make sure you're using a DocType so that the browser(s) know what they are and are not allowed to do with percentages, padding, margins, and so on.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: extending Horizontal as well as vertical ????

 
0
  #4
Feb 9th, 2005
damn... thought that would be a problem.... no doc type! AS soon as you put that it, it breaks!

Why for they not permit % height... they permit % width! ?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: extending Horizontal as well as vertical ????

 
0
  #5
Feb 9th, 2005
Because pages have a natural width: the width of the browser window.

Put there is no concept of "natural height". Pages extend indefinitely, past the bottom of the browser. A percentage would be a percentage of, what, exactly?
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: extending Horizontal as well as vertical ????

 
0
  #6
Feb 10th, 2005
I suppose thats a good point!
It just makes doing certain things difficult, or impossible!

Then again, there's quite a few things that the web languages have done that seem odd..... or should I say that the browsers have had done!
I don't understand why they have all the differences in browsers... if the language has defined settings, I believe the browsers should be forced to utilise these.... not do so if they wish!
Thats the hardest part of WSD, the flaming browser differences!
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: extending Horizontal as well as vertical ????

 
0
  #7
Feb 17th, 2005
OK.... I think I have a legitimat way of doing this.......
You just position things at the bottom of the page, with a Z-placement of a higher value!
That should work!
This, if you want the page to appear to be in a extending frame... you simply position relative to the bottom of the page..... where as if you position to the bottom of the window, the contents would appear to scroll through ???? (is that right?)
Also, is that permissable?
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 61
Reputation: 2ndPlatform is an unknown quantity at this point 
Solved Threads: 0
2ndPlatform's Avatar
2ndPlatform 2ndPlatform is offline Offline
Junior Poster in Training

Re: extending Horizontal as well as vertical ????

 
0
  #8
Feb 17th, 2005
Originally Posted by autocrat
OK.... I think I have a legitimat way of doing this.......
You just position things at the bottom of the page, with a Z-placement of a higher value!
That should work!
This, if you want the page to appear to be in a extending frame... you simply position relative to the bottom of the page..... where as if you position to the bottom of the window, the contents would appear to scroll through ???? (is that right?)
Also, is that permissable?
Hi Autocrat -- can you give us a look at how you did it? I'm not sure I follow what you're doing but would be interested to see...

Glad you found something that works though!
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: extending Horizontal as well as vertical ????

 
0
  #9
Feb 26th, 2005
Well, I've had a play..... I can position things at the bottom of the page using either CSS... which was problematic.... or I can make IE stretch to the bottom of the window if the page is shorter, and take a bottom aligned graphic with it..... alternatively, I have a JS code to do basically the same thing, so that it will overlay what ever is on the page, so it appears that things are scrolling from under it!
Make sense?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum


Views: 3750 | Replies: 8
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC