Center CSS, make it center, this is not a pretty one.

Hey Guys and Gals!

I've been handed an HTML document using CSS that was created with a "what you see is what you get" (i know, ew) program...
It's ugly, it's difficult to understand...

I just need to get this page to be centered, 0 margin from the top, but centered horizontally.
Can anyone help me???

Thanks a TON for your time and help!
-Tyler

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Generated by Avanquest Technology v:8.0. For information please visit: <a href="http://www.avanquestusa.com/" rel="nofollow">http://www.avanquestusa.com/</a> -->
<html lang="en">
<head>
	<title> Home </title>

glass ceiling when using float

Hello all. I was wondering if anyone could help me with this problem. I'm trying to raise a floated image, but I can't seem to get it past a certain point. My HTML looks like:

<div id='set1' class='set'>
        <h2>Set 1</h2>
        <div id='s1s01' class='song'>
          <div id='test_div' class="song_name_div">
            <h6>Song name:</h6>
            <input type="text" name="s1s01_name" size="30" />
          </div>
          <div id='test_div2' class="song_loc_div">
            <h6>File location:</h6>
            <input type="file" name ="upload[]" />

Various CSS issues within current project

Hey everyone! This is my first time posting on a CSS forum like this -- normally I google all of my issues into the ground, but unfortunately, Google couldn't save me regarding the problems I'm having now. To be blunt, I am just new enough to CSS that I don't know the vernacular enough to know what exactly I need to be typing into the Google search box half the time! "How do I get the thing to do the thing" won't get me many results. Wink I trolled for a while, so hopefully nothing here will anger any of you. Laughing out loud

1. "Sign In - Join" Links

Problem with clear:both dropping under side menu.

Hi guys,

I was wondering if anyone could shed some light on a problem I am having with horizontally aligned images in a two column floated layout.

I can understand the reason that the problem occurs, unfortunately the solution evades me Tongue.

I have checked the how-to forums, and have googled and have yet to find a suitable method to fix this error without moving away from a two column floated layout.

IE clear float problem (nested floats)

Hi,

I am creating part of a layout for a MySpace page. One of the sections contains buttons that link to online stores where the bands music can be purchased. I have managed to get the 6 buttons central to the containing div element by using the method from this site, but I am unable to make the div's following text clear the float and produce the 8 pixel margin at the bottom of the last button in Internet Explorer. I have tried using spacer divs with float:none and clear:both, but it doesn't produce the same effect as Firefox.

Syndicate content