CSS - Script Help Please
can someone who is good at scripting help me, im gonna show you two parts of my files and need you help me fix it to do what i want
i would really appreciate any help every thing i try to edit messes every thing on page up Styles.css Code: body { background: url(images/background.png) repeat-x #e6e3dc; margin: 0; font-family:Arial, Helvetica, sans-serif; } a { color: #9bb50b; text-decoration: none; } a:hover { color: #728507; text-decoration: underline; } #wrapper { width: 900px; margin: 0 auto; } #header { } #logo { background: url(images/logo.png) no-repeat; width: 335px; height: 50px; margin-top: 17px; margin-left: 7px; } #updates { color: #e6e3dc; font-family: "Tahoma", Arial, Helvetica, sans-serif; padding-top: 5px; } #updates span { font-size: 13px; } #login { background: url(images/loginbg.png); width: 356px; height: 73px; position: relative; top: -71px; left: 560px; color: #e6e3dc; font-family: "Tahoma", Arial, Helvetica, sans-serif; font-size: 13px; } #regpage { width: 400px; height: 150px; color: #000000; font-family: "Tahoma", Arial, Helvetica, sans-serif; font-size: 13px; } #loginwelcome { padding-left: 20px; padding-top: 15px; } #login form { padding-left: 20px; } #login .username { border: none; background: url(images/formfield.png) transparent no-repeat; width: 131px; height: 21px; color: #859c0a; font-family: "Tahoma", Arial, Helvetica, sans-serif; text-indent: 4px; font-size: 13px; } #regpage .item { border: none; background: url(images/formfield.png) transparent no-repeat; width: 131px; height: 21px; color: #859c0a; font-family: "Tahoma", Arial, Helvetica, sans-serif; text-indent: 4px; font-size: 13px; } #login .password { border: none; background: url(images/formfield.png) transparent no-repeat; width: 131px; height: 21px; color: #859c0a; font-family: "Tahoma", Arial, Helvetica, sans-serif; text-indent: 4px; font-size: 13px; } #login .submit { border: none; background: none; width: 50px; font-family: "Myriad Pro", Arial, Helvetica, sans-serif; color: #e6e3dc; font-size: 15px; } ul { list-style: none; margin: 0px; padding: 0px; } #navigation { float:right; font-size:12px; margin-top: -18px; font-family: "Tahoma", Arial, Helvetica, sans-serif; } #navigation li { float:left; margin-right: 3px; } #navigation li a{ display: block; text-decoration: none; color: #e6e3dc; width: 70px; height: 24px; text-align: center; padding-top: 5px; } #navigation li a:hover { background: url(images/button.jpg) no-repeat;} #navigation .on { background: url(images/button.jpg) no-repeat;} #content { background: url(images/contentback.jpg) repeat-x #FFFFFF; margin-top: 20px; padding: 10px; } #content2 { background: url(images/contentback.jpg) repeat-x #FFFFFF; margin-top: 0px; padding: 0px; } #content h2 { font-family: "Tahoma", Arial, Helvetica, sans-serif; font-size: 23px; color: #9bb50b; margin: 0; margin-top: 10px; } #content p { font-family: "Tahoma", Arial, Helvetica, sans-serif; font-size: 13px; padding-left: 15px; margin: 0; width: 95%; } #content td { font-family: "Tahoma", Arial, Helvetica, sans-serif; font-size: 13px; padding-left: 15px; margin: 0; } #stock { margin: 0 auto; margin-top: 15px; width: 78%; } #footer { background: url(images/footback.png) no-repeat; height: 22px; font-family: "Tahoma", Arial, Helvetica, sans-serif; font-size:14px; color: #FFFFFF; margin-bottom: 9px; } #footertext { width: 100%; text-align: center; } #footertext a { color: #000000; text-decoration: none; } #footertext a:hover { color: #728507; text-decoration: underline; } Now part of index.php Code: <? session_start(); include_once"config.php"; if(isset($_POST['login'])){ $username= trim($_POST['username']); $password = trim($_POST['password']); if($username == NULL OR $password == NULL){ $final_report.="Please complete both fields"; }else{ $check_user_data = mysql_query("SELECT * FROM `members` WHERE `username` = '$username'") or die(mysql_error()); if(mysql_num_rows($check_user_data) == 0){ $final_report.="This username does not exist"; }else{ $get_user_data = mysql_fetch_array($check_user_data); if($get_user_data['password'] == $password){ $start_idsess = $_SESSION['username'] = "".$get_user_data['username'].""; $start_passsess = $_SESSION['password'] = "".$get_user_data['password'].""; $final_report.="<meta http-equiv='Refresh' content='0; URL=members.php'/>"; }}}} if(isset($_SESSION['username']) && isset($_SESSION['password'])){ header("Location: members.php"); } ?> <?php include("includes.php");?> <!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"> <head> <title><?php echo $title ?> | It's time to shop for free!</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="Get free vouchers for online stores such as Amazon, ASOS, iTunes and more. It takes a few seconds to get started. Register now to start shopping for free." /> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <div id="wrapper"> <div id="header"> <a href="index.php<?php echo $referral_string?>"> <div id="logo"> </div></a> <div id="updates"> <span> </span> </div> <div id="login"> <div id="loginwelcome"> <?php if(!isset($_SESSION['username']) || !isset($_SESSION['password'])){ ?> <?php if($final_report !=""){?> <font color="red"><? echo $final_report;?></font> <?php }else { ?>Welcome Guest, not a member? <a href="register.php<?php echo $referral_string?>"><b>Register Now!</b></a> <?php } ?> </div> <form action="" method="post"> <p> <input type="text" title="username" name="username" class="username" value="Username" onclick="if ( value == 'Username' ) { value = ''; }"/> <input name="password" type="password" class="password" title="password" value="Password" onclick="if ( value == 'Password' ) { value = ''; }"/> <input type="Submit" name="login" class="submit" value="login" tabindex="3" /> </p> </form> </div> <?php } ?> <?php if(isset($_SESSION['username']) && isset($_SESSION['password'])){ ?> <table> <tr> <td> Welcome <b><?php echo $membername ?></b> </td> </tr> <tr> <td align="right" width="310"> Total Points: <b><?php echo $memberpoints ?></b><br> <?php if ($pointsneeded<=0){ ?> You can now request a voucher!<?php }else { ?> Points Needed: <b><?php echo $pointsneeded ?> <?php } ?> </b><br> </td> </tr> </table> </div> </div> <?php } ?> <ul id="navigation"> <li class="on"><a href="index.php<?php echo $referral_string?>">Home</a></li> <?php if(isset($_SESSION['username']) && isset($_SESSION['password'])){ ?> <li><a href="members.php">Members</a></li> <?php } ?> <li><a href="vouchers.php<?php echo $referral_string?>">Vouchers</a></li> <li><a href="terms.php<?php echo $referral_string?>">Terms</a></li> <li><a href="help.php<?php echo $referral_string?>">Help</a></li> <li><a href="contact.php<?php echo $referral_string?>">Contact Us</a></li> <?php if(isset($_SESSION['username']) && isset($_SESSION['password'])){ ?> <li><a href="logout.php">Logout</a></li> <?php } ?> </ul> This is my page http://cpagiveaway.com/index.php i want from green bar up all black centered login stuff at top no white on sides all black background want centered Logo Next want center navagation Similar Tutorialshi i have just found this table script from jquery but everytime i want to show the table there isnt happening anything with it i dont know hwat i am doing wrong i have the html and the js pluginf in the same folder take a look Code: <head> <script type="text/javascript" src="/path/to/jquery-latest.js"></script> <script type="text/javascript" src="/path/to/jquery.tablesorter.js"></script> <table id="myTable"> <thead> <tr> <th>Last Name</th> <th>First Name</th> <th>Email</th> <th>Due</th> <th>Web Site</th> </tr> </thead> <tbody> <tr> <td>Smith</td> <td>John</td> <td>jsmith@gmail.com</td> <td>$50.00</td> <td>http://www.jsmith.com</td> </tr> <tr> <td>Bach</td> <td>Frank</td> <td>fbach@yahoo.com</td> <td>$50.00</td> <td>http://www.frank.com</td> </tr> <tr> <td>Doe</td> <td>Jason</td> <td>jdoe@hotmail.com</td> <td>$100.00</td> <td>http://www.jdoe.com</td> </tr> <tr> <td>Conway</td> <td>Tim</td> <td>tconway@earthlink.net</td> <td>$50.00</td> <td>http://www.timconway.com</td> </tr> </tbody> </table> </script> </body> </html> Hi folks, i have a page i've designed which uses extensive css and which must now be integrated into a perl/cgi web app. i've used 'print header;' and 'print start_html();' with title and style arguments to link to the stylesheet and then used here-doc to print out the rest of the html. in one place i can see a group of radio buttons that are indented according to a stylesheet rule so obviously the stylesheet is being found and yet all other rules for positioning, etc. are ignored. 'view source' shows the link to the style sheet and everything else and yet it won't display properly. it doesn't make a difference if the stylesheet is in cgi-bin or htdocs with a relative path. i've looked at several web pages about how to accomplish this task which all seem to agree with the way that i've coded it. server config maybe(apache2)? here's the code: Code: #!/usr/bin/perl -wT use CGI qw(:standard); use CGI::Carp qw(warningsToBrowser fatalsToBrowser); print header; print start_html(-title=>"xxxxx", -style=>{-src => 'style.css', -type => 'text/css'}); print <<EndHTML; <html body.....> EndHTML i need to get this working asap and i'm baffled. thanks for any help. Hi guys, just dropping a line because I am having the darndest time trying to get this page: http://www.againsttheline.com/college_football_links/ to look the way I want it to with the CSS the script developer included. I have never personally used CSS myself, so I'm at a bit of a loss, but I have gone into the CSS file, changed what I though to be correct, but can never get the right results. I would like the categories in the middle of the page to be larger without changing the size of the rest of the links on the page. However, when I change "CatHeaderText" size it has no effect. If I change body text size it has no effect. The only thing that works when I change the font size is the a:link thing from xx-small but then that changes every link on the page and not just the category links in the middle. Can anyone offer any ideas of how I can make this work? Thanks, John Below is the full CSS <style> .bodytext { font-family: verdana,arial,ms sans serif; font-size: 10pt; color: #000000; } a:link, a:visited, a:active { font-family: verdana,arial,ms sans serif; font-size: xx-small; color: #70191B; text-decoration: none; } a:hover { font-family: verdana,arial,ms sans serif; text-decoration: underline; color: #800000; } .dotted { border: 1px dotted #000000; } .catheadertext { font-family: verdana,arial,ms sans serif; font-size: l2pt; font-weight: bold; color: #000000; } .button { font-family: verdana,arial,ms sans serif; font-size: xx-small; border-color: #909090; background-color: #404040; color: #FFFFFF; } .formtext { font-family: verdana,arial,ms sans serif; font-size: xx-small; } .poplisttext { font-family: tahoma,verdana,arial,ms sans serif; font-size: 7pt; } .revheadertext { font-family: tahoma,verdana,arial,ms sans serif; font-size: 8pt; font-weight: bold; color: #FFFFFF; background-color: #5A636E; } .topborder { border-top: 1px solid #000000; font-family: tahoma,verdana,arial,ms sans serif; font-size: 8pt; color: #000000; } .bottomborder { border-bottom: 1px solid #000000; font-family: tahoma,verdana,arial,ms sans serif; font-size: 8pt; color: #000000; } .description { font-family: tahoma,verdana,arial,ms sans serif; font-size: 8pt; color: #000000; padding-left:20px; } .adminheadertext { font-family: tahoma,verdana,arial,ms sans serif; font-size: 8pt; font-weight: bold; color: #000000; } .admintable { background-color: #000000; } .adminmain { background-color: #FFFFFF; } .subcatheadertext { font-family: tahoma,verdana,arial,ms sans serif; font-size: 9pt; color: #800000; } </style> Hello everyone. I want to link a .css file to my php script. I tried ti include the .cc file but it gave me an error about include_path. I made sure the pathname was correct and it didn't work. Does anyone have any ideas? hi i have a table script from a website and want to use it for my own the script is not working good and i want to know if soemone can help me out here with this script what do i hva to do to make this work with all the function of the filter and the other function the script <html> <head> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function fmPopUp(url,width,height,status,toolbar,scrollbars) { if (width == null) w = 600; else w = width; if (height == null) h = 400; else h = height; if (status == null) st = 0; else st = status; if (toolbar == null) tb = 0; else tb = toolbar; if (scrollbars == null) sb = 1; else sb = scrollbars; open(url,"_blank","status="+st+",toolbar="+tb+",scrollbars="+sb+",resizable=1,width="+w+",height="+h+",screenX=30,screenY=30,left=30,top=30"); } //--> </script> <style type="text/css"> <!-- .style7 { color: #B7B7B7; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; } .style8 { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; } --> </style> </head> <link rel='STYLESHEET' type='text/css' href='css/default.css'> <STYLE> BODY {scrollbar-face-color: #666666; scrollbar-shadow-color: #334a66; scrollbar-highlight-color: #ffffff; scrollbar-3dlight-color: #000000; scrollbar-darkshadow-color: #1a1a1a; scrollbar-track-color: #000000; scrollbar-arrow-color: #ffffff} .style5 {font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; } </style> <body bgcolor="333333" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <script type="text/javascript" src="javascripts/swfobject.js"></script> </td> <td width="473" valign="bottom"><div align="center"> <table width="473" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="right"> <table width="453" border="0" cellspacing="0" cellpadding="0"> </tr> </table> </div></td> <td width="11"> </td> </tr> </table> </div></td> </tr> </table> <table width="960" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="157"><img src="gfx/shadowsbars/leftmenu.gif" width="157" height="24"></td> <td width="787"><img src="gfx/releaselist/toppen2.gif" width="788" height="24"></td> <td width="16"><img src="gfx/releaselist/toppen_hoyrekant2.gif" width="16" height="24"></td> </tr> <tr> <td height="840" valign="top" background="gfx/shadowsbars/bg_leftmenuknapper2.gif"> <table width="157" height="555" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="700" valign="top"><div align="center"> </div></td> </tr> </table></td> <td valign="top" background="gfx/releaselist/bg_main2.gif"> <table width="787" height="47" border="0" cellpadding="0" cellspacing="0" background=""> <tr> <td width="26"> </td> <td width="749"><span class="style7"> <td width="12"> </td> </tr> </table> <table width="787" height="59" border="0" cellpadding="0" cellspacing="0" background=""> <tr> <td width="26" height="39"> </td> <td width="750"><font color="e6e6e6" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <form method="get" action="gamebrowse.asp" name="frmGameBrowser" style="display: inline;"> <table width="750" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="669"><font color="e6e6e6" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <input type="hidden" value="title" name="sort"> <input type="hidden" value="all" name="letter"> <input type="hidden" value="1" name="page"> <input type="hidden" value="asc" name="sortdir"> </select> <strong>GEN </strong> <select name="category" style="width:100px;border-style:Groove;"> <option value="all" selected>All</option> <option value="13">-</option> <option value="11">Action</option> <option value="19">Action/Adventure</option> <option value="3">Adventure</option> <option value="20">Cards</option> <option value="23">Children</option> <option value="18">Entertainment</option> <option value="15">Fighting</option> <option value="4">FPS</option> <option value="24">Hunting</option> <option value="21">MMOFPS</option> <option value="14">MMORPG</option> <option value="17">Music</option> <option value="16">Puzzle</option> <option value="12">Racing</option> <option value="22">Retro</option> <option value="8">RPG</option> <option value="2">Simulator</option> <option value="9">Sport</option> <option value="1">Strategy</option> <option value="5">Tactical</option> </select> <strong>LANGUAGE:</strong> <select name="territory" style="width:80px;border-style:Groove;"> <option value="us">USA</option> <option value="eu" selected>UK/Euro</option> <option value="sca">Nordic</option> </select> </font></td> <td width="81"><font color="e6e6e6" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <input name="image" type="image" style="border-width:0px;" value="submit" src="" alt="Apply Changes"/></font></td> </tr> </table> </form> </font> </td> <td width="11"> </td> </tr> <tr> <td height="20"> </td> <td> <div align="left"> <font color="e6e6e6" size="1" face="Verdana, Arial, Helvetica, sans-serif"> | <a href="gamebrowse.asp?letter=all&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> <font color="#6B7DE5"><b>ALL</b></font> </a> | <a href="gamebrowse.asp?letter=num&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> 0 - 9 </a> | <a href="gamebrowse.asp?letter=a&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> A </a> | <a href="gamebrowse.asp?letter=b&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> B </a> | <a href="gamebrowse.asp?letter=c&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> C </a> | <a href="gamebrowse.asp?letter=d&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> D </a> | <a href="gamebrowse.asp?letter=e&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> E </a> | <a href="gamebrowse.asp?letter=f&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> F </a> | <a href="gamebrowse.asp?letter=g&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> G </a> | <a href="gamebrowse.asp?letter=h&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> H </a> | <a href="gamebrowse.asp?letter=i&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> I </a> | <a href="gamebrowse.asp?letter=j&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> J </a> | <a href="gamebrowse.asp?letter=k&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> K </a> | <a href="gamebrowse.asp?letter=l&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> L </a> | <a href="gamebrowse.asp?letter=m&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> M </a> | <a href="gamebrowse.asp?letter=n&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> N </a> | <a href="gamebrowse.asp?letter=o&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> O </a> | <a href="gamebrowse.asp?letter=p&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> P </a> | <a href="gamebrowse.asp?letter=q&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> Q </a> | <a href="gamebrowse.asp?letter=r&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> R </a> | <a href="gamebrowse.asp?letter=s&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> S </a> | <a href="gamebrowse.asp?letter=t&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> T </a> | <a href="gamebrowse.asp?letter=u&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> U </a> | <a href="gamebrowse.asp?letter=v&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> V </a> | <a href="gamebrowse.asp?letter=w&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> W </a> | <a href="gamebrowse.asp?letter=x&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> X </a> | <a href="gamebrowse.asp?letter=y&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> Y </a> | <a href="gamebrowse.asp?letter=z&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> Z </a> </font></div> </td> <td> </td> </tr> </table> <table width="787" height="12" border="0" cellpadding="0" cellspacing="0" background=""> <tr> <td height="12"><div align="center"><img src="" width="1" height="1"></div></td> </tr> </table> <table width="787" height="21" border="0" cellpadding="0" cellspacing="0" background=""> <tr> <td width="27"> </td> <td width="760"> <table width="760" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="372"><span class="style5"> <a href="gamebrowse.asp?sort=title&letter=all&platform=ps3&category=0&status=all&territory=eu&page=1&sortdir=desc">TITLE</a> <img src="" width="5" height="3"> </span></td> <td width="139"><span class="style5"> <a href="gamebrowse.asp?sort=category&letter=all&platform=ps3&category=0&status=all&territory=eu&page=1">GENRE</a> </span></td> <td width="128"><span class="style5"> <a href="gamebrowse.asp?sort=release&letter=all&platform=ps3&category=0&status=all&territory=eu&page=1">UK/EURO</a> </span></td> <td width="105"><span class="style5"> <a href="gamebrowse.asp?sort=status&letter=all&platform=ps3&category=0&status=all&territory=eu&page=1">STATUS</a> </span></td> </tr> </table> </td> </tr> </table> <table width="787" border="0" cellpadding="0" cellspacing="0" background=""> <tr> <td width="27"> </td> <td width="760" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="" width="1" height="8"></td> </tr> </table> <table width="760" border="0" cellspacing="0" cellpadding="2"> <tr onMouseover="this.style.backgroundColor='#4d4d4d';" onMouseout="this.style.backgroundColor='';"> <td width="372"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> <a href="http://www.tothegame.com/ps3-4200-2-days-to-vegas-for-sony-playstation-3.html"><font color="#6B7DE5">2 Days to Vegas</font></a></font></td> <td width="138"><font color="D7D7D7" size="1" face="Verdana, Arial, Helvetica, sans-serif">Action </font></td> <td width="126"><font color="D7D7D7" size="1" face="Verdana, Arial, Helvetica, sans-serif"> TBA </font></td> <td width="77"><font color="D7D7D7" size="1" face="Verdana, Arial, Helvetica, sans-serif">Upcoming</font></td> <td width="23"><div align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFF </font></div> </td> </tr> </table> <table width="100%" height="30" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="65%"> <font color="e6e6e6" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <br> <em>Results 1 - 100 of 479.</em><br> <br> </font><font color="e6e6e6"><span class="style8"> <font color="#6B7DE5">[1]</font> <font color="e6e6e6"><a href="gamebrowse.asp?letter=all&platform=ps3&category=0&status=all&territory=eu&page=2&sort=title&sortdir=asc">[2]</a></font> <font color="e6e6e6"><a href="gamebrowse.asp?letter=all&platform=ps3&category=0&status=all&territory=eu&page=3&sort=title&sortdir=asc">[3]</a></font> <font color="e6e6e6"><a href="gamebrowse.asp?letter=all&platform=ps3&category=0&status=all&territory=eu&page=4&sort=title&sortdir=asc">[4]</a></font> <font color="e6e6e6"><a href="gamebrowse.asp?letter=all&platform=ps3&category=0&status=all&territory=eu&page=5&sort=title&sortdir=asc">[5]</a></font> <a href="gamebrowse.asp?letter=all&platform=ps3&category=0&status=all&territory=eu&page=2&sort=title&sortdir=asc"><strong>NEXT</strong></a> </span></font> <br> <br></td> <td width="35%"><div align="left"></div></td> </tr> </table> </td> </tr> </table> <table width="787" height="21" border="0" cellpadding="0" cellspacing="0" background=""> <tr> <td width="24"><div align="center"><font color="e6e6e6" size="1" face="Verdana, Arial, Helvetica, sans-serif"> </font></div></td> <td width="763"> <div align="left"> <font color="e6e6e6" size="1" face="Verdana, Arial, Helvetica, sans-serif"> | <a href="gamebrowse.asp?letter=all&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> <font color="#6B7DE5"><b>ALL</b></font> </a> | <a href="gamebrowse.asp?letter=num&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> 0 - 9 </a> | <a href="gamebrowse.asp?letter=a&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> A </a> | <a href="gamebrowse.asp?letter=b&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> B </a> | <a href="gamebrowse.asp?letter=c&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> C </a> | <a href="gamebrowse.asp?letter=d&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> D </a> | <a href="gamebrowse.asp?letter=e&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> E </a> | <a href="gamebrowse.asp?letter=f&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> F </a> | <a href="gamebrowse.asp?letter=g&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> G </a> | <a href="gamebrowse.asp?letter=h&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> H </a> | <a href="gamebrowse.asp?letter=i&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> I </a> | <a href="gamebrowse.asp?letter=j&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> J </a> | <a href="gamebrowse.asp?letter=k&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> K </a> | <a href="gamebrowse.asp?letter=l&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> L </a> | <a href="gamebrowse.asp?letter=m&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> M </a> | <a href="gamebrowse.asp?letter=n&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> N </a> | <a href="gamebrowse.asp?letter=o&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> O </a> | <a href="gamebrowse.asp?letter=p&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> P </a> | <a href="gamebrowse.asp?letter=q&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> Q </a> | <a href="gamebrowse.asp?letter=r&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> R </a> | <a href="gamebrowse.asp?letter=s&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> S </a> | <a href="gamebrowse.asp?letter=t&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> T </a> | <a href="gamebrowse.asp?letter=u&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> U </a> | <a href="gamebrowse.asp?letter=v&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> V </a> | <a href="gamebrowse.asp?letter=w&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> W </a> | <a href="gamebrowse.asp?letter=x&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> X </a> | <a href="gamebrowse.asp?letter=y&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> Y </a> | <a href="gamebrowse.asp?letter=z&platform=ps3&category=0&status=all&territory=eu&page=1&sort=title&sortdir=asc"> Z </a> </font></div> </td> </tr> </table></td> <td background=""> </td> </tr> <tr> <td background=""> </td> <td valign="bottom" background=""><img src="" width="788" height="16"></td> <td valign="bottom" background=""><img src="" width="16" height="16"></td> </tr> </table> <table width="960" height="103" border="0" align="center" cellpadding="0" cellspacing="0" background="../gfx/bottom/bg2.gif"> <tr> <td height="47"><div align="center"> <table width="950" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="157"><div align="left"> <table width="43" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center"><img src="" width="23" height="22" /></div></td> </tr> </table> </div></td> </script> </body> </html> i hope soemone can help me out thanks How do you change the width of a scrollbar inn a CSS script? Also changing the height of the "up/down" buttons. OK well I figured that instead of spamming the forums I would post my two problems here. First problem: www.djoj.net/home.html www.djoj.net/style.css I am trying to replace my Tables with Div's... but when I do they overlap. Is there something I am missing? The margin property is not spacing them out according to eachother... um... wait... OK nvm, I just thought of the problem... position: relative; (I think) NEXT (left that there in case someone decides to search the forum) www.djoj.net/home.html www.djoj.net/style.css I have a hip-hop news script which loads the news from rapbasement.com Unfortunatly, in Firefox the headlines are being effected by my CSS somehow... this normally wouldent be a problem but it is making the text larger and it is making everything out of line. Help? Thank you. Hi guys, I never wanna do anything simply... *sigh* Need some help again! I downloaded SPGM to use as a photo gallery. Love it. It's even valid XHTML 1.0 Strict! Ok, I've implemented it here . Instead of using the native CSS file that came with the script, I copied it all into my own CSS file. Well, not ALL of it, but most. That CSS file is here . Towards the bottom, you'll see the SPGM CSS section. Now I've already started adapting the script and layout to my site, but as you can imagine, it's not too easy, especially for an only moderately-knowledgeable CSS user like me. First thing I want to do it... 1. I want to move the entire table (the main table containing the 4 folder icons and text) over to the left so the left side of the table lines up only a pixel or two right of the line between the green and tan on the left. I can shift the whole table by adding margin-left: -something px; to TABLE.table-wrapper, but the folder icons actually disappear as if they go behind something! HUH? I think moving this to the left more will solve the problem in IE of the right nav links getting pushed down... Could be wrong, but it's ok in FF. If someone could start me off with this I'd very much appreciate it. Thanks, guys! Chris Hi, I wrote a code that would import some mysql data into my website. Now I want to format that data into a nice table. Table is probably the wrong term since I am trying to avoid HTML. Anyway I was wondering how you can embed CSS into a PHP script. here is my website: dicebaseball dot org The 4/27Bruins0Dragons0 is the data I am trying to make tabular Here is the code that I am trying to embed CSS into: Code: <?php mysql_connect("localhost", "....", "....") or die("Could not connect: " . mysql_error()); mysql_select_db("..."); $result = mysql_query("SELECT * FROM scores") or die(mysql_error()); $row = mysql_fetch_array( $result ); echo $row['game_date']; echo $row['away_team']; echo $row['away_score']; echo $row['home_team']; echo $row['home_score']; ?> Hi im trying to detect ie or mozilla but i cant get it to work.. could somebody please tell me what is wrong with my code.. thanx in advance !!! Code: Code: <head> <script language="javascript"> <!-- Begin browser_version = parseInt(Navigator.appVersion); browser_type = navigator.appName; if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4)) { document.write("<link REL='stylesheet' HREF="style.css" TYPE='text/css'>") ; } else if (browser_type == "Netscape" && (browser_verson >= 4)) { document.write("<link REL='stylesheet' HREF="stylemozilla.css" Type='text/css'>") ; } // --></script> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>---</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <style type="text/css"> <!-- .Style9 { font-size: 26px; color: #85AC1E; } .Style13 {color: #85AC1E} .Style15 {font-size: 19px} .Style16 {font-size: 22px} --> </style> </head> Hello. I am using a percentage bar javascript code on my website, the problem is, The script works fine in FireFox without adding: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> But only works in IE if I add that code. The problem is, when I do add that code some of my tables go twice the size in height. What is the problem here? Is this going to be easy to fix? What can I do? Thanks a lot, Ben I'm making a page in which three elements are embedded: The first is a weather.com "current weather" widget, which is as follows: Code: <script type="text/javascript" src="http://voap.weather.com/weather/oap/USVA0023?template=TRVLV&par=3000000007&unit=0&key=twciweatherwidget"></script> It always aligns left, despite the div it's in having text-align: right set. How can I get it to center? The other two are iframes, like so: Code: <iframe src="http://www.g4ilo.com/wwv/webprop.php?format=small" width="180px" height="268px" frameborder="0"></iframe> They work fine, but don't validate (using 4.01 Strict). What is a way to get the same content in a valid block that I can style and place as I wish? EDIT: Now that I look at it, this probably would fit better in the HTML forums. My apologies. Hello, I am using an OS Commerce layout for a client's website. On this page - www.mts-diesel.com you will see how I have the homepage laid out in anticipation of design, with 3 divs of varying colors. One div with an id of #hp_left is where I want to put a nice jquery code. But when I insert that into #hp_left it breaks the whole layout, was seen here www.mts-diesel.com/index2.php I'm not sure what in the css in the code for this script is breaking my layout but Ithought someone here might be willing to shed some light. A big thank you. Tom |