Picolini Posted January 16, 2009 Share Posted January 16, 2009 So I'm trying to make a my sig with two different images, the first on aligned normally to the left. The second pic is aligned to the right. When I do it, the second image is bumped down an entire line. I don't understand why... when I leave no alignment code they go right next to each other just fine. They are both exactly 150px but I did try resizing them to 145px, still no luck. Any ideas here? I swear I've seen people do similar things, so it's got to work. Here's what I'm talking about. Link to comment Share on other sites More sharing options...
GTArv Posted January 16, 2009 Share Posted January 16, 2009 Use tables. Not really sure how to align the images, maybe you could insert a column in the middle with a transparent image to make them appear aligned. Link to comment Share on other sites More sharing options...
Girish Posted January 16, 2009 Share Posted January 16, 2009 You could use this code: [table][img=http://www.isarapix.org/pix2/1232131984.png][img=http://www.isarapix.org/pix54/1232079399.png][/table] It's impossible to align the second image to the right because the align tags don't work inside tables. Link to comment Share on other sites More sharing options...
Suction Testicle Man Posted January 16, 2009 Share Posted January 16, 2009 The ALIGN bbcode uses a div element to contain the content and move it to the specified location, but that element will inherit the 'display: block' property by default, and is not set to use 'display: inline', which would force all div elements with that property onto the same line. For some reason the ALIGN code doesn't parse properly from within a table, but if somebody has found a way hopefully they can enlighten us If at first you don't succeed, you fail, and the test will be terminated. Link to comment Share on other sites More sharing options...
Girish Posted January 16, 2009 Share Posted January 16, 2009 The ALIGN bbcode uses a div element to contain the content and move it to the specified location, but that element will inherit the 'display: block' property by default, and is not set to use 'display: inline', which would force all div elements with that property onto the same line. For some reason the ALIGN code doesn't parse properly from within a table, but if somebody has found a way hopefully they can enlighten us I don't understand much, but the align tags work perfectly when used inside table tags in html and considering the BB Codes work the same way as html tags, isn't it possible for you to tinker with your Admin CP and do something about this? Link to comment Share on other sites More sharing options...
GTArv Posted January 17, 2009 Share Posted January 17, 2009 [img=http://www.isarapix.org/pix2/1232131984.png][img=http://www.isarapix.org/pix75/1232184653.png][img=http://www.isarapix.org/pix54/1232079399.png] Inserting a transparent image in the middle pushes the image on the right, making it appear aligned. Width of the transparent image should be the remaining available sig width space, out of the maximum 500px, for maximum 'alignment'. I don't think the height of the transparency makes a difference. Link to comment Share on other sites More sharing options...
floof Posted January 17, 2009 Share Posted January 17, 2009 GTArv: You might as well make it one image if your going to do that. If theres any sort of page stretch then it wont look anything like aligned (which is the point). example: Link to comment Share on other sites More sharing options...
Picolini Posted January 18, 2009 Author Share Posted January 18, 2009 Hmmm... so no one has an answer for this? Sucks... I swear I've seen it done. Link to comment Share on other sites More sharing options...
Agent___Whatever Posted January 27, 2009 Share Posted January 27, 2009 [img=http://www.isarapix.org/pix2/1232131984.png][img=http://www.isarapix.org/pix75/1232184653.png][img=http://www.isarapix.org/pix54/1232079399.png] Inserting a transparent image in the middle pushes the image on the right, making it appear aligned. Width of the transparent image should be the remaining available sig width space, out of the maximum 500px, for maximum 'alignment'. I don't think the height of the transparency makes a difference. you missed your solution, grove.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now