Forums

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

Home Forums CSS make div stick to right of page even though enclosing div is not full width Reply To: make div stick to right of page even though enclosing div is not full width

#200218
jayg-7
Participant

Yes, but it’s inside of a div that has a max width and is margin 0 auto.

I’m trying to see if there’s an elegant way to keep the rest of the page structure intact, but make the div stick to the right of the browser window.

I still want it inside of a div that has a max-width so I don’t have to do a big rewrite of the rest of the page code if that makes sense.

Thanks!