Jump to content

adjustable width


catfish

Recommended Posts

I have made my first attempt at an expanding layout for this new website. I am happy with it but upon furthur investigation I see when the browser is smaller the layout is no longer centered.

 

I have a horizontal navigation that I don't want stacking as well as a right hand image in the banner that I don't want overlapping with the left so I have placed a min-width of 920px on the container. When I remove this the container will stay centered but the nav and the image overlap.

 

this is the css for the #container;

 

#container{

margin:19px 15%;

background-color: #efefef;

border:1px solid #4b4a4a;

border-bottom:2px solid #4b4a4a;

min-width:920px;

}

 

Any suggestions would be great. My link is here;:)

http://www.catfishwebcreations.com/DrSmith/red.html

 

Thanks!

Link to comment
Share on other sites

Yes it is better. Now what I notice though is that it throws off my matching columns. The smaller the browser, the more the right column moves down.

 

(actually, I guess I always did??) Can you see why?)

Edited by catfish
Link to comment
Share on other sites

Ok, I think it is working fine now in FF, IE, but not in Safari or Opera??
I didn't see that happening in FX earlier - and just now tried Opera (9.6) and Safari (3.2), and on both I just get the horizontal scrollbar when the window gets too narrow, but the layout doesn't break...
Link to comment
Share on other sites

Hi, :)

 

I like the site - it looks good! Why do you have different styles for the container on the home page and the others? The home page looks good - that's how you should do the others in my opinion. If you continue with the adjustable width, then you should give it a max width as well. Did you have a more specific question?

Link to comment
Share on other sites

I checked it again - and the columns stay in place.

 

I agree with Eric about setting a max width - with the ever-higher resolutions possible these days, it can get pretty difficult to follow a line of text that stretches 1700px or more.

Link to comment
Share on other sites

Oh my, I forgot that the links are active. I was trying 3 different styles/color schemes for this client, this one being the last. It is in the early stages of filling content, so yes all the pages will be the same in the end. He likes this one as well. Thankyou for that.

 

I wondered about a max-width as well but was unsure what it should be. What do you think for max-width?

 

When I hit the restore down button in most if not all the browsers the "back to top" link goes into the footer still. This is my specific question. Are you getting this too?

Edited by catfish
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...