NameSilo

Specific Cell Padding?

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
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
Close
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
Close
That's silly.
I could achieve this in html couldn't I?
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Search: choose where to search from the All tab
Open the search at the top of any page. On the All tab, the list next to the search box lets you choose where to search: everything, all...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back