Jump to content

[SOLVED] Positioning CSS Div's


Warptweet

Recommended Posts

Not to the absolute center of the entire web page.

I meant center the entire divs on an x axis.

 

Sorry, lol =(

 

I tried using float: center; but it screwed everything up because I have 3divs connected to each other. Making them all centered made the rightnavigation div go below the other two.

Link to comment
Share on other sites

Rather than us guessing any more, why don't you post a link to the online version of this code so we can see for ourselves.  Trying to debug oddments out of context and with no code just isn't working.

 

Explain what should be happening to what and where.

Link to comment
Share on other sites

Wartweet, you've done this before and it has driven you crazy. And it will continue to do so until you finally realize that you need to use a DOCTYPE if you want CSS to work for you.

 

Without a proper DOCTYPE, your web pages will NEVER look and behave the same in FF and IE.

 

You are creating "quirks mode" web pages.

 

You can't just start a web page with "<HTML>".

 

And since you are using xhtml style closed tags, use the xhtml DOCTYPE instead of just an <html> tag:

 

<!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">

 

Until you do, no one can help you because the css will not work properly.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.