![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Cartoper <carto... (AT) gmail (DOT) com> wrote: Why? What harm is there in XHTML 1.0 Strict doctype? Look at http://www.spartanicus.utvinternet.ie/no-xhtml.htm |
|
I might have been looking at old link when i posted http://netweaver.com.au/test/cartoper.html I am sure, to say it again, you can add and modify this basic skeleton to suit yourself. Just be careful of absolute positioning, it really is too tricky and unnecessary for normal and simple layouts like yours. |

#12
| |||
| |||
|
|
On Sep 29, 9:17 pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote: Cartoper <carto... (AT) gmail (DOT) com> wrote: Why? What harm is there in XHTML 1.0 Strict doctype? Look at http://www.spartanicus.utvinternet.ie/no-xhtml.htm Food for thought, thanks! I might have been looking at old link when i posted http://netweaver.com.au/test/cartoper.html I am sure, to say it again, you can add and modify this basic skeleton to suit yourself. Just be careful of absolute positioning, it really is too tricky and unnecessary for normal and simple layouts like yours. I do believe you where thinking of the first version when you posted your reply, no worries ![]() I agree with you that what you see right now is VERY basic, but it isn't going to be staying basic for very long. One of the objectives of the basic frame (header/contentAll/footer) is that on other pages I need to find out how many pixels tall and wide the contentAll div is for a more complex layout. At times the contentAll div will be joined by another column, such that the contentAll is about 70% of the screen. The real key is that at all times on these other pages the exact size of the contentAll and this other column will need to be known. The best I have been able to find to determine that is to use absolute positioning like I have and then use JavaScript to determine the size of the two div elements I am interested in. If there is a better, simplier way to do that, I am all ears! (well, I guess eyes in this case<grin>) |
#13
| |||
| |||
|
|
I would never attempt such things, myself. I have seen big strong grown adults weeping in gutters, broken from trying to keep track of so many pixels. Whereas I see the happiest and most carefree people walking about knowing they have made more fluid layouts, based on em and % dimensions so that their information and layouts adapt to the different browsers and screens and text sizes preferred by users. They rest easy at night and sleep well. The pixel worriers cannot sleep well and they become pinched and pale and gaunt... <g |
#14
| |||
| |||
|
|
Cartoper wrote: Have a look at this site: http://pahountis.zenfolio.com/p925877948 JavaScript is not necessary to make a page like that zenfolio page. |
|
See this page of mine:http://fingerlakesbmw.org/visual/flmgshow.php No JavaScript at all, and it sure seems to work just like your sample above. My original question still stands, how do I center the buttons on this page: http://cartoper.ueuo.com/centering.htm dorayme already gave you an example. You are way too deep into absolute and pixel precision. |
#15
| |||
| |||
|
| http://pahountis.zenfolio.com/p925877948 The key difference between the link you provided and Zenfolio's site, which requires JavaScript is that assuming you have the browser in which you are viewing Zenfolio at a minimum size (I am guessing that of a 800x600 display) there never any scroll bars! |

|
I simply want to know, given the framework I have to work with, how do I center the inner div? |
#16
| |||
| |||
|
|
Regardless, I don't see how this is really a CSS issue. I suggest going to a JavaScript or design group instead. |
#17
| |||
| |||
|
|
If I still have not made my needs clear, let me try another approach: I want to display as many images as possible in a given area without using scroll bars. |
#18
| ||||
| ||||
|
|
On Sep 30, 9:15 am, "Beauregard T. Shagnasty" a.nony.m... (AT) example (DOT) invalid> wrote: Cartoper wrote: Have a look at this site: http://pahountis.zenfolio.com/p925877948 JavaScript is not necessary to make a page like that zenfolio page. [snip] See this page of mine:http://fingerlakesbmw.org/visual/flmgshow.php No JavaScript at all, and it sure seems to work just like your sample above. My original question still stands, how do I center the buttons on this page: http://cartoper.ueuo.com/centering.htm |
|
The ONLY way I see to do this is to find out the exact size in pixels in which to place images, find out the exact size in pixels of each image object (image and caption), and then calculate how many can be loaded. |
|
If I still have not made my needs clear, let me try another approach: I want to display as many images as possible in a given area without using scroll bars. |
|
question: "I would like to get centered both horizontally and vertically.", dorayme never answered how to center it vertically. |
#19
| |||
| |||
|
|
Do this, go back to the Zenfolio site and resize the page. What you will discover is that as the window size gets larger, more images appear (and the number of pages goes down), as you make the window smaller, images go away and the number of pages increase. This I find to be a very fluid and elegant design, which is what I am working on copying. The ONLY way I see to do this is to find out the exact size in pixels in which to place images, find out the exact size in pixels of each image object (image and caption), and then calculate how many can be loaded. To the best of my knowledge there is no way to do this exclusively in the backend. The page has 155 HTML errors. The errors include invalid characters in |
![]() |
| Thread Tools | |
| Display Modes | |
| |