Jump to content


  • Posts

  • Joined

  • Last visited


About coldkill

  • Birthday 11/07/1990

Profile Information

  • Gender
  • Location
    United Kingdom

coldkill's Achievements


Member (2/5)



  1. Yes. All default browser styles have been reset. The HTML is this: <div id="container"> <img src="style/images/header.png" alt="FragSwitch" title="One of our Dell SC1435 Rack Servers"/> <div id="content"> <!-- Left Content --> <div id="left"> <div class="left_header">Client Login</div> <div class="left_box"> <form method="post" action="http://www.fragswitch.com/client/dologin.php?goto=clientarea"> Email Address: <input type="text" name="username" style="width: 110px;"> Password: <input type="password" name="password" style="width: 110px;"> <input type="submit" value="Login" class="button"> </form> </div> <div class="left_header">Powered By</div> <div class="left_box"> <img src="images/providers/amd.jpg" alt="AMD" title="AMD Opteron Processors" class="provider"/> <img src="images/providers/cpanel.jpg" alt="cPanel" title="cPanel Control Panel Software" class="provider" /> <img src="images/providers/dell.jpg" alt="Dell" title="Dell Rack Servers" class="provider" /> <img src="images/providers/intel.jpg" alt="Intel" title="Intel Xeon Processors" class="provider" /> </div> </div> <!-- /Left Content --> <!-- Main Content --> <div id="main"> <!-- Left Padding for content --> <div class="content_push"> <img src="images/packs.png" alt="FragSwitch Packs" /> <img src="images/easy.png" alt="FragSwitch Packs" /><img src="images/medium.png" alt="FragSwitch Packs" /><img src="images/hard.png" alt="FragSwitch Packs" /><img src="images/extreme.png" alt="FragSwitch Packs" /></div> </div> <!-- /Main Content --> </div><!-- /Content --> </div><!-- /container -->
  2. AARRRRGGG Ok, I'm developing a new site for my company. I'm trying to use just CSS although it's proving difficult to get IE7 to work properly. Here is the offending image: http://www.fragswitch.com/images/iebug.jpg There are two gaps in between the header image and the images which have been blacked out. Here is what it should look like: http://www.fragswitch.com/images/normal.jpg The images don't have CSS code applied to them directly, the background has this CSS: #content { background: url(images/content_background.png) repeat-y; padding: 20px 20px 10px 20px; margin: 0px; } Any ideas? Thanks in advance, Cold
  3. Ok, here's the code that is applicable: <div id="content_wrap"> <div id="providers"> <div class="header">Powered By</div> Images here </div> <div id="content"> Stuff here </div> </div> #content_wrap { width: 900px; padding: 10px 0px 10px 0px; } #content { width: 740px; margin-left: 140px; border: 1px solid #CCCCCC; padding: 0px 10px 0px 10px; } .header { padding: 2px 0px 2px 0px; background-image: url(images/header_background.jpg); background-repeat: repeat-x; color: #FFFFFF; font-weight: bold; text-align: center; } /* * Providers */ #providers { width: 120px; border: 1px solid #CCCCCC; }
  4. Yes that was what I was trying to do. I did try float, the only problem is the background which is another Div, doesn't like this and doesn't think anything exists there as a result.
  5. Hey folks, another problem has come up with a new site I'm developing. I'm trying to get two divs to be in line with each other, I've tried using display: inline; to no avail, in fact it came up with a lot of errors in both IE and FX. Any ideas what I can do? Cold
  6. Float worked, it shouldn't be a problem with getting it in the right position, it's only for a navigation menu after all. width: auto; didn't work however. Thanks for the help, Cold
  7. Hello all, wondering if this is possible and if so how to do it. Basically I've got some text within a div, I want that div to scale to what's inside of it. I tried using display: compact to no avail. Any thoughts? Thanks, Cold
  8. But then how would I modify the session? Here's the code I've got at the moment which does two things: First it adjusts the display property of the specified element, secondly, it adjusts the width of the central content area. If I used your above sample, would I not need to reload the page and use php to adjust the session? Thanks for the help, Mike ::EDIT:: Helps if I attach the code ¬¬ This is in a separate .js file. // Content area width var contentWidth = 660; // Toggle the navigation bar function toggleDisplay( id ) { var element = document.getElementById( id ); var content = document.getElementById( "content" ); if( element.style.display == "none" ) { element.style.display = ""; // Adjust the content area variable contentWidth = contentWidth - 120; // Adjust content area width content.style.width = contentWidth; } else { element.style.display = "none"; // Adjust the content area variable contentWidth = contentWidth + 120; // Adjust content area width content.style.width = contentWidth; } }
  9. I'm going to be using PHP and MySQL on the site creating a Content Management System.
  10. Hey folks, at the moment I've created a script that hides/shows a navigation bar and side bar on my site. I'm now looking for a way of keeping these hidden when the user hides them after the page has been refreshed. Any ideas? I did try a search but didn't really know what to search for ¬¬
  11. No problem, be sure to set this topic to solved if you don't need any more help.
  12. You could test to see if the variables are set using isset(); or empty(); testing to see if they are set or if they have anything in them (NULL, FALSE, 0 etc count as nothing). You should change <?php echo ($form_login); ?><?php echo ($no_username); ?><?php echo ($no_password); ?> To just use one set of <?php tags. It will save the effort on the engine constantly opening and closing when there is no HTML in between. You could go as far as to echo the entire form and just insert the variables into the echo. In fact, you could save even more effort on the engine by just doing: <?php echo $form_login.$no_username.$no_password; ?> Since that is basically what you are doing, just more inefficiently. PHP won't echo anything in a null variable. So really you don't need the if else statements. If the variables aren't set, nothing gets displayed. Hope that helps, Cold
  13. You can always do something like <?php $error .= "This is error one! <br />"; $error .= "This is error two! <br />"; echo $error; /* * This will output: This is error one! This is error two! */?> Basically the . will add the argument to the variable instead of redefining it. Hope that helps, Cold
  14. ASP runs off Access and MSSQL(?) databases. Access is a particularly slow system for web servers and isn't normally used from what I've seen. You have to pay for ASP whereas PHP is available freely (indeed you can download the source and engine for PHP for free and run it locally). There are huge differences between ASP and PHP, primarily the cost and speed is what gives PHP the edge over ASP. Although this is stuff I had to find out a very long time ago and it may well have changed, I would still suggest PHP over ASP.
  15. you've done a superb job with your site. Very, very good looking. I think it fits in with the Wii theme, light colours etc. One thing that could be adjusted is in the logo, the name WiiCharged is slightly difficult to read due to the reflection below it. Which is slightly too opaque. Also, the two arrows on the right hand side to show/hide the side bars could do with their function being explained. I found what they did by clicking on them.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.