| | |
CSS/ Div Positioning problem
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2006
Posts: 33
Reputation:
Solved Threads: 0
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
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
•
•
Join Date: Sep 2008
Posts: 15
Reputation:
Solved Threads: 1
1.) Have less textual content.
2.) Make the black outline automatically expand. (Uh, I think you'd need
You can always try to Google it, or head over to www.w3schools.com and find your answer.
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.
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.
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
![]() |
Similar Threads
- CSS forms z-index hell (HTML and CSS)
- Firefox vs. Safari vs. IE CSS Battle (HTML and CSS)
- Firefox hates my CSS now so does IE (HTML and CSS)
- Why do people wish for tableless with CSS? (HTML and CSS)
- CSS positioning problems (HTML and CSS)
- HTML Div Help (HTML and CSS)
- CSS - strech a background image? (Site Layout and Usability)
- Hover Image Position ??? (HTML and CSS)
- Trouble positioning report type of page (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Css versions
- Next Thread: CSS DIV container align multibrowser+unwanted margin
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






