Browsers

This is a discussion on "Browsers" within the Web Page Design section. This forum, and the thread "Browsers 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 Jun 2nd, 2007, 15:22
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Exclamation Browsers

Hi!

Can you guys tell me why my page looks different in IE and in Firefox?

Here is the Url :http://vinotrade.co.uk/bjd/index.html

Thank you!
Reply With Quote

  #2 (permalink)  
Old Jun 2nd, 2007, 15:35
SuperMember

SuperMember
Join Date: Apr 2007
Location: Ireland
Age: 15
Posts: 332
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Pádraig
Re: Browsers

It looks the same in Firefox and IE 7. Theres a screen shot below.

It looks fine in IE 6 for me, however
Attached Images
File Type: jpg screen.jpg (63.0 KB, 26 views)

Last edited by Pádraig; Jun 2nd, 2007 at 15:52.
Reply With Quote
  #3 (permalink)  
Old Jun 2nd, 2007, 16:04
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: Browsers

Yes, thats the problem. It looks ok in IE6 but it doesnt look the same in 7 and in Firefox. Why?
Reply With Quote
  #4 (permalink)  
Old Jun 2nd, 2007, 16:19
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Browsers

Change your absolute positioning of the content class to something like this.
Code: Select all
.content{
    position:relative;
    left:250px;
    top:-200px;
    width:500px;
    min-height:400px;
    line-height:1.4;
    font-family:Arial, Helvetica, sans-serif;
    color:#666666;
    font-size:14px;    
    
}
I'm not great with relative positioning, and I think that .content class is really tall but that might get you over the hump.
Reply With Quote
  #5 (permalink)  
Old Jun 4th, 2007, 19:48
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: Browsers

How can i make the background expand as the content grow? and how the menu background will follow it?
Reply With Quote
  #6 (permalink)  
Old Jun 7th, 2007, 18:18
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: Browsers

How am i gonna make the navbar follow the rest of it?
Reply With Quote
  #7 (permalink)  
Old Jun 12th, 2007, 15:15
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,604
Thanks: 0
Thanked 6 Times in 6 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Browsers

Looks like you just need a clearing div right before you close your containing div.

Code: Select all
.clearing {
height:0;
margin:0 0 -1px 0;
clear:both;
overflow:hidden;
}
then in your html
Code: Select all
<div class="clearing">&nbsp;</div>
That should keep the background below all the floated elements.

the css declaration will handle all browsers in particular IE trying to give the clearing div some height. Enjoy!

As for the background; you want to place the background on your containing div and have it repeat on the y axis.

Code: Select all
#container {
width: 600px;
margin:0 auto;
text-align:left;
background: #FFF url(../images/foo.jpg) left top repeat-y;
}
__________________
I've got <style> and .class

Last edited by moojoo; Jun 12th, 2007 at 15:18.
Reply With Quote
  #8 (permalink)  
Old Jun 12th, 2007, 18:17
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: Browsers

Thank you Mojoo. I tried it but it doesnt work. it is still the same.

I did try to do some other stuff, this is what i got so far http://vinotrade.co.uk/bjd/bjdtest.html

It is working ok in IE7 and Firefox, but NOT in IE6(grrrrrrrr)

Last edited by chubbs; Jun 12th, 2007 at 18:23.
Reply With Quote
  #9 (permalink)  
Old Jun 12th, 2007, 18:36
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: Browsers

i got it working, thank you! How can i do that , when i insert bigger content, than the whole navbar and the container will expand?
Reply With Quote
  #10 (permalink)  
Old Jun 12th, 2007, 18:38
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: Browsers

Put your shaded background (background3.png) as a background to html

Code: Select all
html {
    background: #fff url(http://vinotrade.co.uk/bjd/images/background3.png) repeat-x 0 0;
    font: 14px Tahoma, Geneva, sans-serif;
    color:    #000;
}
And use the Faux Column technique and apply your content background to body
Code: Select all
body {
    background: url(../i/body-bg.jpg) repeat-y center top;
    margin: 0 auto;
    width: 755px;
}
Attached Images
File Type: jpg body-bg.jpg (413 Bytes, 11 views)
Reply With Quote
  #11 (permalink)  
Old Jun 12th, 2007, 18:59
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: Browsers

Thank You Karinne!, Should i still need to use the code from mojoo?
Reply With Quote
  #12 (permalink)  
Old Jun 12th, 2007, 19:06
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: Browsers

Well ... you're not using floats, which you should ... they are much more easier to deal with then absolute position IMO. Then just apply overflow: hidden to .main
Reply With Quote
  #13 (permalink)  
Old Jun 12th, 2007, 19:12
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: Browsers

what floats are..... sorry but i am still learning
Reply With Quote
  #14 (permalink)  
Old Jun 12th, 2007, 19:14
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: Browsers

see http://www.newguyinennis.com/samples...t_left_column/

float
Quote:
This property specifies whether a box should float to the left, right, or not at all. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.
Reply With Quote
  #15 (permalink)  
Old Jun 12th, 2007, 19:27
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: Browsers

Oh yes i have read about this, Thank you!
Thank you guys for the big help from all af you!
Can you please just check the final result? http://www.vinotrade.co.uk/bjd/index.html
Reply With Quote
  #16 (permalink)  
Old Jun 13th, 2007, 12:32
New Member
Join Date: Jun 2007
Location: UK
Age: 25
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Browsers

also make sure you set text sizing for everything etc as pcs and macs display text different and you may find your site jumping in a mac etc.

also image padding is different on macs and on sefari.

if you google resetting brouser default css you will find loads of information and code just to copy and paste into your css
Reply With Quote
  #17 (permalink)  
Old Jun 14th, 2007, 13:50
Up'n'Coming Member
Join Date: Jun 2007
Location: Germany
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Browsers

Hi! for me, the final result looks GHASTLY in Firefox 2.0 and IE 7!

Here's a screenshot (I highlighted the text so you could see it):



That text is nasty!

you need to work on the 2 columns!
Reply With Quote
  #18 (permalink)  
Old Jun 14th, 2007, 13:55
Up'n'Coming Member
Join Date: Jun 2007
Location: Germany
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Browsers

It's a bad idea to set the text in an absolute position. you probably have a bigger screen than me: make your browser window smaller, and you'll see what I mean!!! I did mess with your code a bit, and see your problem. I wouldn't have coded it the way you did, but everyone's different!

Last edited by fuzzee; Jun 14th, 2007 at 13:58.
Reply With Quote
  #19 (permalink)  
Old Jun 14th, 2007, 14:22
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,604
Thanks: 0
Thanked 6 Times in 6 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Browsers

In your case you certainly don't need any type of "positioning" on your content, what you need is a standard two column layout which if structured correctly will hold your content where it needs to be without using relative or absolute positioning.

1. Restructure your layout, in this case I would suggest starting from scratch.

2. Apply your background to your containing div and repeat it on the y axis.

If you need any more help getting it done just let us know.
__________________
I've got <style> and .class

Last edited by moojoo; Jun 14th, 2007 at 14:27.
Reply With Quote
  #20 (permalink)  
Old Jun 14th, 2007, 15:32
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: Browsers

Thank you guys! I will try to fix those thing, but my time is realy short. I will try it def!
Reply With Quote
Reply

Tags
iepfff

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
Browsers kela JavaScript Forum 4 Jun 12th, 2008 11:49
Multiple web browsers AdRock Webforumz Cafe 14 Oct 1st, 2007 12:36
Please test for me in different browsers Lchad Web Page Design 9 Apr 27th, 2007 15:51
Color in browsers wireman54301 Web Page Design 5 Nov 25th, 2006 01:08
PNG support in browsers gwx03 Graphics and 3D 12 Dec 6th, 2003 13:13


All times are GMT. The time now is 02:41.


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