Links are not opening

Hey guys,
Other members, advisors, and mentors of the CSS forum helped me come up with this layout.
Something I noticed is that links are not clickable or not working in this layout?:eek:
I other words, they are not opening at all.

I understand ho this could be an html problem, but since posters of the sitepoint css forum helped me make this, I was wondering if members of the css forum or anyone can help me fix this. It could be an HTML issue or I wonder if it is possible that some styling is causing the links to not work?

The code that makes this page, is below and I hope that someone can help me because I have never encountered this issue and think it is quite peculiar.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- saved from url=(0065)http://www.pmob.co.uk/temp/roundshadow-oneimage-centred-nav-2.htm -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Transparent Shadow all around with one image - (Not IE6)</title>
<style type="text/css">
* {
	margin:0;
	padding:0;
}
body {
	background:#999;
}
p {
	margin:0 0 1em
}
h1 {
	text-align:center;
	margin:0 0 20px;
}
#wrap {
	min-width:800px;
	max-width:1500px;
	margin:auto;
	clear:both;
}
#middle {
	min-height:0;
	overflow:hidden;
	padding:0 30px 0 0;
}
.a, .d, .c b, .c span, .c i {
	position:relative;
	background: url(images/teamround.png) no-repeat;
	width:100%;
}
.a {
	margin:15px auto 40px;
	clear:both;
	min-width:300px;
	width:auto;
}
.d {
	background-position:100% 100%;
	position:relative;
	top:30px;
	left:30px;
}
.content {
	padding:20px;
	min-height:0;
	text-align:justify;
	position:relative;
	top:-11px;
	left:-11px;
	margin:0 8px 9px 0;
	min-height:410px;
}
.c {
	width:100%;
	position:absolute;
	left:0;
	top:0;
	right:0;
	height:100%;
}
.c span, .c b {
	width:32px;
	height:32px;
	background-position:100% 0;
}
.c span {
	float:right;
	margin:-19px -19px 0 0
}
.c b {
	position:absolute;
	left:-19px;
	bottom:-11px;
	background-position:0 100%;
	clear:both
}
.c i {
	position:absolute;
	left:-2px;
	bottom:15px;
	background-position:-18px 99%;
	height:80px;
	width:15px;
}
/* left and right columns */

#left, #right {
	float:left;
	width:210px;
	background:red;
	border:1px solid #000;
	min-height:450px;
	margin:30px 10px 0;
	display:inline;
}
#right {
	float:right;
}
</style>
<!--[if lte IE 7]>
<style type="text/css">
* html .content {zoom:1.0;padding:25px 45px 25px 25px}
* html .c, * html .c * {
	display:none;
}
* html #wrap,* html #middle{zoom:1.0;padding:0}
* html #middle{	margin:0 220px 0 220px;}
* html .a {background:#fff;border:1px solid #000;}
* html .d{background:none;}
.c b {
	left:-19px;
	bottom:-20px;
}
.c i {
	left:-2px;
	bottom:6px;
	height:80px;
}
</style>
<![endif]-->
<style type="text/css">
/* navigation with equal spread - Erik J's method */
.nav {
	margin:auto;
	border:3px outset #66f;
	padding:0;
	min-width:40em;
	width:98%;
	height:44px;
	overflow:hidden;
	background:#039;
	text-align:justify;
	font-size:93%;
}
.nav li {
	display:inline;
	list-style:none;
}
.nav li.last {
	margin-right:100%;
}
.nav li a, .nav li span {
	display:inline-block;
	padding:13px 1px 0;
	height:31px;
	color:#ddd;
	vertical-align:middle;
	text-decoration:none;
	text-transform:capitalize;
}
.nav li a:hover {
	margin:-3px;
	border:3px inset #66f;
	color:#ff6;
	background:#36c;
}
</style>
</head>
<body>
<h1>Transparent Shadow all around with one image - (Not IE6)</h1>
<div id="wrap">
	<!-- Navigation Start here -->
	<ul id="globalnav" class="nav">
		<li id="gn-home"><a href="http://apple.com/">Home</a></li>
		<li id="gn-about"><a href="http://store.apple.com/">About</a></li>
		<li id="gn-groups"><a href="http://apple.com/mac/">Groups</a></li>
		<li id="gn-media"><a href="http://apple.com/ipod/">Media</a></li>
		<li id="gn-outreach"><a href="http://apple.com/iphone/">Outreach</a></li>
		<li id="gn-resources"><a href="http://apple.com/ipad/">Resources</a></li>
		<li id="gn-sponsors"><a href="http://apple.com/itunes/">Sponsors</a></li>
		<li id="gn-support"><a href="http://apple.com/support/">Blog</a></li>
		<li id="globalsearch" class="last"><span>
			<input type="search" name="q" id="sp-searchtext" class="g-prettysearch applesearch" accesskey="s">
			</span> &nbsp; &nbsp;</li>
	</ul>
	<div id="left">
		<p>left content</p>
	</div>
	<div id="right">
		<p>right content</p>
	</div>
	<div id="middle">
		<div class="a">
			<div class="d">
				<div class="content">
					<p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p>
					<p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p>
					<p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p>
					<p>Have you ever wanted to know the most helpful place for webdesign? <a href="http://sitepoint.com/forums">Check out site point forums today!</a></p>
					<div class="c"><span></span><b></b><i></i></div>
				</div>
			</div>
		</div>
	</div>
	<div style="clear:both"></div>
</div>


</body>
</html>

I would appreciate any help or ideas very much. Especially because I am using this layout in multiple of my sites and when I was adding content, I noticed this mistake. And links tend to be essential in a website.

Thanks in Advance & Best Regards,
Team 1504

Hello,

This is what’s causing the problem (HTML):

<div class="c"><span></span><b></b><i></i></div>

Once you remove that code your link will work perfectly.

Jack

Hi team1504,

Jack is right about that .c div hiding the anchor but I don’t think you want to remove it since all your round corner images are hooked to it.

It’s a layering problem, that .c div is AP’d and positioned elements always auto stack above other elements. The text is not selectable either for the same reason.

To fix it you can set position:relative; and z-index:1; on all the <p> tags or nest them in another div and apply those properties to it.


.content {
    padding:20px;
    min-height:0;
    text-align:justify;
    position:relative;
    top:-11px;
    left:-11px;
    margin:0 8px 9px 0;
    min-height:410px;
}
[B].content p[/B] { [COLOR=DarkGreen]/*add this*/[/COLOR]
    [COLOR=Blue]position:relative;
    z-index:1;[/COLOR]
}
[B].c[/B] {
    width:100%;
    [COLOR=Blue][I]position:absolute;[/I][/COLOR]
    left:0;
    top:0;
    right:0;
    height:100%;
}

hmm, I added the changes and they worked!-- in the example above… but when I added the same styling changes you said I should make to an actual application of the same layout, it did not work. The only difference between the two is that the application, which I am having issues with now,has no left and right columns.

Do you mind helping me find out why the links are not clickable in this application of the layout even though I added the styling that fixed it in the layout above, which has simpler styling and no content.
I would really appreciate it if you could help me because now that I understand why it is happening, because of the absolute positioning, and even with the addition of the styling of relative positioning on the content div which contains the content, it is still un-clickable or un-selectable / un-highlightable
Here is the HTML:


<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8" />
<style type="text/css">
/* allow html5 styling in non-webkit browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}
</style>   
<style type="text/css"> 
* {
	margin:0;
	padding:0;
}
body {
	background: #000 url(assets/images/spaceBg.jpg) center;
}
p {
	margin:0 0 1em
}
h1 {
	text-align:center;
	margin:0 0 20px;
}
#wrap {
	min-width:800px;
	max-width:1500px;
	margin:auto;
	clear:both;
}
header {
	background:url(assets/images/headerBg.png) no-repeat 50% 0%;
	position:relative;
	width:985px;
	height:194px;
	margin:auto;
	overflow:hidden;
}
#middle {
	min-height:0;
	overflow:hidden;
	padding:0 30px 0 0;
}
.a, .d, .c b, .c span, .c i {
	position:relative;
	background: url(../assets/images/contentBg.png) no-repeat;
	width:100%;
}
.a {
	margin:15px auto 40px;
	clear:both;
	min-width:300px;
	width:auto;
}
.d {
	background-position:100% 100%;
	position:relative;
	top:30px;
	left:30px;
}
.content {
	padding:20px;
	min-height:0;
	text-align:justify;
	position:relative;
	top:-11px;
	left:-11px;
	margin:0 8px 9px 0;
	min-height:410px;
}
.content p { 
    position:relative;
    z-index:1;
}
.c {
	width:100%;
	position:absolute;
	left:0;
	top:0;
	right:0;
	height:100%;
}
.c span, .c b {
	width:32px;
	height:32px;
	background-position:100% 0;
}
.c span {
	float:right;
	margin:-19px -19px 0 0
}
.c b {
	position:absolute;
	left:-19px;
	bottom:-11px;
	background-position:0 100%;
	clear:both
}
.c i {
	position:absolute;
	left:-1px;
	bottom:15px;
	background-position:-18px 99%;
	height:80px;
	width:15px;
}
</style> 

<!--[if lte IE 7]>
<style type="text/css">
* html .content {zoom:1.0;padding:25px 45px 25px 25px}
* html .c, * html .c * {
	display:none;
}
* html #wrap,* html #middle{zoom:1.0;padding:0}
* html #middle{	margin:0 220px 0 220px;}
* html .a {background:#fff;border:1px solid #000;}
* html .d{background:none;}
.c b {
	left:-21px;
	bottom:-22px;
}
.c i {
	left:-3px;
	bottom:6px;
	height:80px;
}
</style>
<![endif]--> 

<!-- Start Apple Navigation Resources-->
<link rel="stylesheet" href="assets/css/nav.css" type="text/css" />
<!--End Apple Navigation Resources-->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->

<!--Start Fancy box assets -->
<script type="text/javascript" src="../fancyAssets/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="../fancyAssets/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="../fancyAssets/jquery.fancybox-1.3.4.css" media="screen" />
 	<link rel="stylesheet" href="../fancyAssets/fancyBox.css" />
	<script type="text/javascript">
		$(document).ready(function() {
	
			$("#various3").fancybox({
				'width'				: '32%',
				'height'			: '56%',
				'autoScale'			: false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe'
			});
		});
	</script>
    <!--End fancy box assets-->
</head>

<body> 
<!--<section>
<hgroup>
<h1 style="color:#fff;">Transparent Shadow all around with one image - (Not IE6)</h1> 
</hgroup>
</section>-->
<div id="wrap"> 
	<header>
		<nav style="margin-top:124px;">
			<ul>
				<li id="irf-home"><a href="#">Home</a></li>
				<li id="irf-about"><a href="#">About</a></li> 
				<li id="irf-art"><a href="#">Art</a></li> 
				<li id="irf-blog"><a href="#">Blog</a></li> 
				<li id="irf-games"><a href="#">Games</a></li> 
				<li id="irf-media"><a href="#">Media</a></li>
				<li id="irf-music"><a href="#">Music</a></li>
				<li id="irf-store"><a href="#">Store</a></li>
				<li id="irf-contact"><a href="#">Contact</a></li> 
			</ul>
    	</nav>
    </header>

	<div id="middle"> 
		<div class="a"> 
			<div class="d"> 
				<div class="content"> 
				<!-- TemplateBeginEditable name="content" -->
                <!--<section><hgroup></hgroup></section>-->
                <section>	 
				  <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
					<p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
					<p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
                    <ul><li><a id="various3" href="http://the-irf.com/contact">Iframe</a></li></ul>
                    <p>Chicken nugget cream pie! </p>
					<div class="c"><span></span><b></b><i></i></div> 
				</section>
                    
                    <!-- TemplateEndEditable -->
				</div> 
			</div> 
		</div> 
	</div> 
	<div style="clear:both"></div>
    <footer>
   <!-- <div id="footer" style="background-color:#fff; margin-top:500px; padding-top:60px;"><p>Hello this the footer</p></div>-->
   </footer>
</div> 
</body> 
</html> 

Thank you very much Rayzyur and Jack for the fixing the layout file that I above. I hope taht you can help me fix the same issue is the layout.

Please reply or contact me if you have any Questions, Comments, Concerns, or Solutions :slight_smile:

Thanks in Advance & Best Regards,
Team 1504

but when I added the same styling changes you said I should make to an actual application of the same layout, it did not work.

That’s because your link was not in the <p> tag in the code above. It was in a <li>.

You can use the universal selector to set all elements as RP with z-index:2 and then drop the z-index on your round corner div .c

[B].content *[/B]  {
    [COLOR=Blue]position:relative;[/COLOR]
    [COLOR=Blue]z-index:2;[/COLOR]
}
.c {
    width:100%;
    position:absolute;
    [COLOR=Blue]z-index:1;[/COLOR]
    left:0;
    top:0;
    right:0;
    height:100%;
}

oh, i forgot about the universal selector in CSS.

The principle is actually similar to your solution, but it was a shortcut solution. Using .content p, .content li{ /*styling */}
But then i wound end up having to do that for all the elements I use, which basically means i should use the universal selector, *, which I now know exists :lol:

I have another general question that has some relavnace to this:
is

.content P{
/*
Styling;
*/
}

the same as

p.content {
/*
styling;
*/
}

.

Is the second form even valid syntax?

No, the first one is targeting all <p> tags in the .content div

The second one styles all <p> tags with that class applied to them and yes it is valid.

The html would look like this on the second rule

<p class=“content”> </p>

The addition of the universal selector, obviously worked, but I am encountering another problem. :confused:
As using the relative positioning on just the p tag worked for the layout, where the content was just Latin place holder text, but did not work for the actual application, I am encountering problems when this styling:

.content *  {
    position:relative;
    z-index:2;
}
.c {
    width:100%;
    position:absolute;
    z-index:1;
    left:0;
    top:0;
    right:0;
    height:100%;
}

is added to the actual application of the layout. If you see in the css, in my current HTML below, there is supposed to be a background image and different elements when positioned properly make the rounded corners appear correctly.

Before, all the corners appeared and were in the proper positions as seen in this screenshot, the code that makes that up is in Post #3.

Now with the addition of the universal selector and the relative positioning in the content div, the upper-right & lover-left corners disappear. As seen in this screenshot.
The elements that make up them are .c span for the upper-right rounded corner and .c b for the lower-left rounded corner. The code below contains the css to position them in the proper places, which I determined using testing and firebug/chrome dev tools, and the styling you said will allow everything in the content div to be clickable.

Here is the HMTL with the new styling, but has the corners missing. (My current HTML document)

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8" />
<style type="text/css">
/* allow html5 styling in non-webkit browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}
</style>   
<style type="text/css"> 
* {
	margin:0;
	padding:0;
}
body {
	background: #000 url(assets/images/spaceBg.jpg) center;
}
p {
	margin:0 0 1em
}
h1 {
	text-align:center;
	margin:0 0 20px;
}
#wrap {
	min-width:800px;
	max-width:1500px;
	margin:auto;
	clear:both;
}
header {
	background:url(assets/images/headerBg.png) no-repeat 50% 0%;
	position:relative;
	width:985px;
	height:194px;
	margin:auto;
	overflow:hidden;
}
#middle {
	min-height:0;
	overflow:hidden;
	padding:0 30px 0 0;
}
.a, .d, .c b, .c span, .c i {
	position:relative;
	background: url(assets/images/contentBg.png) no-repeat;
	width:100%;
}
.a {
	margin:15px auto 40px;
	clear:both;
	min-width:300px;
	width:auto;
}
.d {
	background-position:100% 100%;
	position:relative;
	top:30px;
	left:30px;
}
.content {
	padding:20px;
	min-height:0;
	text-align:justify;
	position:relative;
	top:-11px;
	left:-11px;
	margin:0 8px 9px 0;
	min-height:410px;
}
.content *  {
    position:relative;
    z-index:2;
}
.c {
	width:100%;
	position:absolute;
	 z-index:1;
	left:0;
	top:0;
	right:0;
	height:100%;
}
.c span, .c b {
	width:32px;
	height:32px;
	background-position:100% 0;
}
.c span {
	float:right;
	margin:-21px -20px 0 0
}
.c b {
	position:absolute;
	left:-22px;
	bottom:-215px;
	background-position:0 100%;
	clear:both
}
.c i {
	position:absolute;
	left:-22px;
	bottom:-200px;
	background-position:-18px 99%;
	height:80px;
	width:15px;
}
</style> 

<!--[if lte IE 7]>
<style type="text/css">
* html .content {zoom:1.0;padding:25px 45px 25px 25px}
* html .c, * html .c * {
	display:none;
}
* html #wrap,* html #middle{zoom:1.0;padding:0}
* html #middle{	margin:0 220px 0 220px;}
* html .a {background:#fff;border:1px solid #000;}
* html .d{background:none;}
.c b {
	left:-21px;
	bottom:-22px;
}
.c i {
	left:-3px;
	bottom:6px;
	height:80px;
}
</style>
<![endif]--> 

<link rel="stylesheet" href="assets/css/nav.css" type="text/css" />

<script type="text/javascript" src="fancyAssets/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="fancyAssets/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="fancyAssets/jquery.fancybox-1.3.4.css" media="screen" />
 	<link rel="stylesheet" href="fancyAssets/fancyBox.css" />
	<script type="text/javascript">
		$(document).ready(function() {
	
			$("#various3").fancybox({
				'width'				: '32%',
				'height'			: '56%',
				'autoScale'			: false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe'
			});
		});
	</script>

</head>

<body> 
<!--<section>
<hgroup>
<h1 style="color:#fff;">Transparent Shadow all around with one image - (Not IE6)</h1> 
</hgroup>
</section>-->
<div id="wrap"> 
	<header>
		<nav style="margin-top:124px;">
			<ul>
				<li id="irf-home"><a href="#">Home</a></li>
				<li id="irf-about"><a href="#">About</a></li> 
				<li id="irf-art"><a href="#">Art</a></li> 
				<li id="irf-blog"><a href="#">Blog</a></li> 
				<li id="irf-games"><a href="#">Games</a></li> 
				<li id="irf-media"><a href="#">Media</a></li>
				<li id="irf-music"><a href="#">Music</a></li>
				<li id="irf-store"><a href="#">Store</a></li>
				<li id="irf-contact"><a href="#">Contact</a></li> 
			</ul>
    	</nav>
    </header>

	<div id="middle"> 
		<div class="a"> 
			<div class="d"> 
				<div class="content"> 
                <section><hgroup><!--Heading goes here --></hgroup></section>
                <section>	 
				  <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
					<p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
					<p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p>
                    <ul><li><a id="various3" href="http://the-irf.com/contact">Iframe</a></li></ul>
                    <a href="http://xkcd.com/776/">Click me to read a funny comic </a>
					<div class="c"><span></span><b></b><i></i></div> 
					</section>
                    
                    <!-- InstanceEndEditable -->
				</div> 
			</div> 
		</div> 
	</div> 
	<div style="clear:both"></div>
</div> 
</body> 
</html> 

In short, before I added any of the relative positioning or the z-index changes, I had this but nothing was clickable.
Now with the relative positioning and the z-index changes, everything in the content div is clickable, but the upper-right and lower-left corners are invisible ( as seen here ).

Is it possible and can you guys please help me get this working so that all the rounded-corners are visible and the content is clickable? I honestly can not say how much I would appreciate it as a lack of uniformity in a layout or unclickable/highlightable content is not good design and I tried everything I could before turning to this forum. You guys have helped me greatly and I ask that you help me get the corners appearing, and hopefully the solution will cause no negative side-effects or problems so that this can be completed. :slight_smile:

Please let me know if you need any code or information or anything to help finish this issue.

Thanks in Advance & Best Regards,
Team 1504.

Hi,
Give me a direct link to this BG image so I can test with it.

.a, .d, .c b, .c span, .c i {
    position:relative;
    background: url(assets/images/[B]contentBg.png[/B]) no-repeat;
    width:100%;
} 

I uploaded contentBg and attached it to this post. You can access it here.

Thank you very much, I hope that you can help me solve this.

-Team 1504

Try nesting all your actual content in an inner div and just stacking it higher. It also looks like some of your BG image positioning is actually off as well.


[B].inner[/B]  {
    position:relative;
    z-index:2;
}
.c {
    width:100%;
    position:absolute;
    z-index:1;
    left:0;
    top:0;
    right:0;
    height:100%;
}
                <div class="content">
                <section><hgroup><!--Heading goes here --></hgroup></section>
                <section>   
                    [COLOR=Blue]<div class="inner">[/COLOR]
                        <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p>
                        <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p>
                        <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p>
                        <ul><li><a id="various3" href="http://the-irf.com/contact">Iframe</a></li></ul>
                        <a href="http://xkcd.com/776/">Click me to read a funny comic </a>
                    [COLOR=Blue]</div>[/COLOR]
                    <div class="c"><span></span><b></b><i></i></div>
                </section>
                </div>

Unfortunately, the changes I made did not work. Now, the upper-right corner is appearing, but I can not see the lower-left corner?
Also, the links are not opening or having the cursor become a clicker on cover.

I hope I did not doing anything stupid. But here is my code in its entirety,

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8" />
<style type="text/css">
/* allow html5 styling in non-webkit browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}
</style>   
<style type="text/css"> 
* {
	margin:0;
	padding:0;
}
body {
	background: #000 url(assets/images/spaceBg.jpg) center;
}
p {
	margin:0 0 1em
}
h1 {
	text-align:center;
	margin:0 0 20px;
}
#wrap {
	min-width:800px;
	max-width:1500px;
	margin:auto;
	clear:both;
}
header {
	background:url(assets/images/headerBg.png) no-repeat 50% 0%;
	position:relative;
	width:985px;
	height:194px;
	margin:auto;
	overflow:hidden;
}
#middle {
	min-height:0;
	overflow:hidden;
	padding:0 30px 0 0;
}
.a, .d, .c b, .c span, .c i {
	position:relative;
	background: url(../assets/images/contentBg.png) no-repeat;
	width:100%;
}
.a {
	margin:15px auto 40px;
	clear:both;
	min-width:300px;
	width:auto;
}
.d {
	background-position:100% 100%;
	position:relative;
	top:30px;
	left:30px;
}
.content {
	padding:20px;
	min-height:0;
	text-align:justify;
	position:relative;
	top:-11px;
	left:-11px;
	margin:0 8px 9px 0;
	min-height:410px;
}
.inner{
    position:relative;
    z-index:2;
}
.c {
    width:100%;
    position:absolute;
    z-index:1;
    left:0;
    top:0;
    right:0;
    height:100%;
}

.c span, .c b {
	width:32px;
	height:32px;
	background-position:100% 0;
}
.c span {
	float:right;
	margin:-21px -20px 0 0
}
.c b {
	position:absolute;
	left:-22px;
	bottom:-215px;
	background-position:0 100%;
	clear:both
}
.c i {
	position:absolute;
	left:-22px;
	bottom:-200px;
	background-position:-18px 99%;
	height:80px;
	width:15px;
}
</style> 

<!--[if lte IE 7]>
<style type="text/css">
* html .content {zoom:1.0;padding:25px 45px 25px 25px}
* html .c, * html .c * {
	display:none;
}
* html #wrap,* html #middle{zoom:1.0;padding:0}
* html #middle{	margin:0 220px 0 220px;}
* html .a {background:#fff;border:1px solid #000;}
* html .d{background:none;}
.c b {
	left:-21px;
	bottom:-22px;
}
.c i {
	left:-3px;
	bottom:6px;
	height:80px;
}
</style>
<![endif]--> 

<link rel="stylesheet" href="assets/css/nav.css" type="text/css" />


<!--Start Fancy box assets -->
<script type="text/javascript" src="../fancyAssets/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="../fancyAssets/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="../fancyAssets/jquery.fancybox-1.3.4.css" media="screen" />
 	<link rel="stylesheet" href="../fancyAssets/fancyBox.css" />
	<script type="text/javascript">
		$(document).ready(function() {
	
			$("#various3").fancybox({
				'width'				: '32%',
				'height'			: '56%',
				'autoScale'			: false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe'
			});
		});
	</script>
    <!--End fancy box assets-->
</head>

<body> 
<!--<section>
<hgroup>
<h1 style="color:#fff;">Transparent Shadow all around with one image - (Not IE6)</h1> 
</hgroup>
</section>-->
<div id="wrap"> 
	<header>
		<nav style="margin-top:124px;">
			<ul>
				<li id="irf-home"><a href="#">Home</a></li>
				<li id="irf-about"><a href="#">About</a></li> 
				<li id="irf-art"><a href="#">Art</a></li> 
				<li id="irf-blog"><a href="#">Blog</a></li> 
				<li id="irf-games"><a href="#">Games</a></li> 
				<li id="irf-media"><a href="#">Media</a></li>
				<li id="irf-music"><a href="#">Music</a></li>
				<li id="irf-store"><a href="#">Store</a></li>
				<li id="irf-contact"><a href="#">Contact</a></li> 
			</ul>
    	</nav>
    </header>
	<div id="middle"> 
		<div class="a"> 
			<div class="d"> 
				<div class="content"> 
                <section><hgroup><!-- heading goes here--></hgroup></section>
                <section>
                	<div class="inner">
                      <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
                        <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
                        <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
                        <ul><li><a id="various3" href="http://the-irf.com/contact">Iframe</a></li></ul>
                        <p>Chicken nugget cream pie! </p>
					</div>
                        <div class="c"><span></span><b></b><i></i></div> 
				</section>
				</div> 
			</div> 
		</div> 
	</div> 
	<div style="clear:both"></div>
    <footer>
       <!-- Nothing here yet -->
   </footer>
</div> 
</body> 
</html> 

You reasoning made sense. That the corers did not need that styling and now that they are out of the styling by applying the styling to the inner div , which only contains the content, they should be positioned relative and be clickable and highlightable and the corners be visible. However, the bottom-right is invisible and the text is not high-fightable not no the links open.

Do you have any ideas on why this is not working?

Thank you for all your help so far. I really do appreciate it.

It looks like you tampered with several things, looking back at the original code it was nothing like yours. These settings in red seem to be wrong.


[B].c span [/B]{
    float:right;
   [COLOR=Red] margin:-21px -20px 0 0[/COLOR]
} 
[B].c b[/B] {
    position:absolute;
[COLOR=Red]    left:-22px;
    bottom:-215px;[/COLOR]
    background-position:0 100%;
    clear:both
}
[B].c i [/B]{
[COLOR=Red]    [COLOR=black]position:absolute;[/COLOR]
    left:-22px;
    bottom:-200px;[/COLOR]
    background-position:-18px 99%;
    height:80px;
    width:15px;
} 

Try this, which is what the original code was from Paul’s example

.c span {
    float:right;
    [COLOR=Blue]margin:-19px -19px 0 0;/*this is correct*/
[/COLOR]}
.c b {
    position:absolute;
[COLOR=Blue]    left:-19px;/*this is correct*/
    bottom:-11px;/*this is correct*/[/COLOR]
    background-position:0 100%;
    clear:both;
}
.c i {
    position:absolute;
[COLOR=Blue]left:-2px;/*this is correct*/
    bottom:15px;/*this is correct*/[/COLOR]
    background-position:-18px 99%;
    height:80px;
    width:15px;
}

Before, I found that with other backgrounds, one would have to determine their own corner positioning for each background, but I guess this contentBg.png was close enough to paul’s original that the same styling worked.

I applied that styling, but the links are not clickable nor do they open nor is the content highlightable.
There also seems to be something over the text, should the z-index be made higher on the inner div?

Here is what happens when I added Paul’s css to the elements in .c

screenshot

And here is the code:

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8" />
<style type="text/css">
/* allow html5 styling in non-webkit browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}
</style>   
<style type="text/css"> 
* {
    margin:0;
    padding:0;
}
body {
    background: #000 url(assets/images/spaceBg.jpg) center;
}
p {
    margin:0 0 1em
}
h1 {
    text-align:center;
    margin:0 0 20px;
}
#wrap {
    min-width:800px;
    max-width:1500px;
    margin:auto;
    clear:both;
}
header {
    background:url(assets/images/headerBg.png) no-repeat 50% 0%;
    position:relative;
    width:985px;
    height:194px;
    margin:auto;
    overflow:hidden;
}
#middle {
    min-height:0;
    overflow:hidden;
    padding:0 30px 0 0;
}
.a, .d, .c b, .c span, .c i {
    position:relative;
    background: url(../assets/images/contentBg.png) no-repeat;
    width:100%;
}
.a {
    margin:15px auto 40px;
    clear:both;
    min-width:300px;
    width:auto;
}
.d {
    background-position:100% 100%;
    position:relative;
    top:30px;
    left:30px;
}
.content {
    padding:20px;
    min-height:0;
    text-align:justify;
    position:relative;
    top:-11px;
    left:-11px;
    margin:0 8px 9px 0;
    min-height:410px;
}
.inner{
    position:relative;
    z-index:2;
}
.c {
    width:100%;
    position:absolute;
    z-index:1;
    left:0;
    top:0;
    right:0;
    height:100%;
}
 
.c span, .c b {
    width:32px;
    height:32px;
    background-position:100% 0;
}
.c span {
    float:right;
    margin:-19px -19px 0 0;/*this is correct*/
}
.c b {
    position:absolute;
    left:-19px;/*this is correct*/
    bottom:-11px;/*this is correct*/
    background-position:0 100%;
    clear:both;
}
.c i {
    position:absolute;
left:-2px;/*this is correct*/
    bottom:15px;/*this is correct*/
    background-position:-18px 99%;
    height:80px;
    width:15px;
}
</style> 
 
<!--[if lte IE 7]>

<style type="text/css">
* html .content {zoom:1.0;padding:25px 45px 25px 25px}
* html .c, * html .c * {
    display:none;
}
* html #wrap,* html #middle{zoom:1.0;padding:0}
* html #middle{ margin:0 220px 0 220px;}
* html .a {background:#fff;border:1px solid #000;}
* html .d{background:none;}
.c b {
    left:-21px;
    bottom:-22px;
}
.c i {
    left:-3px;
    bottom:6px;
    height:80px;
}
</style>
<![endif]--> 
 
<link rel="stylesheet" href="assets/css/nav.css" type="text/css" />
 
 
<!--Start Fancy box assets -->
<script type="text/javascript" src="../fancyAssets/jquery.mousewheel-3.0.4.pack.js"></script>
    <script type="text/javascript" src="../fancyAssets/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="../fancyAssets/jquery.fancybox-1.3.4.css" media="screen" />
    <link rel="stylesheet" href="../fancyAssets/fancyBox.css" />
    <script type="text/javascript">
        $(document).ready(function() {
    
            $("#various3").fancybox({
                'width'    : '32%',
                'height'            : '56%',
                'autoScale'   : false,
                'transitionIn'    : 'elastic',
                'transitionOut'  : 'elastic',
                'type'        : 'iframe'
            });
        });
    </script>
    <!--End fancy box assets-->
</head>
 
<body> 
<!--<section>

<hgroup>
<h1 style="color:#fff;">Transparent Shadow all around with one image - (Not IE6)</h1> 
</hgroup>
</section>-->
<div id="wrap"> 
    <header>
        <nav style="margin-top:124px;">
            <ul>
                <li id="irf-home"><a href="#">Home</a></li>
                <li id="irf-about"><a href="#">About</a></li> 
                <li id="irf-art"><a href="#">Art</a></li> 
                <li id="irf-blog"><a href="#">Blog</a></li> 
                <li id="irf-games"><a href="#">Games</a></li> 
                <li id="irf-media"><a href="#">Media</a></li>
                <li id="irf-music"><a href="#">Music</a></li>
                <li id="irf-store"><a href="#">Store</a></li>
                <li id="irf-contact"><a href="#">Contact</a></li> 
            </ul>
        </nav>
    </header>
    <div id="middle"> 
        <div class="a"> 
            <div class="d"> 
                <div class="content"> 
                <section><hgroup><!-- heading goes here--></hgroup></section>
                <section>
                    <div class="inner">
                      <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
                        <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
                        <p>Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli Lorem ipsum dolor sit amet consectetuer nibh elit a In ac. Orci et arcu orci convalli enim tellus ligula vestibulum hac. Risus felis nisl In at et in orci Curabitur mauris ipsum. In at Maecenas porttitor dui libero vel eros et quis condimentum. Et tempor ac vitae ut Vestibulum fa</p> 
                        <ul><li><a id="various3" href="http://the-irf.com/contact">Iframe</a></li></ul>
                        <p>Chicken nugget cream pie! </p>
                    </div>
                        <div class="c"><span></span><b></b><i></i></div> 
                </section>
                </div> 
            </div> 
        </div> 
    </div> 
    <div style="clear:both"></div>
    <footer>
       <!-- Nothing here yet -->
   </footer>
</div> 
</body> 
</html>

It seems as if either the corners can be placed properly or the links can work. However I hope that it is not true and that you can help me style the page so that the corners can be positioned and the content can selectable,clickable, etc.

I really can not express how thankful I am for you helping me fix this and the work you have put in thus far. If you need anything, code or information, that can help in finding a solution, agin, let me know.

Regards,
Team 1504

I applied that styling, but the links are not clickable nor do they open nor is the content highlightable.
There also seems to be something over the text, should the z-index be made higher on the inner div?

The code you just posted is working for me, maybe try clearing your cache. When I clicked the link it took me to your contact page and the text is selectable.

When I tried the code I posted above, it worked.
But when I ran my code even with the cache gone, it did not work.
Here is a video of me my going through the code. One file is mine and the other is just a copied and pasted version of what I posted above. The only difference is that mine on my computer has some dreamweaver and extra things it in, but they should not interfere with the rest of it. [URL=“http://screencast.com/t/00EWFF0r”]Here is a link to the video again.

Here is a link to a screen video of me viewing those files in chrome and trying to open the links from them. This is with the chace cleared. The first one is [URL=“http://pastebin.com/yeXdYy2K”]working.html, which is the code from the above post and [URL=“http://pastebin.com/WCyQyhnB”]sample.html is the last one which is my code from the dreamweaver template that I made.
Everything that is in the template is in sample.html But for some reason it couldn’t paste the code in this post, so I uploaded it to pastebin.com [URL=“http://pastebin.com/WCyQyhnB”]here
The code above is everything eve all the dreamweaver stuff. I just hope you can help me figure out why the links are not opening in my version.

Thank you again.

Best Regards,
Team 1504

The first one is working.html, which is the code from the above post

That one has the .inner div nested correctly. The whole point of that .inner div was to keep the actual content separated from <div class=“c”><span></span><b></b><i></i></div>.

and sample.html is the last one which is my code from the dreamweaver template that I made.

That has everything nested in .inner which defeats the whole purpose.
It also has <div class=“c”><span></span><b></b><i></i></div> twice in the html.

Those are just errors on your part or with dreamweaver.

Thank yuo very much for all you help RAyzur!

It works perfectly now! :):):):weee::weee::weee::weee::weee::weee::weee:

It turned out being an issue with Dreamweaver. The only reason I use dreamweaver is because I can use it to easily manage websites with templates without having to edit every page.

thank you very much for all your help!