1
Burnzy
Firefox and Div's?
  • 2005/1/30 23:23

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


Hi, i have a site at http://www.burnsdesign.org/index.php

I been using Avant Browser on my site and it all looks fine except for wierd text stuff that gets cut off when scrolling.

But in Firefox... (im using it now) the top div and middle div on the left and right blocks background get tooken off...

Then on my center block the middle background gets taken off...

I dont understand why this is happening. Can someone please help me on this.

2
Burnzy
Re: Firefox and Div
  • 2005/1/31 1:49

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


please sumone help....

3
jdseymour
Re: Firefox and Div

Hi burnzy.

Can you show a snippet of the offending code. I did check your site and it does look different in IE than FireFox. Of the two though FireFox should be the more compliant.

4
Burnzy
Re: Firefox and Div
  • 2005/1/31 2:45

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


<br>
    <
div style="background-image:url(<{$xoops_imageurl}>menubar_02.gif); background-repeat:repeat-y">
    <
div class="blockTitle" style="background-image:url(<{$xoops_imageurl}>menubar_01.gif); background-repeat:no-repeat">&nbsp;&nbsp;&nbsp;&nbsp;<b><{$block.title}>b><br><div class="blockContent"><{$block.content}>div>div>
<
div><img src="<{$xoops_imageurl}>menubar_03.gif" alt="" align="bottom">div>
div>


thats what i got for the right block and left block code.

5
ronhab
Re: Firefox and Div
  • 2005/1/31 7:08

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


Quote:

Burnzy wrote:
<br>
<
div style="background-image:url(<{$xoops_imageurl}>menubar_02.gif); background-repeat:repeat-y">
<
div class="blockTitle" style="background-image:url(<{$xoops_imageurl}>menubar_01.gif); background-repeat:no-repeat">&nbsp;&nbsp;&nbsp;&nbsp;<b><{$block.title}>b><br><div class="blockContent"><{$block.content}>div>div>
<
div><img src="<{$xoops_imageurl}>menubar_03.gif" alt="" align="bottom">div>
div>


thats what i got for the right block and left block code.


Your closing tags look a little messed up. Try it like

<br />
<
div style="background-image:url(<{$xoops_imageurl}>menubar_02.gif); background-repeat:repeat-y">div>
<
div class="blockTitle" style="background-image:url(<{$xoops_imageurl}>menubar_01.gif); background-repeat:no-repeat">&nbsp;&nbsp;&nbsp;&nbsp;<b><{$block.title}>b>div><br />
<
div class="blockContent"><{$block.content}>div>
<
div><img src="<{$xoops_imageurl}>menubar_03.gif" alt="" align="bottom">div>


Any difference?

6
Burnzy
Re: Firefox and Div
  • 2005/1/31 19:25

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


if i use what u have my background wont show. I have the first div go through the whole thing cuz its the background to it all. So if u cut it off... i will have no background. The content will be on a grey slab behind it.

7
highlander
Re: Firefox and Div
  • 2005/1/31 19:54

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Burnzy,

Allthough not recommended a good debugger can be removing the following line :


I am interested if the results are different or without this line or not.

Various things get interpreted differently when running xhtml-transitional or strict.

Please let us know if it makes a difference.

Kind regards,
Highlander

8
Burnzy
Re: Firefox and Div
  • 2005/1/31 19:58

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


ill try that when i get home and use firefox

9
ronhab
Re: Firefox and Div
  • 2005/1/31 20:00

  • ronhab

  • Friend of XOOPS

  • Posts: 160

  • Since: 2003/4/27


You probably want span tags then and not div tags.

Try it like

<br />
<
div style="background-image:url(<{$xoops_imageurl}>menubar_02.gif); background-repeat:repeat-y">
<
span class="blockTitle" style="background-image:url(<{$xoops_imageurl}>menubar_01.gif); background-repeat:no-repeat">&nbsp;&nbsp;&nbsp;&nbsp;<b><{$block.title}>b>span><br />
<
span class="blockContent"><{$block.content}>span>
<
span><img src="<{$xoops_imageurl}>menubar_03.gif" alt="" align="bottom">span>div>

10
Burnzy
Re: Firefox and Div
  • 2005/1/31 20:03

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


ill try that 1 first since it looks better then messing everything up

Well ill try the spans and tell my friend to view it on firefox.

Thx all!

Login

Who's Online

442 user(s) are online (321 user(s) are browsing Support Forums)


Members: 0


Guests: 442


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits