IPB

ISO Image Creator

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Logo that resizes for all window sizes, 3 x image logo (by sz1)
bfarber
post Mar 9 2005, 01:27 PM
Post #11


Administrator
Group Icon

Group: Admin
Posts: 10,302
Joined: 9-February 03
From: Jacksonville, FL
Member No.: 1
 United States


QUOTE(blushinmushroom @ Mar 3 2005, 05:02 PM)
The way I do it is much simpler just add width ="100%" after the logo script in skin manager in between the brackets
*


That may work in IPB...but the tutorial is meant to be a bit more general than just for IPB. wink.gif
Go to the top of the page
 
+Quote Post
sz1
post Mar 10 2005, 02:06 AM
Post #12


>> gui mod
Group Icon

Group: Members
Posts: 986
Joined: 14-February 03
From: Finland / Europe
Member No.: 3
 Finland


QUOTE(blushinmushroom @ Mar 4 2005, 12:02 AM)
The way I do it is much simpler just add width ="100%" after the logo script in skin manager in between the brackets
*


Yes, but that does just resize the logo by changing it's size: not very smooth.

My code does not effect the size of the logo but tiling the middle part picture horizontally.
Go to the top of the page
 
+Quote Post
bfarber
post Mar 31 2005, 01:27 PM
Post #13


Administrator
Group Icon

Group: Admin
Posts: 10,302
Joined: 9-February 03
From: Jacksonville, FL
Member No.: 1
 United States


Hey, sz1...

I was using this tutorial on Ruler's site recently working with three-image header bars (not headers themselves, but like titlebars) and found another interesting note...

Firstly, in your first code snippet the following is incorrect

<td style="style="

you can see why. wink.gif

Secondly, I found that for the actual img tags, I had to add the hspace='0' and vspace='0' attributes to get them to line up properly. Probably not as big an issue with headers as there is more room (larger images and such), but with the little titlebars it was necessary to line the images up properly. Maybe you could add those to your code and then it could not only be for a logo that resizes, but stretching titlebar images as well. smile.gif
Go to the top of the page
 
+Quote Post
sz1
post Apr 1 2005, 01:11 AM
Post #14


>> gui mod
Group Icon

Group: Members
Posts: 986
Joined: 14-February 03
From: Finland / Europe
Member No.: 3
 Finland


Yep, you right with typo. I also added those others things. Thanks.

It is so hard to make an universal code that works in IE and FF with every picture size biggrin.gif
Go to the top of the page
 
+Quote Post
sz1
post Apr 1 2005, 03:20 AM
Post #15


>> gui mod
Group Icon

Group: Members
Posts: 986
Joined: 14-February 03
From: Finland / Europe
Member No.: 3
 Finland


I made an another version, can't be shorter than this smile.gif

CODE
<! by sz1 http://521.2ya.com >
<div style="border:0px;background:transparent url(middle.gif);margin:0px;padding:0px">
 <p style="background: url(right.gif) right top no-repeat"><img src="left.gif" vspace=0 hspace=0></p>
</div>


More details in the first post....
Go to the top of the page
 
+Quote Post
bfarber
post Apr 1 2005, 12:22 PM
Post #16


Administrator
Group Icon

Group: Admin
Posts: 10,302
Joined: 9-February 03
From: Jacksonville, FL
Member No.: 1
 United States


Cool, thx! biggrin.gif
Yeah..I know what you mean. One thing I noticed is the table cellpadding has to be 0, which isn't always desirable. I'm working on a way to increase the padding in the individual td cells afterwards, but eh...universal is not so universal all the time lol.
Go to the top of the page
 
+Quote Post
sz1
post Apr 4 2005, 03:08 AM
Post #17


>> gui mod
Group Icon

Group: Members
Posts: 986
Joined: 14-February 03
From: Finland / Europe
Member No.: 3
 Finland


Propably that new way I posted works better as it uses divs (and it is lot shorter also). But again other .css setting can makes some unwanted effects.
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd March 2010 - 03:10 AM

  Page top

Webber Enhanced skin created by Im4eversmart of RuneHQ.

  Privacy Policy 1 2 3 4 5

IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here