Jump to content

HTML/CSS Trouble with <Form>

Go to solution Solved by 0x21,
.reset-button {
	border: none;
	margin: 0;
	padding: 0;
	width: auto;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: normal;
	-webkit-font-smoothing: inherit;
	-moz-osx-font-smoothing: inherit;
	-webkit-appearance: none;
}

Now just add `class="reset-button"` to the input.

<form title= "You could've just hit start...">
<p>
<sup><sup>
<span>
	<mark class= "blue"><sub><sub>[</sub></sub><sup><sup>]</sup></sup></mark>
		<input
			type= "button"
Text for option;	value= "Act 1"
			onclick= "window.location.href='Intro.html'"/>
	<mark class= "blue"><sup><sup>[</sup></sup><sub><sub>]</sub></sub></mark>
</span>
</sup></sup>
</p>
</form>
form {
	border-radius: 2vw;
}
p {
	position: relative;
	top: -5vw;
	font-family: "DejaVu Sans Mono", monospace;
	font-size: 3vw;
	text-shadow: 1px 1px rgba(75,75,75,.8);
	margin-left: 44%;
	margin-right: 44%;
	text-align: center;
	text-shadow:
		-1px -1px 15px #1a1a1a,
		1px -1px 15px #1a1a1a,
		-1px 1px 15px #1a1a1a,
		1px 1px 15px #1a1a1a,
		-1px -1px 0 black,
		1px -1px 0 black,
		-1px 1px 0 black,
		1px 1px 0 black,
		-1px -1px 25px black,
		-1px 1px 25px black,
		1px -1px 25px black,
		1px 1px 25px black;
	padding: .5vw;
	color: rgba(0,107,179,.7);
}

No matter how hard I try there's an ugly grey box around the text in the <form> input, I can't see to make the box go away.. Is there something I can't seem to read up on or si there a better way to go about this?

Link to comment
https://linustechtips.com/topic/1019349-htmlcss-trouble-with/
Share on other sites

Link to post
Share on other sites

.reset-button {
	border: none;
	margin: 0;
	padding: 0;
	width: auto;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: normal;
	-webkit-font-smoothing: inherit;
	-moz-osx-font-smoothing: inherit;
	-webkit-appearance: none;
}

Now just add `class="reset-button"` to the input.

Link to comment
https://linustechtips.com/topic/1019349-htmlcss-trouble-with/#findComment-12172942
Share on other sites

Link to post
Share on other sites

2 minutes ago, mshaugh said:

.reset-button {
	border: none;
	margin: 0;
	padding: 0;
	width: auto;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: normal;
	-webkit-font-smoothing: inherit;
	-moz-osx-font-smoothing: inherit;
	-webkit-appearance: none;
}

Now just add `class="reset-button"` to the input.

Eyyyyy, thanks. Was losing my mind trying to work around it

Link to comment
https://linustechtips.com/topic/1019349-htmlcss-trouble-with/#findComment-12172971
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×