Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 31,920 points

freedombasher

Favorite Answers57%
Answers174
  • Place a div next to another div?

    I am trying to place a div next to an UL on the same line, but I can't seem to make it work. I want both of them to be contained inside another div tag that centers everything. I can get one or the other to work.

    I am having trouble with .content and .points. I need .content to be on the left, and .points to be on the right, but I still need the .alignall to keep them centered. When I try the float tag it overrides the .alignall and I can't figure out how to center .content and .points. Thanks!

    My CSS:

    <style type="text/css">

    .alignall p {

    width:800px;

    margin-left:auto;

    margin-right:auto;

    }

    .heading {

    font-size: 50px;

    color:#009;

    font-weight:bold;

    }

    .bodyimg {

    margin-left:120px;

    margin-top:-40px;

    }

    .points {

    list-style-image: url(InnovationFiles/bullet.png);

    }

    </style>

    My HTML:

    <div class="alignall">

    <div class="heading">

    <p>Size Doesn't Matter</p>

    </div>

    <div class="bodyimg">

    <p><img src="InnovationFiles/innovation01.png" /></p>

    </div>

    <div class="content">

    <p>No matter how big (or small) you think your equipment is, it's the perfect fit. Here at Hookah Homes Laboratory, we've found a way to change the mantra of "one-size-fits-all" to "one-size-is-all-you-need." You my be asking, what wizard sorcery is this? With inspiration from high school geometry, and embarassment from a diving board incident in a high school swim class, we re-discovered height and width adjustments. Say thanks to Mrs. Butts.</p>

    </div>

    <div class="points">

    <ul>

    <li>Five different heights</li>

    <li>Easily adjustable choke</li>

    <li>Lightweight and collapsible</li>

    </ul>

    </div>

    <div class="links">

    <p><a href="innovation.html">Fully Adjustable</a><hr style="width: 1px; height: 5px;"></p>

    </div>

    </div>

    1 AnswerProgramming & Design9 years ago
  • How to center image and text?

    I want the image to float to the left and the text to the image's right. I also want both to center align, so if you resize the page, the mid-point of the image and text will be in the center.

    Here is my CSS:

    .content {

    padding: 0 0 0 600px;

    position: relative;

    }

    .content img {

    left: 26%;

    position: absolute;

    top: 0;

    }

    .heading {

    font-size: 58px;

    color:#009;

    font-weight:bold;

    }

    And the HTML:

    <div class="content">

    <img src="IndexFiles/concept02.png" width="220" height="340" alt="Hookah" />

    <div class="heading">

    <p>WTF!?!</p>

    </div>

    <p>Never heard of a Hookah Home Don't worry, we're innovators.<br />Call it carpet insurance.</p>

    </div>

    2 AnswersProgramming & Design9 years ago
  • What's wrong with my php code?

    I need one login screen, but if the users from one table (users) enter their info they are taken to a different page than if the users from another table (user) are sent to a different page. **Sorry for the similar naming of the two tables. Right now it takes both users to the same page. Here is my code:

    <?php

    // Inialize session

    session_start();

    // Include database connection settings

    include('config.inc');

    // Retrieve username and password from database according to user's input

    $login = mysql_query("SELECT * FROM user WHERE (username = '" . mysql_real_escape_string($_POST['username']) . "') and (password = '" . mysql_real_escape_string(md5($_POST['password'])) . "')");

    // Check username and password match

    if (mysql_num_rows($login) == 1) {

    // Set username session variable

    $_SESSION['username'] = $_POST['username'];

    // Jump to secured page

    header('Location: securedpage.php');

    }

    // Retrieve username and password from database according to user's input

    elseif ($login = mysql_query("SELECT * FROM users WHERE (username = '" . mysql_real_escape_string($_POST['username']) . "') and (password = '" . mysql_real_escape_string(md5($_POST['password'])) . "')"))

    // Check username and password match

    if(mysql_num_rows($login) == 1) {

    // Set username session variable

    $_SESSION['username'] = $_POST['username'];

    // Jump to secured page

    header('Location: auth.php');

    }

    else {

    // Jump to login page

    header('Location: index.php');

    }

    ?>

    3 AnswersProgramming & Design10 years ago
  • What is a theological reflection?

    I have to write a 1500 word theological reflection essay about NBC censoring the words "under God" the other day. What in god's name is a theological reflection and where do I even begin?

    2 AnswersPhilosophy10 years ago
  • Can I use a usb bluetooth dongle on my pioneer radio?

    I have a Pioneer deh-p5000ub car radio with the usb port. The radio can read jump drives and ipods without a problem, but if I were to connect a bluetooth dongle such as this one, http://www.meritline.com/mini-type-wireless-blueto... would I be able to stream music/phone calls through my pioneer radio?

    Car Audio1 decade ago
  • What is a good book for a 20 year old male?

    I'm in college and studying Civil Engineering. Recently I have had some free time and want to pick up a good book to read.

    3 AnswersBooks & Authors1 decade ago
  • How much does it cost to drive a car per mile?

    I drive my car for work and will get reimbursed, but my boss wants to negotiate the price per mile...

    I drive an 02 kia optima which gets about 29 mpg, but for this im going to say it gets 25 mpg....

    I change the oil every 3000 miles, I have full coverage on the vehicle, but im under 25 so I'm paying out of my *** for it....

    I put on an average amount of miles, 12,000 miles per year.

    The cost of gas where I live is $2.59, but I need to figure it around $2.71 because its going to go up again.

    What should i ask for?

    9 AnswersCommuting1 decade ago
  • Can my Rotel amp handle all these speakers?

    I have the Rotel RB10-50 amp. Right now I have a pair of 6 ohm speakers connected (im not sure of watts, but I can find out if I unmount the speakers), 1 2-way outdoor speaker (8 ohms, again not sure of wattage). Can I add another set of outdoor speakers to the amp? They are KLH.

    http://www.klhaudio.com/product-detail-K-PRO5.html

    http://www.rotel.com/content/manuals/rb1050_multi....

    3 AnswersHome Theater1 decade ago
  • Why does my NES game only show a blue screen?

    I have a working NES system. Most of my games work the first time I put them in to play, but every now and then I will get the blinking light. Not a big deal, I just adjust the cartridge and it works!!

    However, my super mario bros 3 will NOT play at all! The light on the NES does not blink, but all the tv shows is a solid blue screen. What is the issue?

    Serious answers only.

    2 AnswersVideo & Online Games1 decade ago
  • How do I make a flash player for my website?

    I have a flash player from some website... but I don't want the bar at the bottom, or the option for someone else to embed this video.

    Should I just have an automatic slide show play instead? If so, how would I go about doing that?

    Here is what I have so far....

    http://www.thecurbcrew.com/video%20test.html

    2 AnswersProgramming & Design1 decade ago
  • Website Help with one-of-a-kind jewelry?

    I am creating a simple website (thinking about using iWeb) to sell jewelry. My problem is that I need a way to let have the website automatically delete the item once it has been purchased. All the jewelry is one-of-a-kind and I cannot have multiple purchases of the same piece of jewelry.

    Is there a shopping cart that will do this or some html code?

    2 AnswersProgramming & Design1 decade ago