Reply
CSS Cross Browser Problem
Old 10-11-2006, 09:38 PM CSS Cross Browser Problem
johniman7's Avatar
President, JLI Media

Posts: 799
Name: John Irving
The site is....

http://myspacemagic.net/newlayout

In firefox the content center column is behind the navigation column. If I try to use margin-left: on the center column IE then puts the content column below the navigation. What is the best way to get these things aligned properly in both browsers? Thanks.
johniman7 is offline
Reply With Quote
View Public Profile Visit johniman7's homepage!
 
When You Register, These Ads Go Away!
Old 10-11-2006, 09:56 PM
Junior Talker

Posts: 54
The z-index is the first thing i would try.

http://www.w3schools.com/css/pr_pos_z-index.asp
64 bit is offline
Reply With Quote
View Public Profile
 
Old 10-11-2006, 10:54 PM
Plugin-Developer's Avatar
Weightlifting CS Student

Posts: 505
Name: Nick Ohrn
Hey there John!

I checked out your site and was trying to figure out what's going wrong. To me it appears that you're suffering from a case of div-itis. You've got a few too many divs going on there, and its going to get confusing for you.

Anyways, as for a fix... try this:

/* CSS Document */

* {
padding:0px;
margin:0px;
}

body {
background-color: black;
}

#container {
background-color: #181515;
width: 971px;
padding: 4px;
}


#leftcol {
width: 183px;
background-color: #181515;
float: left;
background-image: url('http://myspacemagic.net/newlayout/lefttitle.png');
background-repeat:no-repeat;
padding-top:23px;
}

#midcol {
margin-left:184px;
width: 617px;
padding-top:23px;
background-image: url('http://myspacemagic.net/newlayout/midtop.png');
background-repeat: no-repeat;
}
__________________
Plugin-Developer.com - Custom plugin development to fit your needs. Plugins available for WordPress and Drupal, among others.
Plugin-Developer is offline
Reply With Quote
View Public Profile Visit Plugin-Developer's homepage!
 
Old 10-15-2006, 03:12 PM
johniman7's Avatar
President, JLI Media

Posts: 799
Name: John Irving
Nickhorn - I need the other divs though for the images. I found the problem but thanks for your help.

Just incase anyone was wondering...

I applied the margin-left to the individual divs of my center content box ( top, middle, and bottom ) instead of the center container.

Thanks everyone for your replys.
johniman7 is offline
Reply With Quote
View Public Profile Visit johniman7's homepage!
 
Reply     « Reply to CSS Cross Browser Problem
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12354 seconds with 12 queries