- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello, im a begginer and I really need some help with this:
This is how my website look like so far, the problem is that i don’t know how to extend the white background of the div to the left of the screen as shown in here:
the whole “row” consist of 3 divs (one is kind of wrapper with max-width of 960px, one is the white paragraph and the last one is the dark blue paragraph)
Please, if you could give me an idea what to change I would be forever thankful. Thanks!
Better would be if we could look at a live site or demo, but it is probably the parent wrapper with the max-width: 960px
that keeps the white paragraph from expanding beyond that. Which is probably why it’s there to begin with. When wanting to change this: please make a demo, and we can show you how to do this.
If it’s just a background color you need then a positioned pseudo-element can fix that.
https://codepen.io/Paulie-D/pen/GMrprv
I wrote a whole answer on it on Stack Overflow – https://stackoverflow.com/questions/28565976/css-how-to-overflow-from-div-to-full-width-of-screen
Paulie_D, thats exacty it! I do not understand the code completely but I will figure it out! Thanks a lot!