Quinnfernal
@quinn2win
Fri, May 19, 2023 5:36 PM
It's time to play a game called, Quinn hates CSS and doesn't know how it works
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:37 PM
here's the shape of some HTML I'm wrestling with
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:37 PM
I'm not gonna expand the tech div because it's huge, but
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:37 PM
the result looks like this
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:38 PM
I want it to look like this
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:38 PM
how do i do that
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:38 PM
I tried like five variations on 'align: top' and none of it worked
RobotApocalypse
@ninjarobotclone
Fri, May 19, 2023 5:41 PM
in CSS it's "vertical-align: top;" isn't it?
RobotApocalypse
@ninjarobotclone
Fri, May 19, 2023 5:42 PM
is that one of the variations you already tried?
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:42 PM
I tried that. no dice
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:42 PM
Edit fiddle - JSFiddle - Code Playground
here's a fiddle of it
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:43 PM
the relevant css block is .tech-span
RobotApocalypse
@ninjarobotclone
Fri, May 19, 2023 5:49 PM
i am not great with css but if you can edit the html instead try this:
<span><button class="delete-button" style="vertical-align: top">×</button></span>
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:51 PM
OK there it goes
Quinnfernal
@quinn2win
Fri, May 19, 2023 5:51 PM
so I needed to put vertical-align on the button, not the span
RobotApocalypse
@ninjarobotclone
Fri, May 19, 2023 5:53 PM
success \o/
載入新的回覆
<span><button class="delete-button" style="vertical-align: top">×</button></span>