Button built from scratch going full width

Hi

I seem to be having the same issue as discribed here

I am trying to build a button from scratch with a background texture in it, but my div fills the full width of the containing container

i am following video 4 in MAX web design magic but my fresh install isnt behaving in the same way

i.e. i place a headline inside a DIV with the headline set to SPAN and the div set a but the div expands to fill either the full width of the page or the full width of the containing container. I have inspected the ccs but i can’t see why this is happening

Hello @The_Capture_Factory,

Thanks for writing in! The DIV goes fullwidth when the Flexbox option in the container of these elements is disabled.

Once Flexbox is enabled, it will have a width of auto.

If this isn’t helping, kindly provide the URL of the page where we can find it so we can investigate.

Cheers.

Thats great, all working now. Thanks for the explanation

You are most welcome @The_Capture_Factory

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.