CSS/ Div Positioning problem

Reply

Join Date: Nov 2006
Posts: 33
Reputation: lochii is an unknown quantity at this point 
Solved Threads: 0
lochii lochii is offline Offline
Light Poster

CSS/ Div Positioning problem

 
0
  #1
Oct 1st, 2008
Hey,

Is it possible to make the content and the navigation fit to content but both the content (black outline) and the side navigation automatically fit to the footer.. as you can see from the image below the side content goes passed the footer

(CSS newbie here)

http://i5.photobucket.com/albums/y16...iv-problem.gif
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 15
Reputation: Andrew Hucks is an unknown quantity at this point 
Solved Threads: 1
Andrew Hucks Andrew Hucks is offline Offline
Newbie Poster

Re: CSS/ Div Positioning problem

 
0
  #2
Oct 4th, 2008
1.) Have less textual content.
2.) Make the black outline automatically expand. (Uh, I think you'd need background: url(images/image) repeat-y or something. I'm not a CSS guy, but I think it goes something like that.

You can always try to Google it, or head over to www.w3schools.com and find your answer.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: CSS/ Div Positioning problem

 
0
  #3
Oct 5th, 2008
It would help to see your code.

If you are trying to make content fit within one screen on each user's monitor, it is not possible without all kinds of tricky JS programming. The web is designed so content expands downward to accommodate all available text.

The internet is not designed to give you a screen to play with. There is no such thing as a footer in web design (other than a displayed last line of a table). The best you can do is adjust things so they fit on the smallest resolution (use 640 x 480), and then let them expand or move as needed on larger screens.

You can approximate, by using sizes defined in inches or centimeters. Put everything you want contained inside a div having a defined size and a black border.

But be prepared for the div to expand beyond the defined size if the content won't fit. Divs are fluid in nature.
Last edited by MidiMagic; Oct 5th, 2008 at 9:17 pm.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC