Page 1 of 1

Help: <img>

Posted: Thu Aug 18, 2005 5:39 am
by raghavan20
I have a personal website at:
http://www50.brinkster.com/raghavan20/a ... efault.asp

I was trying to put a banner but it did not display itself. when i looked at the 'view source', the <img> tag is not in there.
can anybody tell me why???

Code: Select all

<div class="header">
<img src="banner.png" style = "width:100%; margin:0px; padding:0px;"/>
</div>
relevant css code:

Code: Select all

.header {
	color: #666666;
	background-color:#FFFFFF;
	border-left:1px solid #000000;
	border-right:1px solid #000000;
	border-top:1px solid #000000;
	font-weight:bolder;
	text-transform:uppercase;
	height:40px;
}

Posted: Thu Aug 18, 2005 6:11 am
by timvw
Are you sure you looked at the right frameset? :p

Src http://www50.brinkster.com/raghavan20/a ... banner.png
Width 800
Height 100
File size 56 kb

Posted: Thu Aug 18, 2005 6:34 am
by raghavan20
this is wot I got when i clicked on view source in any of my browsers but I can see the <img> when I open the files in my local system

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Raghavan - Home Page</title>
<link href="personal1.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="header">

</div>
<div id = "mainMmenu" style="border:1px solid #000000; text-align:center ">
	<span class="menu"><a href="aboutMe.html" class="menu">About Me</a></span>
	<span class="menu"><a href="default.asp" class="menu">Home Page</a></span>
	<span class="menu"><a href="generalLinks.asp" class="menu">General Links</a></span>
	<span class="menu"><a href="news.php" class="menu">News</a></span>
	<span class="menu"><a href="http://raghavan.allhyper.com/index.php" class="menu">Blogs</a></span>
	<span class="menu"><a href="http://raghavan20.allhyper.com/index.php" class="menu">Chat</a></span>
	<span class="menu"><a href="employers.html" class="menu">Employer's section</a></span>
	<span class="menu"><a href="xml.php" class="menu">XML</a></span>
</div>
<div class ="parent">
	<div class="mainDiv">
	</div>
	<div class="subNav">
		<div id ="subMenu">
		</div>
	</div>
</div>	
<div id="clearfooter"></div>
</body>
</html>

Posted: Thu Aug 18, 2005 8:36 am
by feyd
that's odd, because I can see it in source (and the page) too.. :?

Posted: Thu Aug 18, 2005 4:24 pm
by raghavan20
can anybody help me with the height in my new site?
look at : http://www50.brinkster.com/raghavan20/a ... urces.html for problems.
should be looking horrible in netscape or firefox, u can see the footer hanging somewhere.
help me with the divs, mainDiv and subNav grow without any problems, I dont want scroll.

css:

Code: Select all

body,html{
	height:100%;
}

body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:.8em;
	color: #000000;
}
body {
	background-color: #FFFFFF;
	margin-left: 10%;
	margin-right: 10%;
}
a:link{
	color:#000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color:#BFBFBF;
}
a:hover {
	text-decoration: none;
	color:#999999;
	font-size:1.0em;
}

a.menu:link{
	color:#000000;
	text-decoration: none;
}
a.menu:visited {
	text-decoration: none;
	color:#000000;
}
a.menu:hover {
	text-decoration: none;
	color:#FFFFFF;
	font-size:1.0em;
}

.header {
	color: #666666;
	background-color:#FFFFFF;
	border-left:1px solid #000000;
	border-right:1px solid #000000;
	border-top:1px solid #000000;
	font-weight:bolder;
	text-transform:uppercase;
}
#menu {
	text-align:left;
	vertical-align:middle;
	border:1px solid #000000;
}

.mainDiv{
	float:left; width:75%; height:100%; min-height:100%; text-align:center; border-right:1px dashed #000000;
}
.subNav{
	float:right; width:23%; height:100%; min-height:100%; text-align:center;
}

.parent{
	border-left:1px dashed #000000;
	border-right:1px dashed #000000;
	height:100%; 
}

#clearfooter {
	clear:both;
	height:80px;
	overflow:hidden;
	border-left:1px solid #000000;
	border-right:1px solid #000000;
	border-bottom:1px solid #000000;
	border-top:1px solid #000000;

}

span.menu{
	border-left:solid 2px;
	border-right:solid 2px;
	padding-left:5px;
	padding-right:5px;
	background-color:#c0c0c0;
	display:inline;
}

span.me{
	background-color:#FFFFFF;
}

.subLinks{
	padding-bottom:2px;
	padding-left:5px;
	padding-right:5px;
	padding-top:2px;
	text-align:left;
}

Posted: Fri Aug 19, 2005 11:26 am
by wwwapu
Is the picture oddness solved already? If not I might have an idea.

Do you have some Ad-Blocking program on? I had problems viewing small *.gif images when I tested some free adblocker (Cannot remember which one). Image named banner.*** is easily interpreted as advertise. Some firewalls have default with blocking also.

Posted: Fri Aug 19, 2005 11:32 am
by raghavan20
no the problem was not solved.
but does not seem to be a problem with norton cos its the same when the norton is disabled.
i have avant, firefox, netscape and IE ; i dont know which ad blocker is giving a problem.
you might hv guessed right. i always welcome suggestions :D