Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE DREAMWEAVER: HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

Re: swf.file

Cow Forums : Adobe Dreamweaver
FAQ   •   VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: swf.file
by Abraham Chaffin on Dec 19, 2008 at 7:28:54 pm

Containing Relative Positioned Div:
I would setup a relative positioned div to contain two absolute positioned divs. I would set the width of this div to restrain the text to whatever width might fit the overlay of the image.

Image AP Div:
One absolute positioned div inside of the relative positioned div would have a top and left position of 0,0 to place it in the direct top left corner of the relative positioned div, it would have the image inside of it and have a z-index smaller than that of the other absolute positioned div, this would make it be behind the text div.

Text AP Div:
The other absolute positioned div inside the relative positioned div would have a top and left position of something like 10,10 to place it slightly inside the top left corner of the containing div. Text would then be placed into it and the z-index would be greater than that of the image div, this would make it so that it would be on top of the image.

Here's code and example:




<div style="position:relative; width:300px;">
<div style="position:absolute; left:0px; top:0px; z-index:1;">
<img src="http://www.creativecow.net/docs/wrapper/images/cow_logo_t.png" />
</div>
<div style="position:absolute; left:10px; top:10px; z-index:10;">
<font color="#FF0000">This is text overlaying</font>
</div>
</div>








This is text overlaying the image and restrained to 300px wide because of the container...




Abraham


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:
  • swf.file by Victor DiGiovine on Dec 15, 2008 at 2:59:45 am
    • Re: swf.file by Abraham Chaffin on Dec 15, 2008 at 5:45:31 pm
      • Re: swf.file by Victor DiGiovine on Dec 17, 2008 at 3:41:39 pm
        • Re: swf.file by Abraham Chaffin on Dec 17, 2008 at 5:01:41 pm
          • Re: swf.file by Victor DiGiovine on Dec 18, 2008 at 11:58:20 pm
            • Re: swf.file by Abraham Chaffin on Dec 19, 2008 at 4:15:21 pm
              • Re: swf.file by Victor DiGiovine on Dec 19, 2008 at 5:59:51 pm
                • Re: swf.file by Abraham Chaffin on Dec 19, 2008 at 6:15:24 pm
                  • Re: swf.file by Victor DiGiovine on Dec 19, 2008 at 6:41:12 pm
                    • Re: swf.file by Abraham Chaffin on Dec 19, 2008 at 6:46:17 pm
                      • Re: swf.file by Victor DiGiovine on Dec 19, 2008 at 7:07:40 pm
                        • Re: swf.file by Abraham Chaffin on Dec 19, 2008 at 7:08:47 pm
                          • Re: swf.file by Victor DiGiovine on Dec 19, 2008 at 7:14:05 pm
                            • Re: swf.file by Abraham Chaffin on Dec 19, 2008 at 7:28:54 pm
                              • Re: swf.file by Victor DiGiovine on Dec 22, 2008 at 4:13:21 pm
                                • Re: swf.file by Abraham Chaffin on Dec 22, 2008 at 6:23:05 pm
                              • cells by Victor DiGiovine on Dec 23, 2008 at 2:52:38 pm
                                • Re: cells by Abraham Chaffin on Dec 23, 2008 at 4:09:22 pm
                                  • Re: cells by Victor DiGiovine on Dec 23, 2008 at 7:12:34 pm
                                • Re: cells by chris ferrer on Dec 29, 2008 at 11:12:57 am
                                  • Re: cells by Abraham Chaffin on Dec 29, 2008 at 5:51:58 pm
    • word spacing by victor digiovine on Jan 5, 2009 at 4:43:11 pm


Related Threads:
SWF file setup on web page not playing   |   Capture data in csv file or Access database   |   LINKING SWF (FLASH) FILEs   |   Dreamweaver looses file on publish   |   Flv file - Continuous play without controls   |   Parameters for WMV file.   |   HD file to Dreamweaver   |   How can I add thin border around .swf file in html or css   |   drop down menu over video file   |   Embed audio file



Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]