To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.
<div style="line-height:100px">
Text
</div>
<html>
<head>
<style type="text/css">
.image { padding-top:50%;}
</style>
</head>
<body>
<center>
<div id=image><img src="http://www.rossmoyne.wa.edu.au/Portals/0/docs/Community/Alumni/Facebook-Icon.jpg" /></div>
</center>
</body>
</html>
Am I doing something wrong?
Why don't you get rid of the <center> tag and like Melvin said use "#image { padding-top:50%;}" use "#image { padding-left:50% }" as this will most likely work. Plus ID's use "#" not "." so that could be a problem with your previous code you posted.
<div id="container" style="height:500px;background:url(http://www.rossmoyne.wa.edu.au/Portals/0/docs/Community/Alumni/Facebook-Icon.jpg) no-repeat 0 50%"></div>
<html>
<head>
<style type="text/css">
#image { padding-top:25%; padding-left:50%; }
</style>
</head>
<body>
<div id=image><img src="http://www.rossmoyne.wa.edu.au/Portals/0/docs/Community/Alumni/Facebook-Icon.jpg" /></div>
</body>
</html>
Which code are you using? Mine or Melvin's?
In both codes gives the error! : \ Let there ... I'll try to use <center>
You can control a structure that you can use to use your theme wide or narrow.
You can control the layout of the forum list in a grid or ordinary listing style structure.
You can control the structure where you can open/close images in the grid forum list.
You can get rid of the crowded view in the forum by closing the sidebar.
You can make it more useful and easier to access by pinning the sidebar.
You can use the radius at the corners of the blocks according to your taste by closing/opening it.