problem with border-right in FF

This is a discussion on "problem with border-right in FF" within the Web Page Design section. This forum, and the thread "problem with border-right 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 Dec 4th, 2007, 08:12
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
Thanks: 0
Thanked 0 Times in 0 Posts
problem with border-right in FF

Hi all

Could somebody take a look at the site im building....

http://www.design365.co.uk/piccolo/default.asp

For some reason it isnt displaying the white border down the right hand side properly in firefox but the left border is fine. The border-left and border-right are set in the 'container' dive, fine in IE

Thankyou
Reply With Quote

  #2 (permalink)  
Old Dec 4th, 2007, 08:25
welshstew's Avatar
Lead Administrator

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,388
Blog Entries: 13
Thanks: 1
Thanked 16 Times in 14 Posts
Re: problem with border-right in FF

your banner and navbar div's are too long, if I shorten them I can see the white border in FF
__________________
WelshStew
Lead Administrator

tierney rides tboard - uk site | xtreme wales - extreme clothing
If you think I've helped, click the "Thanks"
webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
Reply With Quote
  #3 (permalink)  
Old Dec 4th, 2007, 08:41
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with border-right in FF

kool, ill give that a try welshstew.

Theres also another problem, my 'container' div isnt adjusting with the content, there should be a light blue background behind the images and text box etc as i have set my container background color to #9999ff. I hope ive explained myself properly lol
Reply With Quote
  #4 (permalink)  
Old Dec 4th, 2007, 09:22
welshstew's Avatar
Lead Administrator

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,388
Blog Entries: 13
Thanks: 1
Thanked 16 Times in 14 Posts
Re: problem with border-right in FF

Sorry Danny, I don't have time at the mo to have a look, but it might be something to do with the float. I remember encountering somthing similar in the past.
__________________
WelshStew
Lead Administrator

tierney rides tboard - uk site | xtreme wales - extreme clothing
If you think I've helped, click the "Thanks"
webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
Reply With Quote
  #5 (permalink)  
Old Dec 4th, 2007, 09:34
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with border-right in FF

ok no worries welshstew thanks anyway. Would anybody else be able to help?
Reply With Quote
  #6 (permalink)  
Old Dec 4th, 2007, 12:06
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with border-right in FF

the color #9999ff is the color for your background in the container.
It's showing correctly. Did you select the wrong Hex number?
Reply With Quote
  #7 (permalink)  
Old Dec 4th, 2007, 13:23
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with border-right in FF

erm im not actually sure, i tried a few things, i think welshstew might have been right when he said its got something to do with the floats.

Ive previously used 'absolute' positioning until i disovered floats....am i right in assuming that with floats, the position of divs in your html affects where things appear on the webpage?
Reply With Quote
  #8 (permalink)  
Old Dec 6th, 2007, 06:55
New Member
Join Date: Nov 2007
Location: Bangalore
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with border-right in FF

Quote:
Originally Posted by danny322 View Post
Ive previously used 'absolute' positioning until i disovered floats....am i right in assuming that with floats, the position of divs in your html affects where things appear on the webpage?
Hey, if you looking to know about "floats", I've a blog post on CSS floats, under the series "the making of a webdev" on my blog: http://thanix.info/blog/2007/12/05/t...of-a-webdev-3/ you may want to check out.
Reply With Quote
  #9 (permalink)  
Old Dec 6th, 2007, 07:05
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: problem with border-right in FF

Which white border are you talking about? I didn't see any..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
  #10 (permalink)  
Old Dec 6th, 2007, 10:04
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with border-right in FF

Quote:
The container box didn’t expand to the height of the floated box. Weird! Is this a bug in the browser? Or is there some valid reason why browsers exhibit this behaviour? Not sure, till date, haven’t given a thought.


It's not a bug in the browser: this is the correct behaviour. Floats are removed from the normal flow and shifted as far to the left or right as allowed by the containing block. Since they are removed from the flow, they cannot influence the height of their containing block (trying to do so would be something of a paradox).
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
how do i put a border only on a certain side snelll Web Page Design 15 May 28th, 2008 13:30
Border on website pritmadlani Web Page Design 2 Apr 18th, 2008 09:14
How do I create a box with a border?! sing2trees Web Page Design 8 Dec 10th, 2007 01:49
Apache FOP Border davedran Other Programming Languages 0 Dec 18th, 2006 15:28
Why only one border? timmytots Web Page Design 1 Nov 30th, 2005 21:32


All times are GMT. The time now is 21:46.


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