Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old July 19th, 2007, 12:16 PM   #1
New Member
 

Join Date: Jul 2007
Location: london
Age: 35
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 jillcary is on a distinguished road
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:
<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:
#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; July 19th, 2007 at 12:30 PM.. Reason: Please use [code]...[/code] tags when displaying code!
jillcary is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 19th, 2007, 12:31 PM   #2
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
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
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 19th, 2007, 12:36 PM   #3
New Member
 

Join Date: Jul 2007
Location: london
Age: 35
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 jillcary is on a distinguished road
Re: div wrap not working on IE pc

http://www.blazedevelopment.net/gold...nballhome.html
jillcary is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 19th, 2007, 01:19 PM   #4
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: div wrap not working on IE pc

Wow ... alot of relative positioning ... that might be your problem. Try removing that.
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 19th, 2007, 01:27 PM   #5
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
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:
<h>home page</h>
You were maybe thinking of using an <h1> or <h2>?
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 19th, 2007, 01:33 PM   #6
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
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.
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
div , wrap


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 HTML, XHTML and CSS 9 June 3rd, 2008 02:58 PM
[SOLVED] Centralising a sub-wrap Madball HTML, XHTML and CSS 10 November 6th, 2007 10:43 AM
Div outside wrap issue timmytots HTML, XHTML and CSS 5 October 14th, 2006 07:28 PM
How to wrap text around a div AdRock HTML, XHTML and CSS 6 September 5th, 2006 03:02 PM
Table cell (NO)wrap? ktsirig HTML, XHTML and CSS 4 September 28th, 2005 03:49 PM


Search Engine Optimization by vBSEO 3.2.0 RC8