-
Posts
286 -
Joined
-
Last visited
Everything posted by Hybride
-
Try adding a width:100% to the body tag.
-
If this is MySQL, I think Date format or the general MySQL Date and Time functions should help you.
-
SUM().
-
Generally, yes. Even if it is a scrolling sidebar, I would recommend putting a footer navigation. The eyes move from left to right (or right to left), so it would be easier on the eyes to go from left navigation->content->footer instead of left->content->left->footer.
-
CSS - Styling seems to hamper URL display in Firefox
Hybride replied to ArizonaJohn's topic in CSS Help
Try removing .sitename { width: 535px; overflow:hidden; } the overflow:hidden. -
Depends on the user, but just in case you get to the bottom of a long page, and you don't want to scroll up to the sidebar, I would put in a bottom navigation as well. In short: I use both.
-
IE6 doesn't support png transparency. I gave up ie6 two years ago. I encourage you do the same. Unfortunately, many businesses have not given up IE6, so as a designer, am forced to use it (along with the other browsers) or risk losing business because of it.
-
foreach works with arrays - is your $_POST['radio'] an array? And your if($_POST['radio']) is a strange statement - are you talking about if it's selected or what?
-
Is there any code of yours we can take a look at or are you using Malevolence's code examples?
-
GIF files also can use transparency. What program are you using to make these transparent images? Some browsers also don't render PNG files properly either, completely or partially.
-
The type attribute is what tells the browser the content type of the resource named in "href" attribute. So it has to be something like, <a type="text/html" category="books" class="links2">link</a> or <a type="image/jpg" category="books" class="links2">Link</a> Your attribute is wrong.
-
If your design uses tables, then throw those tables out and learn CSS. Secondly, do you have an image or link we can look at to see what you mean? Thirdly, what small space? Are you talking about all those extra <p> tags you have?
-
[SOLVED] Doctype affects page, even transitional... Fully compliant code
Hybride replied to Malevolence's topic in HTML Help
div.bodyFeat { padding: 10 0 10 10; } You didn't specify a type, like pixels. It should be padding: 10px 0 10px 10px And you have unneccessary tags in your script, like this: <div class="bdsec_normBL"><div class="bdsec_normBR"><div class="bdsec_normTL"><div class="bdsec_normTR"> <span class="feattitle dblue_txt">Latest Scripts</span> <ul class="featList"> <li>Welcome to My World</li> <li>Impact</li> <li>A Dog Never Lies</li> <li>Intrusion</li> <li>Heartbreaker</li> </ul> </div></div></div></div> <div class="bdsec_normBL"><div class="bdsec_normBR"><div class="bdsec_normTL"><div class="bdsec_normTR"> <span class="feattitle dblue_txt">Top Rated Scripts</span> <ul class="featList"> <li>Flight 52</li> <li>Intrusion</li> <li>Sweet Love</li> <li>Till The Day I Fly</li> <li>Sorrow Tomorrow</li> </ul> </div></div></div></div> <div class="bdsec_genreBL"><div class="bdsec_genreBR"><div class="bdsec_genreTL"><div class="bdsec_genreTR"> <a href="#" class="genreBrowse gBred">Romance</a> <a href="#" class="genreBrowse gBorange">Western</a> <a href="#" class="genreBrowse gByellow">Comedy</a> <a href="#" class="genreBrowse gBgreen">Drama</a> <a href="#" class="genreBrowse gBblue">Action</a> <a href="#" class="genreBrowse gBpurple">Thriller</a> <a href="#" class="genreBrowse gBpink">Short</a> <a href="#" class="genreBrowse gBred">Horror</a> <a href="#" class="genreBrowse gBwhite">Sci-Fi</a> <div class="bdsec_clr"> </div> </div></div></div></div> you can shorten it since you're using the same classes to something like <div class="bdsec_normBL"><div class="bdsec_normBR"><div class="bdsec_normTL"><div class="bdsec_normTR"> <span class="feattitle dblue_txt">Latest Scripts</span> <ul class="featList"> <li>Welcome to My World</li> <li>Impact</li> <li>A Dog Never Lies</li> <li>Intrusion</li> <li>Heartbreaker</li> </ul> <span class="feattitle dblue_txt">Top Rated Scripts</span> <ul class="featList"> <li>Flight 52</li> <li>Intrusion</li> <li>Sweet Love</li> <li>Till The Day I Fly</li> <li>Sorrow Tomorrow</li> </ul> <a href="#" class="genreBrowse gBred">Romance</a> <a href="#" class="genreBrowse gBorange">Western</a> <a href="#" class="genreBrowse gByellow">Comedy</a> <a href="#" class="genreBrowse gBgreen">Drama</a> <a href="#" class="genreBrowse gBblue">Action</a> <a href="#" class="genreBrowse gBpurple">Thriller</a> <a href="#" class="genreBrowse gBpink">Short</a> <a href="#" class="genreBrowse gBred">Horror</a> <a href="#" class="genreBrowse gBwhite">Sci-Fi</a> <div class="bdsec_clr"> </div> </div></div></div></div> -
The first draft of HTML 5 has been implemented in most browsers, if I remember correctly. Wiki on HTML5 may be an interesting read, and this page When Can I Use... details features you can use/will be able to use HTML5, CSS3 and more on IE, FF, Safari, Chrome and Opera.
-
Firefox has an add-on for that, I do believe so - Web Developer.
-
You mean sending the form on two different actions? or the same form to two different pages? In either case, Google.
-
I checked the site: if you're using Firefox, then you have more than just bullet problems. Your page at the bottom is mis-aligned and the blue background doesn't stretch to the bottom of the page. You should mess with your CSS, and fix those unnecessary tags you have inside your file. font color="#000000"> </font><p><font color="#000000">Door closers</font></p> <font color="#000000"> </font><p> <font color="#000000"> </font></p><ul> <font color="#000000"> <li> Why do you have so many font colors? Change your body { color: #fff} to body { color: #000} and change the colors as needed. (You don't use white aside from leftcolumn, so just change #leftcolumn color to white instead.) You can also add in a generic #rightcolumn ul { color:#000;margin-left: 10px} or however many pixels/size you want so the ul in #rightcolumn will move to the left. You should clean up the document first, however.
-
[SOLVED] Separate file for Perl database info?
Hybride posted a topic in Other Programming Languages
This is the one thing that's been really messing me over: am learning Perl currently, and I have yet to figure out how to put a separate file with database info, and then "require/do" it in. For example, the include file (ie: db.pl) : my $database = "database"; my $dbuser = "user"; my $dbpass = "password"; my $hostname = "localhost"; and the main file (ie: file.pl): #!/usr/bin/perl -w use strict; use warnings; use DBI; use DBD::mysql; require "db.pl" or die("Can't require db.pl"); my $dbh = DBI->connect("DBI:mysql:database=$database;host=$hostname",$dbuser,$dbpass) || die "\nDB connection error!\n" or how does that goes? Put it in a subroutine, maybe? (On that note, anyone also have good links to learning Perl subroutines?) -
Link doesn't work. Images don't/won't re-size by themselves, you'd have to make thumbnails out of them or something similar.
-
script not working to update/delete database records
Hybride replied to webguync's topic in PHP Coding Help
if isset($_POST['submit']{ is missing parenthesis. if (isset($_POST['submit'])){ -
Actually, I do believe it's file_exists, not file_exist. Your code says file_exist.
-
Also, don't use pixels for a container (unless it's a left/right side, not the middle) if you're using a liquid - that also gives the container an exact width rather than a liquid.
-
A 20kb CSS file may be normal, but if you use heavy graphics or file formats elsewhere, then a smaller and clean CSS file is better. I try to keep mine to a minimal as well, so at least I don't have to worry about CSS clogging down my site. I think some users forget that all of the sizes add up eventually!
-
That you just manually write all of the pages on your site and link to them, so you have to find all pages of your site (or generate with a tool and grab the links from that) and put them into one place. The guy uses a list (<ul></ul>) to keep them all nice and neat.