NameSilo

Specific Cell Padding?

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Watch

weizac

Established Member
Impact
0
Is it possible to give specific cells a certain amount of padding, without affecting all of the others?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Well the other cells on the same row are going to be affected.
PHP:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-type" content="application/xhtml+xml; charset=UTF-8" />
<title>test</title>
<style type="text/css">
table#test {
	width:500px;
	border:1px red solid;
}

table#test td {
	padding: 3px;
	background-color: #E4E5E5;
}

table#test td.special {
	padding: 10px;
	background-color: red;
}
</style>
</head>
<body>
<table id="test">
	<tr>
		<td>1</td><td>2</td>
	</tr>

	<tr>
		<td>3</td><td>4</td>
	</tr>
	<tr>
		<td>5</td><td class="special">6</td>
	</tr>
</table>

</body>
</html>
 
0
•••
That's silly.
I could achieve this in html couldn't I?
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back