Trouble with positioning :(

Ive got a wordpress site, and I'm trying to set a section of code over the main page...

I currenly have this:

if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    die ('Please do not load this page directly. Thanks!');
if (is_page()) { } else {
echo "<div class='products'>";
	if(!empty($wpdb->prefix)) {
	  $wp_table_prefix = $wpdb->prefix;
	} else if(!empty($table_prefix)) {
	  $wp_table_prefix = $table_prefix;
// Define the database table names

Text align problem - please help!

i can't get the text align function to centre text on the second tier of a nav bar. it's killing me!
it 'kinda' centres when you hover over the top tier button of the nav bar, and then when you hover over the button in question it does align properly. i've tried adding the text-align: center in a number of places within the css sheet, but it always comes out looking the same.

page in question:

css sheet:

Need help with aligning content / clear fix container may be pushing my content down

Hi everyone,

I'm not very well-versed with CSS and am only using a layout I generated using Dreamweaver. I don't know if my style sheet file or document is lacking a code or something because my content isn't aligning properly. Please see here:

The div container tops are aligning fine but there seems to be a clear fix container that's pushing the product section table down.

Compare it with the original store I pulled my product sections from:

Background image + Background color for webpage

I've been trying to figure out how to put a background image on the upper half of my webpage, with the lower half just being a regular color.

I want it similar to this:

I've tried setting it up using different positioning, but so far nothing as worked.

If anyone has any suggestions I would be greatly appreciative.


Can someone help me debug absolute positioning? It's not working.

All -

For some reason, my absolutely positioned

elements are positioning themselves relative something besides the top of the browser window. Can anyone point me in the right direction?

I am attempting to rewrite an e-commerce site. One of the design specifications is that links to different product categories need to be precisely laid out on the page. For some reason, setting the top and left attributes with absolute positioning doesn't work. If I set the position to absolute / top=0 left = 0 the content appears about midway down the page in the correct "Left" position.

Syndicate content