Link to home
Create AccountLog in
Avatar of Seven price
Seven priceFlag for United States of America

asked on

floating background

I need to add a hex color to the background. the url of the site you see each row has different colors.

so the hex color for each row i need to stretch out the background color if the screen is larger than the website. so example if the first page has blue for one block then orange the next I need it to show along the side of each row. how would you suggest i do this using different hex colors for a background.?
Avatar of COBOLdinosaur
Flag of Canada image

This does not make much sense to me, but if you post a link, I might get some idea of what you are referring to.

The way this site is structured, it will be challenging to create the desired effect you want.

So we all understand, it sounds like instead of having a black background he would like a solid color that extends 100% of the width of the page that corresponds with the background color of the content.

I would accomplish this by breaking each color block with a div, but if you inspect the elements, we'll notice that the div are really disorganized making this task possibly more difficult than re-designing the div structure.
Avatar of Seven price


thanks MattWoler<< I was thinking maybe a background image for each page about 1 pixels if so how would I get the image to stretch from left to right. maybe in the body or the main div after.??
Avatar of MattWohler
Flag of Canada image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account