WordPress.org

Ready to get started?Download WordPress

Forums

problems with designing a theme, my divs are schizophrenic (3 posts)

  1. breegeek
    Member
    Posted 6 years ago #

    Hey, I know this question is rather specific to my layout, but I seem to have trouble getting all of my divs from the separate files to align into my nice wrapper div in my css. The wrapper, for visual aide, has been outlined in brown and the center "frame" is outlined in green for the moment... but I can't seem to get either to behave properly.
    I have my head, content, and footer in separate divs, but maybe I'm doing that incorrectly?

    I've been staring at this and trying to tweak it for days and I come to you in desperation. I'm going insane trying to figure out what I've done through firebug and whatnot. I need another set or two of eyes and a few more brains to help.
    I thank you ahead of time for your reply :P

    http://doulafran.com/test/wordpress-2.31/wordpress/

    is the site. I havent even GOTTEN to the dynamic aspect of it since im still stuck on the css

  2. moshu
    Member
    Posted 6 years ago #

    Look at your source code:

    <!--div id="wrap" -->
    <div id="wrap">
    	<div id="header">
    
    		<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    Absolutely wrong! You cannot have html tags (like div) there - they need to be in the body!

  3. breegeek
    Member
    Posted 6 years ago #

    where are they thats wrong?

    Moshu! dont leave me! I need your wisdom! I didn't quite understand!!

Topic Closed

This topic has been closed to new replies.

About this Topic