Reply to topic  [ 5 posts ] 
Website help 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
Hi all,

I'm redesigning my website ( http://hashbang0.com/hashbang0/ ), and I want some advise on several aspects.

Firstly, I want to add a 'sidebar' to the left of the main content, I'd use a floating div for this I presume?

Secondly, I have a problem with resizing the little window, what I would like to happen is that it can be as big as one would like, but it has to be at least X big, is that possible? If it is I would guess that the right side would fall off the window...The other desirable effect would be when a div gets X small, it starts to scroll, but I'd prefer the first effect...

That's it for now I think,

Thanks,
Ben


Sun Dec 06, 2009 5:52 pm
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:25 pm
Posts: 10691
Location: Bramsche
Reply with quote
Yep, a floating div should work for the first.

In the CSS for the window, set the minimum X width, then set its actual width to be a percentage, it should then adjust its width, but not go below the minimum width.

For scrolling, again, set the div's scroll mode to automatic.

_________________
"Do you know what this is? Hmm? No, I can see you do not. You have that vacant look in your eyes, which says hold my head to your ear, you will hear the sea!" - Londo Molari

Executive Producer No Agenda Show 246


Sun Dec 06, 2009 8:58 pm
Profile ICQ
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 6:44 pm
Posts: 4141
Location: Exeter
Reply with quote
big_D wrote:
Yep, a floating div should work for the first.

In the CSS for the window, set the minimum X width, then set its actual width to be a percentage, it should then adjust its width, but not go below the minimum width.

For scrolling, again, set the div's scroll mode to automatic.


I thought IE6 (and possibly IE7) don't support the minimum-width function?

_________________
"The woman is a riddle inside a mystery wrapped in an enigma I've had sex with."


Mon Dec 07, 2009 7:29 am
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
jonlumb wrote:
big_D wrote:
Yep, a floating div should work for the first.

In the CSS for the window, set the minimum X width, then set its actual width to be a percentage, it should then adjust its width, but not go below the minimum width.

For scrolling, again, set the div's scroll mode to automatic.


I thought IE6 (and possibly IE7) don't support the minimum-width function?


I presume if they don't, as a browser is resized, it will all just squish up as it does now?

And Dave, thank you very much for your reply :)


Mon Dec 07, 2009 10:40 am
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:25 pm
Posts: 10691
Location: Bramsche
Reply with quote
IE7 should recognise it.

IE6 - the user is at fault :lol:

Any parameters which aren't recognised will be ignored, so yes, it should work like it does now.

_________________
"Do you know what this is? Hmm? No, I can see you do not. You have that vacant look in your eyes, which says hold my head to your ear, you will hear the sea!" - Londo Molari

Executive Producer No Agenda Show 246


Mon Dec 07, 2009 11:35 am
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.