div wrap not working on IE pc

This is a discussion on "div wrap not working on IE pc" within the Web Page Design section. This forum, and the thread "div wrap not working on IE pc are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 19th, 2007, 16:16
New Member
Join Date: Jul 2007
Location: london
Age: 33
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
div wrap not working on IE pc

I'm currently learning css on the mac but am obviously testing my site on both the mac and pc.

I've got a div wrap which looks fine in firefox both on the mac and pc but not in IE on the pc. What have I done wrong?
Code: Select all
<div id="wrap_services">
<div class="navigation">
  <div align="right"><a href="goldenballhome.html">Home</a> | <a href="services.html">Services</a> | <a href="clientlist.html">Client List</a> | <a href="contact.html">Contact</a> | <a href="testimonials.html">Testimonials</a></div>
</div>
<div class="navigation2">
  <div align="right"><a href="services_incentives.html" class="style2">Incentives</a> 
    | <a href="services_eventman.html" class="style2">Event Management</a> | <a href="services_corphosp.html" class="style2">Corporate Hospitality</a></div>
</div>
<div class="services_copy">
  <h>Services</h>
  <p>Powerful, Bespoke Incentive Platforms</p>
  <p>Innovative, Proficient and highly personalised Event Management</p>
  <p>First Class, VIP Hospitality Experiences</p>
  </div>
  <div class="logo"><img src="http://www.webforumz.com/images/goldenball_logo.jpg" alt="goldenball_logo" /></div>
</div>
---------
Code: Select all
#wrap_services {
    width: 780px;
    height: 400px;
    border: 2px solid;
    border-color: #ccc;
    padding: 00px;
    background: #fff;
    background-image: url(images/services_sm.jpg); 
    background-repeat: no-repeat;
    background-position: 0px 0px;
    margin:40px auto;
    }

.navigation {
    float: left;
    width: 310px;
    height: 15px;
    margin:22px 0px 0px 448px;
    font-family: arial, helvetica, sans-serif;
    font-size: 75%;
    color: #f90;
}


.navigation2 {
    float: left;
    width: 310px;
    height: 15px;
    margin:10px 0px 0px 448px;
    font-family: arial, helvetica, sans-serif;
    font-size: 75%;
    color: #666;
}

.logo {
    float: left;
    width: 170px;
    height: 100px;
    margin: 0px 0px 0px 0px;
    position: relative;
    top: 280px;
    left: 220px;
}

.services_copy {
    float: left;
    width: 390px;
    position: relative;
    top: 55px;
    left: 365px;
    font-family: arial, helvetica, sans-serif;
    font-size: 85%;
    color: #666;
}

.services_copy h{
    font-family: arial, helvetica, sans-serif;
    font-weight: bold;
    font-size: 120%;        
    color: #666;
    }

Last edited by karinne; Jul 19th, 2007 at 16:30. Reason: Please use [code]...[/code] tags when displaying code!
Reply With Quote

  #2 (permalink)  
Old Jul 19th, 2007, 16:31
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: div wrap not working on IE pc

Is it possible to have a link? That way we can SEE right away what's happening
Reply With Quote
  #3 (permalink)  
Old Jul 19th, 2007, 16:36
New Member
Join Date: Jul 2007
Location: london
Age: 33
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: div wrap not working on IE pc

http://www.blazedevelopment.net/gold...nballhome.html
Reply With Quote
  #4 (permalink)  
Old Jul 19th, 2007, 17:19
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: div wrap not working on IE pc

Wow ... alot of relative positioning ... that might be your problem. Try removing that.
Reply With Quote
  #5 (permalink)  
Old Jul 19th, 2007, 17:27
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: div wrap not working on IE pc

And I'm assuming it's a typo but there is no such thing as an h element

Code: Select all
<h>home page</h>
You were maybe thinking of using an <h1> or <h2>?
Reply With Quote
  #6 (permalink)  
Old Jul 19th, 2007, 17:33
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: div wrap not working on IE pc

Ok ... you're problem with with the .navigation and .navigation2 classes.

The margin-left: 448px is what's throwing everything off.
Reply With Quote
Reply

Tags
div, wrap

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to text wrap? Quetzal Web Page Design 9 Jun 3rd, 2008 18:58
[SOLVED] Centralising a sub-wrap Madball Web Page Design 10 Nov 6th, 2007 14:43
Div outside wrap issue timmytots Web Page Design 5 Oct 14th, 2006 23:28
How to wrap text around a div AdRock Web Page Design 6 Sep 5th, 2006 19:02
Table cell (NO)wrap? ktsirig Web Page Design 4 Sep 28th, 2005 19:49


All times are GMT. The time now is 16:15.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43