Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
2 Registered (Gardener, 1 invisible), 27 Guests and 32 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
Gizmo 11678
Rick 7551
Ian 4099
Mark S 3969
ntdoc 3102
Sirdude 2041
jgeoff 1876
David Dreezer 1750
driv 1557
AllenAyres 1523
Latest Photos
Carrie - So Very
Testing
Test Photo
4TH of July at the river!
Test shots from D300 part 3
Page 2 of 2 < 1 2
Topic Options
Rate This Topic
#215375 - 07/10/08 05:35 PM Re: Image Size In Posts [Re: FordDoctor]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
that's perfect, since ie6 will ignore the max-width and all other standards based browsers will handle it..

then IE6 comes along and evaluates the width line, while ignoring the max-width one smile

good show wink
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#215378 - 07/10/08 05:41 PM Re: Image Size In Posts [Re: Sirdude]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
you'll find that if it works in FF, then you have a high probability it will work in ALL other browsers except IE laugh

matter of fact, when i do a site design (css), i'll design for it to look good in Firefox 1st, then i FIX the site for any IE quirks..

safari is the only one that is 'picky', but that is usually with regards javascript quirks, that i've found smile

Top
#216067 - 07/31/08 12:56 PM Re: Image Size In Posts [Re: FordDoctor]
Iann128 Offline
stranger

Registered: 03/21/08
Posts: 11
Loc: Riverview, FL
Originally Posted By: FordDoctor
Well the link you posted was a good start. I did some Googling and found several different methods of attempting this. I then stumbled upon a post on the Eve support forums and modified the code to work within UBB. I tested it in IE-6 and FF and it works in both but I can't test it in any other browsers so if anyone else tries this let us know that you verified that it works or not. Don't be impressed - I read a lot and try many times until something works or I step in shyt! laugh I hope someone else finds this helpful too.

Code:
.post_inner img{
max-width:650px;
width: expression(this.width > 650 ? 650: true);
} 


I just tried it in IE7 and FF3 and it works great thanks!

Ian

Top
Page 2 of 2 < 1 2


Shout Box

Recent Topics
Community Spotlight
by Thelockman
Yesterday at 08:04 AM
Protecting Board from hackers
by duquesne
Yesterday at 04:48 AM
Change New Topic text
by MLD
08/25/08 04:59 PM
Reason for deleting a thread
by MattUK
08/24/08 09:40 PM
Adding rss feed to a custom portal island
by alex26101
08/23/08 09:29 PM
Forum Stats
4016 Members
33 Forums
30842 Topics
156622 Posts

Max Online: 978 @ 06/24/07 08:19 PM