Link to home
Start Free TrialLog in
Avatar of Unimatrix_001
Unimatrix_001Flag for United Kingdom of Great Britain and Northern Ireland

asked on

HTML table not aligning

Hello,

Please see the two files below, my issue is that the text Oobie should be aligned to the right hand side of the cell but this is failing to happen.

Thanks.
Uni
<html>

	<head>
		<title>My Title</title>
		<link rel="stylesheet" type="text/css" href="styles.css" />
	</head>

	<body>
	
		<table class="FullWidth FullHeight BigPadding">
			<tr>
				<td class="FullWidth StandardBlackBorder SmallPadding" align="right">Oobie</td>
			</tr>
		</table>
		
	</body>
	
</html>

Open in new window

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}:focus{outline:0;}body{line-height:1;color:black;background:white;}ol,ul{list-style:none;}table{border-collapse:separate;border-spacing:0;}caption,th,td{text-align:left;font-weight:normal;}blockquote:before,blockquote:after,q:before,q:after{content:"";}blockquote,q{quotes:"""";}


body{
	background-image:url('verticalgradient.jpg');
	background-repeat:repeat-x;
	background-color:white;
}


.FullWidth{ width:100%; }
.FullHeight{ height:100%; }
.BigPadding{ padding:20px; }
.SmallPadding{ padding:5px; }
.StandardBlackBorder{ border-style:solid; border-color:black; border-spacing:0px; border-width:1px; }

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ultra_Master
Ultra_Master

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Unimatrix_001

ASKER

This appears to be a FF issue... Thank you. :)
Avatar of Ultra_Master
Ultra_Master

This is because you used Internet Explorer. In Opera and Firefox it doesn't work and possible in many others. The approach suggested by me should work on most browsers.

Cheers,
UltraMaster