11
Burnzy
Re: Firefox and Div
  • 2005/1/31 21:20

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


niether of them did anything to help. Taking out that line made everything spread up.

that script didnt do anything different but will keep cuz it may be good on IE and avant

12
tjnemez
Re: Firefox and Div
  • 2005/1/31 22:33

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey burnzy,

Not sure what you are trying to do here, but it appears you are using 3 images for your blocks so:

theme.html

<div id="leftblock">
<div id="leftblock_title"><{$block.title}></b></div>
<div id="leftblock_content><{$block.content}></div>
<div id="leftblock_bottom:><div>
</div>

style.css

#leftblock_title {
background-image: url(lftblk_title.gif); /*your menu.gif */
background-repeat: no-repeat;
color: #000;
border: 0px solid #999;
padding: 0px 0px 0px 0px;
text-align: center;
font-weight: bold;
}

This will be the background image that repeats:

#leftblock_content {
background-image: url(lftblk_title.gif); /*your menu.gif */
background-repeat: repeat-y;
color: #000;
border: 0px solid #999;
padding: 0px 0px 0px 0px;
text-align: center;
font-weight: bold;
}

#leftblock_bottom {
background-image: url(lftblk_title.gif); /*your menu.gif */
background-repeat: no-repeat;
}

you will likely have to fine tune the above, but it should work fine.

13
Burnzy
Re: Firefox and Div
  • 2005/1/31 23:06

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


i love u

ur the man!!!

14
Peekay
Re: Firefox and Div
  • 2005/1/31 23:38

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Sorry this probably doesn't solve your problem Burnzy, but in respect to Highlanders doctype check, using the doctype alone without the URL to the DTD will throw IE and Firefox into 'quirks' mode, but only if the doctype is for HTML 4.01. Deleting the URL was like having no doctype at all. In quirks mode, virtually everything works unless it's really badly coded.

AFAIK, with the XHTML transitional doctype that you are using, Firefox will use 'almost standards' mode, with or without the URL. The 'strict' doctype triggers 'full standards mode'. To trigger 'quirks mode' you have to omit the doctype completely.

There's more at Mozilla's doctype sniffer page:
http://www.mozilla.org/docs/web-developer/quirks/doctypes.html

Lots of interesting stuff on the effect of doctypes here:
http://www.hut.fi/u/hsivonen/doctype.html

Is it really worth using XHTML? Some good points raised here:
http://www.hut.fi/u/hsivonen/xhtml-the-point
and here:
http://www.ookingdom.com/design/quitting

See how various browsers deal with XHTML served up as text/html here:
http://www.goer.org/Journal/2003/Apr/index.html#results

And some PHP and htaccess trickery for XHTML here:
http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html

Hope some of that may be of help!

Login

Who's Online

173 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 173


more...

Donat-O-Meter

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

Latest GitHub Commits