The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with divs? Reply To: Help with divs?


Hi, Erika,
position:absolute has nothing to do with getting the width to 100% of the browser, unless you are trying to make it go outside of margins that the rest of the page is obeying (is that what you are doing?) Please try using position:relative along with top:0 and left:0. That will allow you to do absolute positioning on the .projectlabel.

To set the width of the image, use the following:

.projectheader img {

I’ll create a pen if I can find time, but if you make these two simple changes, you should be moving towards a workable page.

You’ll find a chunk of blank space below the image. We can deal with that next, and start fixing .projectlabel.

Good luck!