I seem to have found a problem with the Cafe Menu CSS. The .flavor and .price selectors are set to a width: 75%; and 25%; respectivly, and appear to spread them out correctly in the tutorial. However when I copy the html and CSS code into a text editor it apears differently. I’m very new to this so my question is why?
EDIT: when i change the width values to 49% for both as the tutorial first suggests the menu item and price display as intended. but not when i revert back to the 75% and 25% as the tutorial goes on to instruct.
Edit 2: When i set the width to 75% and 24% it also displays correctly, however making the window narrow the two 49% width values produce the best results and the 75% and 24% width values stack on top of each other awkwardly.
i’ve tried it more than once, i copied it stright from step 91 of the cafe menu tutorial. the code editor i’m using is VScode and im opening it in chrome. thanks again for looking at it for me.
when i copy the HTML and the CSS straight from step 91 the image i posted at the top is what i get, which is not the same as what is shown in the tutorial.
The only way to get it to look the same is to make the .item and .price width value a combined value of 98% otherwise it stacks as shown in the image in the original post. combined value of 99% works so long as you dont shrink the window down, if you do it also awkwardly stacks
when i try to post the HTML i get a forum error saying;
An error occurred: Sorry, new users can only put one embedded media item in a post.
im litrally using the html from step 91, i’ve copy and paste it a few times just to make sure i wasnt making a mistake. im not writing anything in the document, it’s litrally copy and paste from step 91.