- This topic is empty.
September 25, 2017 at 5:09 am #260471damienrenetteParticipant
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!September 25, 2017 at 6:51 am #260474AtelierbramParticipant
Better would be if we could look at a live site or demo, but it is probably the parent wrapper with the
max-width: 960pxthat 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.September 25, 2017 at 7:46 am #260481Paulie_DModerator
If it’s just a background color you need then a positioned pseudo-element can fix that.
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-screenSeptember 25, 2017 at 8:21 am #260510damienrenetteParticipant
Paulie_D, thats exacty it! I do not understand the code completely but I will figure it out! Thanks a lot!
- The forum ‘CSS’ is closed to new topics and replies.