a small bug in IE

This is a discussion on "a small bug in IE" within the Web Page Design section. This forum, and the thread "a small bug in IE 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 Jan 17th, 2008, 17:05
Reputable Member
Join Date: Mar 2007
Location: Kenya
Age: 19
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to geyids Send a message via Yahoo to geyids Send a message via Skype™ to geyids
a small bug in IE

Hi forums
I have redone my site. In firefox, and opera looks fine but there is a bug above the menu in IE. I donno how to fix that coz when I fix it in IE it changes the look in Firefox and Opera. Please help. This is the site
Reply With Quote

  #2 (permalink)  
Old Jan 17th, 2008, 18:44
Aso's Avatar
Aso Aso is online now
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,012
Blog Entries: 2
Thanks: 5
Thanked 23 Times in 20 Posts
Send a message via Skype™ to Aso
Re: a small bug in IE

This might sound a lame solution, but delete the line break between the <img> and menu <ul> elements. Like this:
Code: Select all
<img src="img/top.gif" alt="Site Weavers Web Designers" /><ul class="menu" id="menu">
Trust me
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
  #3 (permalink)  
Old Jan 17th, 2008, 19:17
Reputable Member
Join Date: Mar 2007
Location: Kenya
Age: 19
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to geyids Send a message via Yahoo to geyids Send a message via Skype™ to geyids
Re: a small bug in IE

actually i dont have any there. its just like u say
Reply With Quote
  #4 (permalink)  
Old Jan 17th, 2008, 19:56
Aso's Avatar
Aso Aso is online now
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,012
Blog Entries: 2
Thanks: 5
Thanked 23 Times in 20 Posts
Send a message via Skype™ to Aso
Re: a small bug in IE

When you view your site's source, there is definitely a line break. Even if doesn't show in your editor, make sure you delete any space between the two. Try adding a break, then deleting it again.

I downloaded your code and tried it out. The fix definitely works.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
  #5 (permalink)  
Old Jan 18th, 2008, 06:18
Reputable Member
Join Date: Mar 2007
Location: Kenya
Age: 19
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to geyids Send a message via Yahoo to geyids Send a message via Skype™ to geyids
Re: a small bug in IE

wow so funny that ie reads white space. i have removed it the gray line has disappeared now the menu is still protruding outwards
Reply With Quote
  #6 (permalink)  
Old Jan 18th, 2008, 11:04
Aso's Avatar
Aso Aso is online now
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,012
Blog Entries: 2
Thanks: 5
Thanked 23 Times in 20 Posts
Send a message via Skype™ to Aso
Re: a small bug in IE

Is that with IE6?

Yeah, I noticed that too. Your layout is OK, but it could do with a little simplifying. Have a go at coding this:

Code: Select all
<div id="wrapper">
   <div id="header"><!-- header graphic --></div>
   <div id="menu"><!-- menu --></div>

   <div id="content"><!-- main content --></div>

   <div id="footer"><!-- footer --></div>
</div>
Then style accordingly:
Code: Select all
#wrapper {
   margin: 0 auto;
   width: /*whatever*/
   }
#menu {
   background:#fff url(img/side.gif) repeat-y 0 0;
   padding: 0 30px;
   }
#content {
   clear: both;
   background:#fff url(img/side.gif) repeat-y 0 0;
   padding: 0 40px;
}
#footer {
  /*style accordingly*/
}
You've also got a few unnecessary containers and classes in there at the moment.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
  #7 (permalink)  
Old Jan 19th, 2008, 19:32
Reputable Member
Join Date: Mar 2007
Location: Kenya
Age: 19
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to geyids Send a message via Yahoo to geyids Send a message via Skype™ to geyids
Re: a small bug in IE

whats the difference between CLASS and ID?
Reply With Quote
  #8 (permalink)  
Old Jan 19th, 2008, 19:36
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,268
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: a small bug in IE

ID or Class? http://www.csstrickery.co.uk/2007/10/09/id-or-class/
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
Reply With Quote
  #9 (permalink)  
Old Jan 20th, 2008, 00:49
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: a small bug in IE

Quote:
Originally Posted by geyids View Post
whats the difference between CLASS and ID?
Simply put:
An ID is unique, just for one element alone. A class can be applied to many elements.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
Reply

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
Small php table Oak PHP Forum 32 Mar 7th, 2008 09:03
small css problem yoda Web Page Design 1 Mar 22nd, 2007 17:40
Big Design Small Problems freethinker33 Web Page Design 2 Mar 20th, 2007 10:32
Need small help with pagination ofi PHP Forum 0 Feb 7th, 2007 11:44


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


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