Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Strange CSS Firefox issue

Reply
Thread Tools

Strange CSS Firefox issue

 
 
Chris Ashley
Guest
Posts: n/a
 
      03-30-2006
See here:

http://devsite.webmoney.co.uk/defaultold.asp

In IE this renders fine, but in Firefox a strange break seems to appear
causing the top right box to float in the centre of the page. Anybody
have any idea why?

I've managed to fix it using a P tag with a blank space character in
(alt + 0160) but I appreciate this might not be an ideal solution
because some systems might render this differently.

Here's the version with my fix:

http://devsite.webmoney.co.uk/default.asp

Does anybody know why this might be happening?

Thanks in advance

 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      03-30-2006
In article
< .com>,
"Chris Ashley" <> wrote:

> See here:
>
> http://devsite.webmoney.co.uk/defaultold.asp
>
> In IE this renders fine, but in Firefox a strange break seems to appear
> causing the top right box to float in the centre of the page.


In Safari, it behaves as in FF but only over a certain (not that
big) a text size.


> Anybody
> have any idea why?


Someone will have an idea that you will no doubt want. I took a
look at your css, and had the casual thought that it looks like
an example of the price you have paid for trying to implement the
orthodox religion around here.

I reckon either use tables and simplify all your html and css
this way or study hard and get to make simpler code along the
general ideals of separating style from content. The latter
entails, for most people, using a different approach to the
design, not doing what tables are good for... I better stop...

--
dorayme
 
Reply With Quote
 
 
 
 
W˙rm
Guest
Posts: n/a
 
      03-31-2006

"Chris Ashley" <> kirjoitti
viestissä: glegroups.com...
> See here:
>
> http://devsite.webmoney.co.uk/defaultold.asp
>
> In IE this renders fine, but in Firefox a strange break seems to appear
> causing the top right box to float in the centre of the page. Anybody
> have any idea why?


You can fix it by putting extra div there between 3rd and 4th
productoverviews (before "Motor & Classic Car Insurance" thing).

<div style="clear:left;"></div>

Seems that clearing floats between 1st and 2nd row of product overview
fixes it.

Can't recall or think what might cause this, atleast not straight away, but
gonna take closer look some point later just out of curiousity.


 
Reply With Quote
 
W˙rm
Guest
Posts: n/a
 
      03-31-2006

"Chris Ashley" <> kirjoitti
viestissä: glegroups.com...

<snip>

> http://devsite.webmoney.co.uk/defaultold.asp
>
> In IE this renders fine, but in Firefox a strange break seems to appear
> causing the top right box to float in the centre of the page. Anybody
> have any idea why?


Ok, could not leave this issue rest (or bother me) just yet. Might be best
if you use

<div style="clear:left;"></div>

between each product overview row.

Issue why 1st item in 2nd row ends up in middle of the screen is rather
simple to find if you set

* { border: 1px solid red;}

and tweak wrapper bit wider, say 766px;

After that it's rather clear that first product overview box (Home
Insurance) is HIGHER than others (on FF atleast) in that row, so 4th
floated box ends up in middle of the screen because of that...

So just use clearer divs between each row of boxes if you plan to have more
than just those two rows.


 
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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange firefox text entry issue started happening recently Richard NZ Computing 9 01-03-2010 01:37 AM
AVG Email Scanner activating at strange times with strange IP addresses dennispublic@hotmail.com Computer Support 1 08-26-2006 04:27 AM
Strange css problem (bug?) M O J O ASP .Net 7 08-29-2005 05:10 PM
Another Firefox issue with CSS John Brandt HTML 10 11-15-2004 07:22 PM
Question About Strange 'C' Code Syntax ( Well strange to me anyway ) Harvey Twyman C Programming 8 10-25-2003 05:54 AM



Advertisments
 



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 44 45 46 47 48 49 50 51 52 53 54 55 56 57