adamjedgar Posted April 30, 2014 Share Posted April 30, 2014 (edited) i simply cant believe it. i am having a html coding issue and i cant bloody use <html> tags in this post...everything comes out blank!!! Edited April 30, 2014 by adamjedgar Link to comment Share on other sites More sharing options...
adamjedgar Posted April 30, 2014 Author Share Posted April 30, 2014 i will try again. what is wrong with the following code. it displays the image but will not vertically center it within the iframe. <iframe src="http://adventistaviation.com.au/wp-content/uploads/2014/04/aaa-banner.png" width="600" height="150" frameborder="1" scrolling="no" style="vertical-align:bottom;"></iframe> Link to comment Share on other sites More sharing options...
newseed Posted April 30, 2014 Share Posted April 30, 2014 What's the purpose to using iframe for an image? Link to comment Share on other sites More sharing options...
Ingolme Posted April 30, 2014 Share Posted April 30, 2014 The iframe's style won't apply to what's inside it. The content inside must be written in HTML and have its own styles. There is no good reason to put an image inside an iframe. Link to comment Share on other sites More sharing options...
davej Posted April 30, 2014 Share Posted April 30, 2014 Use the <> codeblock that is available when posting code. 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