3 replies [Last post]
paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 6 years 23 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

I have finally managed to put up a pure CSS structure for my site. But before I go ahead and do all the hacking for the content, I thought I might verify a few things and doubts I have. The site structure can be seen here: http://www.techsatcomputers.com/index2.htm and the CSS can be seen here: http://www.techsatcomputers.com/style.txt

I have done all of the positioning with Absolute positioning. I am wondering if that is the right approach. I don't know when and how to use relative positioning if ever I need it or is more suitable/convenient/complient.

Also I could verify the page layout only in the following browsers: IE 6(Windows) and {Opera 7.1, Konqueror 3.1 and Galeon 1.33(all Linux) } . It looks perfect in all of them except for in Konqueror the content area box bottom border doesn't show up. Could anyone of you verify this and also if able to test on netscape 4.7 and up please let me know the results.

Appreciate your time. Cheers, Jeffery

http//melbourne.ug.php.net

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 3 years 38 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

Structure Layout comments please

From what I can tell with your absolute positioning, the layout is fixed to the pixel (well basically), so should the content overflow the space given... well I'm not sure what would happen.

If you don't understand relative positioning it's probably best to stick with this for now... Laughing out loud It's a bit more flexible but can also be a right pain in the arse.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 6 years 23 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

Structure Layout comments please

dJomp wrote:
From what I can tell with your absolute positioning, the layout is fixed to the pixel (well basically), so should the content overflow the space given... well I'm not sure what would happen.

If you don't understand relative positioning it's probably best to stick with this for now... Laughing out loud It's a bit more flexible but can also be a right pain in the arse.

So what is the solution if the content area gets bigger than the fixed height of 1500 pixels. I assume it would be a major problem with smaller resolution monitors as the content area will decrease but the content data will be the same. How can I tackle this situation ? I am aware that if I put in a overflow: auto or something like that the content will get a scrollbar with the extra contents. But that would not be my perfect solution. Could someone give me some suggestions ?

http//melbourne.ug.php.net

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 3 years 38 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

Structure Layout comments please

The honest answer? You're not going to like it though...

It'd be to rewrite quite a bit of it to be in the 'normal flow' or relative. The header could stay; the red bordered box for one should be relative - a margin-top of 100px or so should knock it underneath the header.

I #think# you can then declare a relative box at the bottom, and do the footer absolutely within that. I #think#. Never played with that before. Hopefully someone else here can help you there...

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.