View Full Version : style help ?


jlim0930
2nd September 2004, 05:47 AM
i dont know if this is the right place for this but i just had a question about css style..

on my site i am using

<div style="margin: 3px; padding: 3px; font-size: larger; width: 20%; float: right;">

<div style="margin: 3px; padding: 3px; font-size: larger; width: 20%; float: left;">

to display the pictures on my articles so that the text can wrap around the picture without using tables/etc..

it shows up great on ie but always messes up in opera and firefox


is there a compatable style that i can use that will make the layout the same in all 3(ie/opera/firefox) browsers ?

Thanks

flyaway
2nd September 2004, 10:59 AM
<img src="a.gif" hspace="5" vspace="5" border="0" align="right">text.text.text.text.text.text.text.text.text.text.text.text.text.text.text.text. text.text.text.text.text.

Floris
2nd September 2004, 12:57 PM
i dont know if this is the right place for this but i just had a question about css style..

on my site i am using

<div style="margin: 3px; padding: 3px; font-size: larger; width: 20%; float: right;">

<div style="margin: 3px; padding: 3px; font-size: larger; width: 20%; float: left;">

to display the pictures on my articles so that the text can wrap around the picture without using tables/etc..

it shows up great on ie but always messes up in opera and firefox


is there a compatable style that i can use that will make the layout the same in all 3(ie/opera/firefox) browsers ?

Thanks
I believe those browsers have issues with float some time. Try to see what xhtml/css recommends to use (w3.org)

jlim0930
5th September 2004, 08:22 AM
<img src="a.gif" hspace="5" vspace="5" border="0" align="right">text.text.text.text.text.text.text.text.text.text.text.text.text.text.text.text. text.text.text.text.text.
This works perfectly!!

Thanks!

jlim0930
5th September 2004, 08:39 AM
ok its working perfectly now but is there a way to make a bbcode out of it ?

before when i had it as
<div style="margin: 3px; padding: 3px; font-size: larger; width: 20%; float: left;">{param}</div>

i had a bbcode made for and it worked great

but with <img src="x.gif" hspace="5" vspace="5" border="0" align="left">

how would the bbcode work ? i tried to use the options tag but if i do that and dont put anything between the [ leftbox ] [ /leftbox ] the picture does not show up

any hints ?

jlim0930
12th September 2004, 09:58 PM
hehe got it working now
i was stupid before put " around the { param } so it didnt work!

Floris
22nd September 2004, 09:19 AM
hehe got it working now
i was stupid before put " around the { param } so it didnt work!
Hey, good tip there. I will try to remember that for future encounters of this type.