Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Problem with CSS specificity


birdbrain - 9:05 am on Oct 1, 2011 (gmt 0)


Hi there R8kit,

and a warm welcome to these forums. ;)

Try it like this...


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<base href="http://www.pubcon.com/exhibitor/gfx/">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">

<title>two centered one left</title>

<style type="text/css">
img {
display:block;
margin:auto;
}
#logo {
margin-left:0;
}
</style>

</head>
<body>

<div>
<img src="website_magazine_logo.jpg" alt="">
<img src="readwriteweb_logo.jpg" alt="">
<img id="logo" src="raven_seo_logo.jpg" alt="">
</div>

</body>
</html>

birdbrain


Thread source:: http://www.webmasterworld.com/css/4369437.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com