• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Help with Flex HTML

Explorer ,
Nov 08, 2024 Nov 08, 2024

Copy link to clipboard

Copied

Need some help with Flex.

 

Go here: Flex HTML link

 

I'm sure the guy that owns this site uses Flex html. . . When he adds the Los Angeles Dodgers for 2024, the 2020 LA Dodgers will move down to the next line automatically. . . . Does anyone now how to set something like that up? It doesn't have to be exact boxes that he has. .  I want something like this

jamedlock83_0-1731131551370.png

 

Views

524

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

I'm managing. I just need help with one more thing for now. I need the "1st" to go over to the left more.  Right now, it's aligning the same as the picture if that makes sense.

 

jamedlock83_0-1731858285405.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

Yes, that's as a result of the left padding of 25px on the 'product' css:

 

You can remove the padding completely from the 'product' css.

 

Then add some left and right margin to the text and image css to stop those items running into the side of the 'product' box as the browser window narrows.

 

Alternatively you can leave the padding on the 'product' css and position the 1st, 2nd text etc absolutely by giving the 'product' css a position of relative.

 

position: relative;

 

Then giving the css that controls the 1st, 2nd etc text a position of absolute:

 

position: absolute;

top: 0; /* this is the default position */

left: 0; /* this is the default position */

 

You should not really need to include the default position as part of the css.

 

If you use the absolute positioning solution you will most likely encounter the text sitting over your other text. To counter this give the 'product' css some more top padding to push the text down further in the box..

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

LATEST

How's this thus far?

jamedlock83_0-1731862144981.png

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines