i need a big buff brain to help me

Talk about your website ideas, web design, coding, software and hardware.
Post Reply
User avatar
catra
Netizen
Reactions:
Posts: 34
Joined: Mon Nov 14, 2022 11:57 pm
Pronouns: she/they
Website: https://catraa.neocities.org/

i need a big buff brain to help me

Post by catra »

heyyy, so im gonna reuse this forum since i dont wanna spam by creating more for tiny issues, thank u to those who helped me fix the other issues <3

any help for either is very appreciated
Last edited by catra on Sat Feb 11, 2023 7:30 pm, edited 2 times in total.
i got a warning for my old signature so im a cool kid now 8)
User avatar
juette
Webmaster
Reactions:
Posts: 141
Joined: Tue May 10, 2022 3:30 pm
Pronouns: it/he/they
Website: https://mothcore.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by juette »

catra wrote: Thu Feb 09, 2023 1:54 pm
1. the poll on my main page leads you to the website of the poll whenever you vote, how do i fix that? whats the cause of it: https://catraa.neocities.org/
i dont think you can "fix" that i think thats just the way that poll website works. so unless you find another poll website that doesn't do that it will just stay like this
Image
User avatar
Starfighter
Webmaster
Reactions:
Posts: 153
Joined: Tue Jan 10, 2023 9:36 am
Website: https://starfighter.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by Starfighter »

What happens if you create an invisible iframe (<iframe style="display:none;" name="coolname"></iframe>) and then tell the form to open the url in that (by adding target="coolname" to the form tag)? Is that... is that even possible? I like making uninformed guesses. :D
Image
User avatar
princemaggots
Netizen
Reactions:
Posts: 40
Joined: Wed Jan 18, 2023 4:09 pm
Pronouns: he/it
Website: https://hellspit.neocities.org

Re: 2 issues with my site, i need a big buff brain to help me

Post by princemaggots »

catra wrote: Thu Feb 09, 2023 1:54 pm 2. ive spent so much time trying to make the photobox on the right side align the pictures in the middle (the row of fart pictures) but it just doesnt want to work, i feel like the issue lies within one of the div containers but if i mess with on of them it breaks it all apart.
Do you mean aligning them in the middle vertically? They look right horizontally to me (viewing it on a 1920x1080 screen)
Image
User avatar
catra
Netizen
Reactions:
Posts: 34
Joined: Mon Nov 14, 2022 11:57 pm
Pronouns: she/they
Website: https://catraa.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by catra »

juette wrote: Thu Feb 09, 2023 2:41 pm
catra wrote: Thu Feb 09, 2023 1:54 pm
1. the poll on my main page leads you to the website of the poll whenever you vote, how do i fix that? whats the cause of it: https://catraa.neocities.org/
i dont think you can "fix" that i think thats just the way that poll website works. so unless you find another poll website that doesn't do that it will just stay like this
ahh how great :| thank u tho. do u by any chance know another poll website lol
i got a warning for my old signature so im a cool kid now 8)
User avatar
catra
Netizen
Reactions:
Posts: 34
Joined: Mon Nov 14, 2022 11:57 pm
Pronouns: she/they
Website: https://catraa.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by catra »

princemaggots wrote: Thu Feb 09, 2023 5:46 pm
catra wrote: Thu Feb 09, 2023 1:54 pm 2. ive spent so much time trying to make the photobox on the right side align the pictures in the middle (the row of fart pictures) but it just doesnt want to work, i feel like the issue lies within one of the div containers but if i mess with on of them it breaks it all apart.
Do you mean aligning them in the middle vertically? They look right horizontally to me (viewing it on a 1920x1080 screen)

yes thats what i meant, how strange i cant see that?? im pretty sure my computer is the same
i got a warning for my old signature so im a cool kid now 8)
User avatar
catra
Netizen
Reactions:
Posts: 34
Joined: Mon Nov 14, 2022 11:57 pm
Pronouns: she/they
Website: https://catraa.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by catra »

Starfighter wrote: Thu Feb 09, 2023 3:23 pm What happens if you create an invisible iframe (<iframe style="display:none;" name="coolname"></iframe>) and then tell the form to open the url in that (by adding target="coolname" to the form tag)? Is that... is that even possible? I like making uninformed guesses. :D
hmmm im not smart enough to tell u if thats possible :>
i got a warning for my old signature so im a cool kid now 8)
User avatar
Starfighter
Webmaster
Reactions:
Posts: 153
Joined: Tue Jan 10, 2023 9:36 am
Website: https://starfighter.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by Starfighter »

catra wrote: Thu Feb 09, 2023 7:14 pmhmmm im not smart enough to tell u if thats possible :>
It looks like it works! I tried it in W3Schools Tryit Editor. I copied your code for the poll and added my suggestion, the vote is sent but the visitor is not forwarded to pollcode.com. Well, it's happening, but we can't see it. :)

Find this line in your code:

<form method="post" action="https://poll.pollcode.com/76714696">

...and add target="amazeballs" into it like so:

<form method="post" target="amazeballs" action="https://poll.pollcode.com/76714696">

Then add an invisible iframe somewhere on the page with this code:
<iframe style="display:none;" name="amazeballs"></iframe>

Together, in the tryit editor it looks like this: screenshot

Edit: One drawback to this workaround though, is that the "View" button also is affected. If I were you I'd remove the "View" button and add a plain <a> tag named something like "See results", if you want people to be able to see the results.
Image
User avatar
princemaggots
Netizen
Reactions:
Posts: 40
Joined: Wed Jan 18, 2023 4:09 pm
Pronouns: he/it
Website: https://hellspit.neocities.org

Re: 2 issues with my site, i need a big buff brain to help me

Post by princemaggots »

catra wrote: Thu Feb 09, 2023 7:12 pm
yes thats what i meant, how strange i cant see that?? im pretty sure my computer is the same
For vertically centering it looks like the main issue is the height - if you want to include the textbox with it (like the image below) - just change the height / min height of container2 (I used 100vh here because it's the width of the parent div, dashboard).
Image
If you don't want the textbox centered, remove flex: 25% from the column class and set the height of container3 - that'll fix it.

Also for future note - using inspect / developer tools (which should be a right click -> inspect in chrome and similarly in firefox iirc ?) is a really big help when you're having css issues; it'll allow you to highlight over the html and change the corresponding css temporarily in the browser so it's easy to get a visual without refreshing or updating every time :)
Image
User avatar
catra
Netizen
Reactions:
Posts: 34
Joined: Mon Nov 14, 2022 11:57 pm
Pronouns: she/they
Website: https://catraa.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by catra »

princemaggots wrote: Thu Feb 09, 2023 10:36 pm
catra wrote: Thu Feb 09, 2023 7:12 pm
yes thats what i meant, how strange i cant see that?? im pretty sure my computer is the same
For vertically centering it looks like the main issue is the height - if you want to include the textbox with it (like the image below) - just change the height / min height of container2 (I used 100vh here because it's the width of the parent div, dashboard).
Image
If you don't want the textbox centered, remove flex: 25% from the column class and set the height of container3 - that'll fix it.

Also for future note - using inspect / developer tools (which should be a right click -> inspect in chrome and similarly in firefox iirc ?) is a really big help when you're having css issues; it'll allow you to highlight over the html and change the corresponding css temporarily in the browser so it's easy to get a visual without refreshing or updating every time :)
oooh i dont think we have the same screen size at all, my site rlly looks bad on big screens :roll: thank you sm tho, ill try out what you said
i got a warning for my old signature so im a cool kid now 8)
User avatar
catra
Netizen
Reactions:
Posts: 34
Joined: Mon Nov 14, 2022 11:57 pm
Pronouns: she/they
Website: https://catraa.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by catra »

Starfighter wrote: Thu Feb 09, 2023 9:37 pm
catra wrote: Thu Feb 09, 2023 7:14 pmhmmm im not smart enough to tell u if thats possible :>
It looks like it works! I tried it in W3Schools Tryit Editor. I copied your code for the poll and added my suggestion, the vote is sent but the visitor is not forwarded to pollcode.com. Well, it's happening, but we can't see it. :)

Find this line in your code:

<form method="post" action="https://poll.pollcode.com/76714696">

...and add target="amazeballs" into it like so:

<form method="post" target="amazeballs" action="https://poll.pollcode.com/76714696">

Then add an invisible iframe somewhere on the page with this code:
<iframe style="display:none;" name="amazeballs"></iframe>

Together, in the tryit editor it looks like this: screenshot

Edit: One drawback to this workaround though, is that the "View" button also is affected. If I were you I'd remove the "View" button and add a plain <a> tag named something like "See results", if you want people to be able to see the results.
OH i just saw this, thank u sm!! ill try this nowww :D :D
i got a warning for my old signature so im a cool kid now 8)
User avatar
Starfighter
Webmaster
Reactions:
Posts: 153
Joined: Tue Jan 10, 2023 9:36 am
Website: https://starfighter.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by Starfighter »

catra wrote: Fri Feb 10, 2023 1:13 pmOH i just saw this, thank u sm!! ill try this nowww :D :D
I just voted in your latest poll and it works! Nice! :D
Image
User avatar
catra
Netizen
Reactions:
Posts: 34
Joined: Mon Nov 14, 2022 11:57 pm
Pronouns: she/they
Website: https://catraa.neocities.org/

Re: 2 issues with my site, i need a big buff brain to help me

Post by catra »

Starfighter wrote: Sat Feb 11, 2023 9:20 am
catra wrote: Fri Feb 10, 2023 1:13 pmOH i just saw this, thank u sm!! ill try this nowww :D :D
I just voted in your latest poll and it works! Nice! :D
ayyyy, i love that x)
i got a warning for my old signature so im a cool kid now 8)
Post Reply