OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
This is Crazy I know
This page's ID:
28622
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Ok... I think we have some terminology issues, or perhaps jsut some CSS misunderstandings. However - 1) any element can be set to display either INLINE or BLOCK 2) putting the iframe in a div is irrelavent. You can simply apply the CSS properties you want to the iframe (as with any element). 3) why do you not want to use a script for this? there are so many dependable and efficient methods for doing this using SSI, PHP, Javascript and any number of other languages... 4) [quote] [b]skyetyger said:[/b] Does that make sense? It is working..sort of.."a bit creative?" Yes!..but [/quote] I wouldn't call it 'creative' (no offense), it's just an obsolete method for setting up your navigation. As to the actual defined question: [quote] [b]skyetyger said:[/b] Can an Iframe be a DIV or is it always an inline element? That I think is the question.. [/quote] Well....no. An iframe is an iframe. Only a div is a div. But no, it does not have to be an inline element. As for how its width can be set, all I can say is: set the width the way you want. Does it work? If so, you know it will work ;) If not, well.... A[quote] [b]skyetyger said:[/b] Btw...if you want to get rid of the border..you have to put "frameborder="0" in the inline element..or it will have a border no matter what you do.. [/quote] What Doctype are you using? "frameborder" is a long deprecated attribute if I recall correctly. Set the border in your CSS. Though again let me say - frames are really not the way to go with this. Frames lost their prominence for a reason - they suck ;)
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »