944,161 Members | Top Members by Rank

Ad:
Feb 9th, 2005
0

extending Horizontal as well as vertical ????

Expand Post »
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.
Similar Threads
Reputation Points: 63
Solved Threads: 12
Posting Pro in Training
autocrat is offline Offline
427 posts
since Feb 2005
Feb 9th, 2005
0

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

Quote 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.
Reputation Points: 15
Solved Threads: 0
Junior Poster in Training
2ndPlatform is offline Offline
61 posts
since Nov 2004
Feb 9th, 2005
0

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

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.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Feb 9th, 2005
0

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

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! ?
Reputation Points: 63
Solved Threads: 12
Posting Pro in Training
autocrat is offline Offline
427 posts
since Feb 2005
Feb 9th, 2005
0

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

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?
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Feb 10th, 2005
0

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

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!
Reputation Points: 63
Solved Threads: 12
Posting Pro in Training
autocrat is offline Offline
427 posts
since Feb 2005
Feb 17th, 2005
0

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

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?
Reputation Points: 63
Solved Threads: 12
Posting Pro in Training
autocrat is offline Offline
427 posts
since Feb 2005
Feb 17th, 2005
0

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

Quote 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!
Reputation Points: 15
Solved Threads: 0
Junior Poster in Training
2ndPlatform is offline Offline
61 posts
since Nov 2004
Feb 26th, 2005
0

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

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?
Reputation Points: 63
Solved Threads: 12
Posting Pro in Training
autocrat is offline Offline
427 posts
since Feb 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: New to php and getting frustrated
Next Thread in HTML and CSS Forum Timeline: Html basic question "creating a board thing"





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC