Great in IE7, wierd lines in FF

This is a discussion on "Great in IE7, wierd lines in FF" within the Web Page Design section. This forum, and the thread "Great in IE7, wierd lines in FF 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 Feb 22nd, 2007, 10:28
dangergeek's Avatar
Moderator
Join Date: Feb 2007
Location: UK
Posts: 172
Thanks: 0
Thanked 3 Times in 3 Posts
Great in IE7, wierd lines in FF

Dudes,

Ok I decided to go for the multiple style sheets to display depending on which browser.

I built the page so it worked fine in IE7 (possibly a mistake) but in FF there are some wierd lines which I cant seem to fix.

I have included the CSS, for you to laugh at (i'm still newish), in the head tag

http://www.hobao-racing.com/products..._hyper8pro.php

Can anyone help?
Reply With Quote

  #2 (permalink)  
Old Feb 22nd, 2007, 10:57
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Great in IE7, wierd lines in FF

You have an extra closing </div> here
</script><img src="../../img/header_right.jpg" /></div></div>

You also have an extra closing </div> below the footer.jpg
Code: Select all
<div id="product_footer"><img src="footer.jpg" width="710" /></div>
</div>
</div>
</div>
Actually if you eliminate those two closing div's you get rid of the next space
Same with the last break
Code: Select all
<div id="main">
<div id="gallery">
<script type="text/javascript">
var so = new SWFObject("hyper8pro.swf", "movie2", "700", "380", "8", "#FFFFFF");
so.write("gallery");
</script></div>
</div>
</div>
Your </div>happy!!
Reply With Quote
  #3 (permalink)  
Old Feb 22nd, 2007, 12:05
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: Great in IE7, wierd lines in FF

You probably would have found your error if you took the time to validate your site first. Sometimes it solves the problem and sometimes it doesn't but at least you've covered what you *can* fix.
Reply With Quote
  #4 (permalink)  
Old Feb 23rd, 2007, 08:49
dangergeek's Avatar
Moderator
Join Date: Feb 2007
Location: UK
Posts: 172
Thanks: 0
Thanked 3 Times in 3 Posts
Re: Great in IE7, wierd lines in FF

Thanks for the advice.

I managed to remove some of the blank lines at the bottom but I just can't see how to remove the one from the top in FF

http://www.hobao-racing.com/products.../hyper8pro.php

It's most likely obvious but i cant see it.


Also, if you view in IE the menu is slightly differently aligned to FF

I thought a div inside a div would align to it's parent div but it dont seem to.

Any help?
Reply With Quote
  #5 (permalink)  
Old Feb 23rd, 2007, 09:01
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Great in IE7, wierd lines in FF

For the menu, IE handles positioning horrible. You can use the star hack to target IE 5 and 6 if nothing else works:

Code: Select all
* html ul#nav li {
    left: 200px;
}
Reply With Quote
  #6 (permalink)  
Old Feb 23rd, 2007, 12:42
dangergeek's Avatar
Moderator
Join Date: Feb 2007
Location: UK
Posts: 172
Thanks: 0
Thanked 3 Times in 3 Posts
Re: Great in IE7, wierd lines in FF

Right then.

Re-jigged the website to work in Firefox first

then

Used the conditional comments to differentiate between IE and other browsers

It even validates in CSS and XHTML as well. Check my bad self.

I spent ages trying to figure out why the strange line kept appearing but couldnt. Strangely enough if i removed a <h> tag from inside a <div> the line vanished. So I just left it out.
Reply With Quote
  #7 (permalink)  
Old Feb 23rd, 2007, 14:08
dangergeek's Avatar
Moderator
Join Date: Feb 2007
Location: UK
Posts: 172
Thanks: 0
Thanked 3 Times in 3 Posts
Re: Great in IE7, wierd lines in FF

Me again

Can some one just tell me why these lines keep appearing. Once I know why I can prevent them but my eyes are going square trying to find out WTF is going on.

http://www.hobao-racing.com/home.php

Looks fine in IE but not FF/Opera
Reply With Quote
  #8 (permalink)  
Old Feb 23rd, 2007, 15:35
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: Great in IE7, wierd lines in FF

Alright ... I was a tad bored and decided to get you started in the right direction

http://www.freewebs.com/karinne4/

I don't have IE7 here so I'm not sure how buggy it is in that browser but this works fine in FF, Opera and IE6

**** EDIT: Silly me ... I still had the clearing div in there. I added overflow: auto to #content instead. So ... new zip with the changes
Attached Files
File Type: zip hobao.zip (30.9 KB, 36 views)

Last edited by karinne; Feb 23rd, 2007 at 15:47.
Reply With Quote
  #9 (permalink)  
Old Feb 26th, 2007, 15:15
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: Great in IE7, wierd lines in FF

Hmm ... wondering if this worked! I rarely do these things and I'm wondering if I should stop! Let's hope the OP replies and acknowledges all the work I've put into it

Reply With Quote
  #10 (permalink)  
Old Feb 27th, 2007, 11:12
dangergeek's Avatar
Moderator
Join Date: Feb 2007
Location: UK
Posts: 172
Thanks: 0
Thanked 3 Times in 3 Posts
Re: Great in IE7, wierd lines in FF

Yes, thanks for your help.I managed to sort my problems in the end, I think I was just being a ejut.It was interesting to see how you approached the layout with your css. Always useful to see another designers perspective.
Reply With Quote
  #11 (permalink)  
Old Feb 27th, 2007, 11:29
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Great in IE7, wierd lines in FF

Karinne the one time you did that for me it was a lifesaver. Not only did it fix the problems I needed solving, it put me on a path to where I know use your basic design style every single time. So it was really worth it for me!!
Reply With Quote
  #12 (permalink)  
Old Feb 27th, 2007, 11:52
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: Great in IE7, wierd lines in FF

Thanks Linda!

Quote:
Originally Posted by dangergeek View Post
Yes, thanks for your help.I managed to sort my problems in the end, I think I was just being a ejut.It was interesting to see how you approached the layout with your css. Always useful to see another designers perspective.
Cool!
Reply With Quote
  #13 (permalink)  
Old Feb 28th, 2007, 16:03
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bruno89
Re: Great in IE7, wierd lines in FF

im seeing weird lines in IE6
Attached Images
File Type: jpg hgfds.JPG (97.0 KB, 29 views)
Reply With Quote
  #14 (permalink)  
Old Feb 28th, 2007, 16:04
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: Great in IE7, wierd lines in FF

When using which link bruno? Mine or his?
Reply With Quote
  #15 (permalink)  
Old Mar 1st, 2007, 07:55
dangergeek's Avatar
Moderator
Join Date: Feb 2007
Location: UK
Posts: 172
Thanks: 0
Thanked 3 Times in 3 Posts
Re: Great in IE7, wierd lines in FF

That will be my link.

I managed to tie down FF and IE7 but those little lines still appear in IE6.

Thanks to all the help on this forum I know I can use conditional comments to solve the problem.
Reply With Quote
  #16 (permalink)  
Old Mar 1st, 2007, 11:58
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: Great in IE7, wierd lines in FF

Well ... if you used the code I gave there are no more weird things happening in weird browsers
Reply With Quote
  #17 (permalink)  
Old Mar 1st, 2007, 12:33
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bruno89
Re: Great in IE7, wierd lines in FF

yeah it was his i didnt see the link u made. the freewebs one works fine
Reply With Quote
  #18 (permalink)  
Old Mar 1st, 2007, 12:41
dangergeek's Avatar
Moderator
Join Date: Feb 2007
Location: UK
Posts: 172
Thanks: 0
Thanked 3 Times in 3 Posts
Re: Great in IE7, wierd lines in FF

I'm grateful for the code karinne but i need to learn myself.
Reply With Quote
  #19 (permalink)  
Old Mar 1st, 2007, 12:47
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bruno89
Re: Great in IE7, wierd lines in FF

then studdy the code man thats somtimes the best way dont just copy and past it write it down yourself.. thats what i do anyway
Reply With Quote
  #20 (permalink)  
Old Mar 1st, 2007, 12:53
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: Great in IE7, wierd lines in FF

Why do you think I gave you the code?! So you can look at it and see what I did differently that works. Mostly ... you're problem was the cutting up that wasn't right.
Reply With Quote
Reply

Tags
blank, inserts, lines

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
[SOLVED] Bullets looking wierd. mcdanielnc89 Web Page Design 8 Nov 1st, 2007 16:41
Wierd al video alexgeek Webforumz Cafe 0 Oct 14th, 2007 14:07
Wierd domain problems Ross Webforumz Cafe 5 Aug 4th, 2007 18:48
This is kinda wierd adlib311 Web Page Design 6 Aug 3rd, 2006 16:33
wierd problem w/ blue bar and table rileym3 Web Page Design 2 Jul 21st, 2006 10:46


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


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