Customizing SMF > Graphics and Templates
Design Help
[Unknown]:
The best way I can think of would have to be Javascript. You can find the screen size and set the table width, as well as turn on/off images.
Well, I would use a table in this case, because you want stuff justified right/left.... but, you can do it with divs... it's just more annoying :P.
-[Unknown]
Tyris:
mmm, yeah, I thought javascript would be the only way... I'm always a little hesitant to use it coz some people have it turned off. that and you need to write the script for like 3 different browsers coz they all use different code *grumble grumble*
Also.. now it doesn't fit on an 800X600 window coz I made the right image the same size as the left one so that the middle part can be centered... how would I do that using divs... (like have the outer images aligned left and right repsectively... and then the center one centered...?)
Thanx
*edit*
nm... I got it to do it with tables so its all cool now...
however, I got a friend complaining about graphic quality (he's a 56ker but still wants good quality graphics)... of course this is hard to achieve using gifs... I got em fully bloated at 256 colors atm... but I cant do it with jpegs coz they wont do transperencies... any other possibilities? (keeping in mind the right hand side needs to fits in with the rest of the scrolled image below it).
[Unknown]:
<div style="background-image: texture.jpg; width: 90%;"><table style="width: 100%; background-image: logo.jpg; background-position: center center;"><tr>
<td align="left">left-image</td><td align="right">right-image</td>
</tr></table></div>
All can be done with HTML ;D.
http://www.w3schools.com/css/pr_background-position.asp
-[Unknown]
Tyris:
aaa, sweet!! thanx man!! :D
now I can get some overlapping going :)
I'll try and get the whole design complete over the week...
any ideas for the quality problem with the gifs/jpegs...?
Navigation
[0] Message Index
[*] Previous page
Go to full version