PDA

View Full Version : code conflict


raee
05-01-2008, 09:25 PM
sorry if this is in the wrong section. My layout works fine in firefox except my content in the center doesn't show up. In IE the content shows up but the left side doesn't. I'm pretty sure its my ad code but it doesn't matter where I put it messes something up. where should i be putting it?

this is my site

www.pushplaysource.fanbased.net

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>

<title>Push Play Source// your #1 site for Push Play</title>
</head>

<body>
<!-- ... body of document ... -->
</body>

</html>


<html>
<head>
<title>Push Play Source// your #1 site for Push Play.</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>


<body style="background: url(http://img90.imageshack.us/img90/5454/backenw4.png); background-color: #181818; background-repeat:repeat-y;">
<div style="position: absolute; top: 0px; left: 20px;">
<img src="http://i12.photobucket.com/albums/a208/Rachel_891/lv2bancopy1.png" border=0>
</div>

<div style="LEFT: 35px; OVERFLOW: hidden; POSITION: absolute; TOP: 360px; width:251px; height:102px;">
<font face="arial" size="1" color="white"><marquee direction=up scrollamount=2>
May 3 2008 6:00P
Sachem East HS<br> <i>Farmingville, New York<br></i>
May 4 2008 8:30A
Jones Beach State Park<br> <i>Wantagh, New York<br></i>
May 9 2008 8:00P
Ronkonkoma Middle School<br> <i>Ronkonkoma, New York<br></i>
May 17 2008 12:00P
Z100 Zootopia Preshow @ Izod Center<br> <i>E. Rutherford, New Jersey<br></i>
May 22 2008 8:00P
North Babylon HS<br> <i>North Babylon, New York<br></i>
May 25 2008 6:00P<br>
The Social in Downtown Orlando<br> <i>Orlando, Florida<br></i>
May 30 2008 9:00P
Scarsdale Teen Center <br> <i>Scarsdale, New York<br></i>
May 31 2008 7:30P
Relay For Life Concert & Benefit<br> <i>Southold, New York<br></i>
Jun 14 2008 7:00P
North Sachem High <br> <i>Lake Ronkonkoma, New York<Br></i>
Jun 25 2008 8:00P
What Teens Want Conference @ Times Center<br> <i>New York, New York</i><br></marquee></font>
</div>

<div style="LEFT: 286px; OVERFLOW: hidden; POSITION: absolute; TOP: 360px; width:200px; height:102px;">
<font face="arial" size="1" color="white"><center> Updates</center></font>
</div>

<div style="LEFT: 531px; OVERFLOW: hidden; POSITION: absolute; TOP: 360px; width:221px; height:102px;">
<font face="arial" size="1" color="white">
<a href="http://myspace.com/rachel_890">Rae's Myspace</a><br>
<a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=18736007">Caitlyn's Myspace</a><br>
<a href="http://pushplaysite.com">Official Push Play Site.</a><br>
<a href="http://myspace.com/pushplayrox">Official Push Play Myspace</a><br>
<a href="http://myspace.com/officalcanadianpushplay">Official Canadian Push Play Street Team</a><br>
<a href="http://www.justin.tv/officialpushplay">Push Play Chat</a><Br> </font>
</div>

<div style="LEFT: 285px; OVERFLOW: hidden; POSITION: absolute; TOP: 510px; width:468px; height:60px;">
<script type="text/javascript"><!--
google_ad_client = "pub-1421452112578246";
google_alternate_color = "FFFFFF";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "2364410786";
google_color_border = "FFFFFF";
google_color_bg = "5f5f5f";
google_color_link = "#0000FF";
google_color_text = "000000";
google_color_url = "#0000FF";
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

<div style="position:absolute; background-color:#494949; left:271px; top:578px; width:500px;border:1px; overflow: auto; overflow-x: hidden;">
<div class="content">

</div>
</div>

<div style="position:absolute;background-color:#494949; left:20px; top:508px; width:225px;border:1px; overflow: hidden; overflow-x: hidden;">

<div class="side">
<h1>Welcome</h1>
Welcome to <b>Push Play Source</b>. This site just opened, so hopefully with time we will grow into something bigger and better. I will be updating this site daily and keeping you update on everything Push Play. So keep checking back =] <br> Raee</br>
</div>
<br>

<div class="side">
<h1>Site Stats</h1>

<b>Site Name:</b> Push Play Source<br>
<b>Owner:</b> Rachel<br>
<b>Co-Web:</b> Caitlyn<br>
<b>Opened:</b> April 7, 2008<br>
<b>Layout by:</b> Rachel<br>
<b>Version:</b> 1.0<br>
<b>Host:</b> <a href="http://www.fanbased.net">Fanbased</a><br>

</div>
<br>

<div class="side">
<h1>Navigation</h1>
<center>

<a class="navi" href="pushplay.php">Push Play</a>
<a class="navi" href="gallery.php">Gallery</a>
<a class="navi" href="media.php">Media</a>
<a class="navi" href="foryou">The Fans</a>
<a class="navi" href="site.php">Site/WWW</a>
</center>
</div>
<br>

<div class="side">
<h1>Music</h1>
<center><p style="visibility:visible;"><embed src="http://www.mp3asset.com/swf/mp3/minime.swf" quality="high" wmode="transparent" flashvars="myid=9459175&path=2008/04/29&mycolor=0xF0FFC9&mycolor2=0xA9DA88&mycolor3=0x62997A&autoplay=true&rand=0&f=3&vol=100&pat=0" width="160" height="68" name="myflashfetish" align="middle"type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0" /><br><a href="http://www.myflashfetish.com/playlist/9459175" target="_blank"></a><br></p></center><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/bT*xJmx*PTEyMDk1MTc1NTQ2NzQmcHQ9MTIwOTUxNzU2MDI2NyZwPTE4MDMxJmQ9Jm49Jmc9MQ==.jpg" />
</div>
<br>

<div class="side">
<h1>Forum</h1>
<br><center>
<img src="http://i12.photobucket.com/albums/a208/Rachel_891/pp-1.jpg" border="0"><Br>
Coming Soon!<br>
</center>
</div>
<br>


<div class="side">
<h1>Push Play Links</h1>

<a href="http://myspace.com/pushplayrox">Push Play's Official Myspace</a><br>
<a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=215772637">Official Push Play Street Team</a><br>
<a href="">Official Push Play Youtube</a><Br>
<a href="http://www.justin.tv/officialpushplay">Push Play Chat</a><Br>
</div>
<br>

<div class="side">
<h1>Tagboard</h1>
01. <b>No</b> advertising.<br>
02. <b>No</b> inapproprate language. <br>
03. Chat away =]<br>
<!-- BEGIN CBOX - www.cbox.ws -->
<div align="center" id="cboxdiv">
<iframe frameborder="0" width="220" height="305" src="http://www5.cbox.ws/box/?boxid=199624&amp;boxtag=6h9c72&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#636C75 1px solid;" id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="220" height="75" src="http://www5.cbox.ws/box/?boxid=199624&amp;boxtag=6h9c72&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#636C75 1px solid;border-top:0px" id="cboxform"></iframe>
</div>
<!-- END CBOX -->
</div>
<br>

<div class="side">
<h1>Disclaimer</h1>
<br>
We are not Push Play, just simply a fansite. We have no contact with the band and do not know them personally.
<br>

<center><div id="eXTReMe"><a href="http://extremetracking.com/open?login=raee">
<img src="http://t1.extreme-dm.com/i.gif" style="border: 0;"
height="38" width="41" id="EXim" alt="eXTReMe Tracker" /></a>
<script type="text/javascript"><!--
var EXlogin='raee' // Login
var EXvsrv='s11' // VServer
EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?
EXb=EXs.colorDepth:EXb=EXs.pixelDepth;
navigator.javaEnabled()==1?EXjv="y":EXjv="n";
EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";
EXd.write("<img src=http://e2.extreme-dm.com",
"/"+EXvsrv+".g?login="+EXlogin+"&amp;",
"jv="+EXjv+"&amp;j=y&amp;srw="+EXw+"&amp;srb="+EXb+"&amp;",
"l="+escape(EXd.referrer)+" height=1 width=1>");//-->
</script><noscript><div id="neXTReMe"><img height="1" width="1" alt=""
src="http://e2.extreme-dm.com/s11.g?login=raee&amp;j=n&amp;jv=n" />
</div></noscript></div></center>
</div>
<br>
<br>
<br>


</body>
</html>

oesxyl
05-01-2008, 09:46 PM
Hi,

make it valid first:

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.pushplaysource.fanbased.net%2F

regards

raee
05-01-2008, 09:49 PM
i was hoping you wouldn't say that. i've tried. i have no idea what any of it means.

oesxyl
05-01-2008, 10:14 PM
i was hoping you wouldn't say that. i've tried. i have no idea what any of it means.
I'm sorry, but is not so hard you think it is, :)

first message:

Line 7, Column 56: end tag for "link" omitted, but OMITTAG NO was specified.

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

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".


that means this:


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


will become this:


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


take it from the top and modify the page source until it validate. Read carefull the message from the validation page and if you are stuck post what you don't understand.
Validate after you modify the page, the validator show more error the are because some of them trigger another errors.


any empty element like meta, link, img must ends in /> instead of >.
I hope this help.

good luck and regards

raee
05-01-2008, 10:17 PM
awww i love you hha.
i appreciate this. thanks again.
i will try!...again haha.
hopefully this works.

raee
05-01-2008, 10:47 PM
# Error Line 119, Column 80: required attribute "ALT" not specified.

…/a208/Rachel_891/pp-1.jpg" border="0"/><Br>



The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.


that i don't understand. :(

oesxyl
05-01-2008, 10:54 PM
that i don't understand. :(

you must give a name to your picture in case that somebody look to your page with a text browser, something like that:


<img alt="my favorite band, Iron Maiden" ....


regards

raee
05-01-2008, 11:00 PM
okay i validated it. but that was never hte problem. my ad code is still screwing with my layout. i dont understand it. it doesnt matter where i put it does the samething. :( do you know why this could be?