How do you position relative divs

Hey thanks for the help so far, I have another question. With
absolute divs i'm able to place them wherever I want on the screen,
am i able to place relative divs that are centered wherever i want
as well. Can i do this in CSS or do i have to code everything.
Thanks for help
Mike

> wherever I want on the screen
By dragging in the Design view, yes.
> am i able to place relative
> divs that are centered wherever i want as well.
If they are centered, why would you want to move them? But
yes, you can
place them wherever you want by editing the
top|right|bottom|left position
information in the styles. Be aware that relatively
positioned elements
will leave a "hole" in the page if you move them away from
the 0,0
coordinates where they would have been placed. You cannot
DRAG relatively
positioned divs in Design view....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"mikesilverman22" <[email protected]> wrote
in message
news:e67op2$r1q$[email protected]..
> Hey thanks for the help so far, I have another question.
With absolute
> divs i'm
> able to place them wherever I want on the screen, am i
able to place
> relative
> divs that are centered wherever i want as well. Can i do
this in CSS or
> do i
> have to code everything. Thanks for help
>
> Mike
>

Similar Messages

  • How do I position AP Div Tags relative to a Table?

    Hi!
    I know that it is possible to position an AP Div Tag relative to the header using a template in Dreamweaver. However, I am not able to position to relative when using a table so if you know how then help would be appreciated! Thank you! (I am using CS5 by the way)

    webdesigner3383 wrote:
    Hi!
    I know that it is possible to position an AP Div Tag relative to the header using a template in Dreamweaver. However, I am not able to position to relative when using a table so if you know how then help would be appreciated! Thank you! (I am using CS5 by the way)
    Not sure why you want to do this as it can be hit and miss.
    I would insert a <div> in a table cell and set its position to relative and then insert an absolutely positioned <div> inside of the relatively positioned one:
    <td>
    <div style="position: relative;">
    <div style="position: absolute; top: 50px; left: 40px;">Content goes here</div>
    </div>
    </td>
    I think that should work although I havent tried inserting <divs> inside a <td> cell for many moons.

  • How do you position tags in a spreadsheet? Can I eSign more than one tab in a spreadsheet?

    How do you position tags in a spreadsheet? Can I eSign more than one tab in a spreadsheet?

    Using text tags
    https://workspaces.acrobat.com/app.html#d=Bi-SZ3cbVCHwiWBBp-7G7g
    but spreadsheets are quite difficult to predict as they don't typically have a page size defined. If you can do this in Word it'll be easier.
    or convert to pdf before uploading to EchoSign.
    You an upload a spreadsheet with multiple tab and place tags on each tab and all will get converted.

  • How do you position side by side tables so they print correctly on separate sheets?

    How do you position side by side tables so they print correctly on separate sheets?

    Hi CJ,
    I just saw this solution by Jerry:
    https://discussions.apple.com/thread/5653936?tstart=0
    It is non-intuitive how to get there, but Menu > File > Print... to get to Print Preview. Then Click on Print.. at bottom right. This does not print, but opens a dialogue where you can choose to Open PDF in Preview (click on PDF bottom left).
    Have fun!
    Regards,
    Ian.

  • How do you position a Flash using CS5???

    I just started using Flash CS5 and whenever I publish something, the Flash winds up in the upper left corner of my browser. WTF?
    There's no code on the page that lets you "position" the Flash. I have no way of telling the Flash which div it belongs in. What's going on here?
    I've searched and searched and everything that talks about swfobject doesn't seem to address my problem... Which is driving me crazy.
    There's no clear way to tell the Flash where to go. And no one's talking about it?

    So I figured out that the Flash is supposed to go wherever you place the <div id="flashContent">,
    although I couldn't find any documentation saying that.
    Anyway, for some reason on my page the Flash will not stay put. It wants to butt up to the upper left corner of a wrapper div, a few divs up.
    No idea why. The page is here: http://www.h2xrx.com/site/color_options.php but I'm working on it so it may change here and there.

  • How do you position an image inside a photo box?

    I'm trying to create a 20 page 16x8 book and I cannot figure out how, after putting a photo box on the page, and dropping an image into it, how do I move the image around inside of it. For instance if I create a square photo box, how do I position a 3:2 image inside of it?

    Double click it.
    RB

  • How do you position text in a div tag to be in the center vertically?

    Can someone help?  I am struggling to convert from being dependent on tables to design sites to using all css and divs.  Anyway, in my practice file, i made a header that is styled to be 50 pixels tall.  The type in the header goes to the top.  I am used to having type default to to the left and positioned vertically in the center they way type "works" when placed in a <td>. What am I not "getting?" I would like to know that if I change the css for the header region from 50 to another value that the type will always be positioned where I want it. 
    thanks in advance for any suggestions.  Maybe the picture I've attached will better explain what I'm talking about. Oh, and I've also attached the html file

    HudsonSwimmer wrote:
    Can someone help?  I am struggling to convert from being dependent on tables to design sites to using all css and divs.  Anyway, in my practice file, i made a header that is styled to be 50 pixels tall.  The type in the header goes to the top.  I am used to having type default to to the left and positioned vertically in the center they way type "works" when placed in a <td>. What am I not "getting?" I would like to know that if I change the css for the header region from 50 to another value that the type will always be positioned where I want it. 
    thanks in advance for any suggestions.  Maybe the picture I've attached will better explain what I'm talking about. Oh, and I've also attached the html file
    I'm afraid you'll have to starting looking at things differently. Css cannot yet vertically centre anything in a <div> container reliably.
    About as good as it gets is one line of text (see code below) using the line-height attribute AND you need to give the <div> a height too which is also likely to lead to other problems. So forget it. You can use padding and margin to push it into a 'visual position vertically centered' in your browser but there is no guarantee that others with different browser set ups will be seeing it the same.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    #vertCentre {
    height: 300px;
    background-color:#FF0;
    line-height: 300px;
    text-align: center;
    p {
    font-family: verdana, helvetica, arial, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
    </style>
    </head>
    <body>
    <div id="vertCentre"><p>This is some vertically centered text</p></div>
    </body>
    </html>

  • How do you place 2 divs inline?

    Is there any way to place 2 divs side-by-side, with relative positioning, so that the 2nd div begins where the first one ends regardless of how wide the first one is?
    A two-column table would do this easily, but I was wondering about how complicated it would be to do with CSS.
    I thought "display:inline-block" would do the trick, but it doesn't seem to do anything.

    <div style = "width:400px; float:left;">This 400px wide div will be at the left side of the next div.</div>
    <div style="width:400px; float:left;">This 400px wide div will be to the right, side-by-side, with the one preceding it in the code.</div>
    The trick is to float at least one of them.  You don't have to float both, but if you only float the first one, you will have to give the second one a 400px left margin to space it off to the right enough so that they are exactly side-by-side as desired.

  • How do you make a "div" tag stretch to the top, left and right?

    Hi, i'm making a professional website on dreamweaver with both codes and WYSIWYG data however i've noticed top, left and right in the CSS script for my div tags. do you know how i can "stretch" the left, right and top to make it look like one of the top div tags on one of these sites:
    http://www.neopets.com/ products div tag above the site that mentions other nick products

    Go into  http://images.neopets.com/css/default.css?v=3
    And change the width of the header from 996px to 100%.
    Gary

  • How do you position a window on the screen?

    When I run a application how do I make the window open in the middle of the screen instead of the top left?

    Ah, a JFrame, then try this;-
       Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
       Dimension frameSize = frame.getSize();
          if (frameSize.height > screenSize.height) {
             frameSize.height = screenSize.height;
          if (frameSize.width > screenSize.width) {
             frameSize.width = screenSize.width;
      frame.setLocation((screenSize.width - frameSize.width)/2,(screenSize.height - frameSize.height)/2);
      frame.setVisible(true);                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • My question is Itunes related.  How do you prevent a playlist saved in Itunes from alphabetizing the song list created. I wanted to keep the original order, and somehow everything was alphabetized without requesting it.

    My question is Itunes related.  How do you prevent a playlist saved in Itunes from automatically alphabetizing the song list.   I had a specific order of songs that I wanted, and Itunes somehow automatically alphabetized them.  Is there a way to turn that feature off, and/or get them back to the original order?   I also noticed that once a playlist has been created, I cannot manually changed the order of the songs from my desktop..  Any suggestions?

    That's just the sort order. It's displaying the media alphabetically because you have clicked on the NAME column near the top of the iTunes window.
    Click on the little triangle above the column of numbers (usually on the far left side of the main iTunes window) and the media will sort in the order in which you added each item to the playlist.
    You can easily reorder songs within a playlist: Click and HOLD on the song you wish to move, then drag-and-drop it wherever you like.

  • Help with Positioning a div in relation to another div

    I'm working on this website - http://soleproductions.com/virgilcardin/index.htm
    I want to position the "7 Days a Week" waterdrop image just to the right of "Call Us Today..." text.
    Here is my logic....
    I created a div called "7daysaweek" and placed it inside the "largeimage" div and set the "largeimage" div to Relative so I could use absolute positioning of the "7daysaweek" div and set 7days div to 0 bottom, 0 right but it remains at the top left corner of the largeimage div.  What am I missing?
    Here is my HTML
    <div id="largeimage">
            <div id="7daysaweek"><img src="../images/7-days-a-week.png" width="114" height="178" alt="7 Days a Week" /></div>
        </div>
    Here is my CSS
    #largeimage {
        height: 409px;
        width: 900px;
        background-image: url(images/virgil-cardin-truck1-large.jpg);
        background-repeat: no-repeat;
        position: relative;
    #7daysaweek {
        height: 178px;
        width: 114px;
        right: 0px;
        bottom: 0px;
        position: absolute;

    Design View isn't reliable.  Use Live View or Preview in browsers.
    Leading numbers like "7" are not allowed in CSS selector names. The selector name must begin with a letter. 
    Try this (inline styles used here for expediency):
    <div id="waterDrop" style="position:absolute; top:22px; left: 800px"><img src="images/7-days-a-week.png" alt="7 Days a Week" height="178" width="114">
    </div>
    Nancy O.

  • How can you modify the displayed columns on a Related Information List?

    How can you modify the displayed columns on a Related Information List? For example, how could you add the "Type" column to the List of columns displayed for Service Requests when you are viewing the Contacts Detail page?
    Thanks

    I'd have to say I think this is one of the biggest flaws in the OnDemand system currently. The solution I have come up with is to create reports and put them in webapplets showing the data I want to show. I have then removed the standard Related Info List Objects and added weblinks to create new records as the button on the List object is also gone.
    Keep in mind that doing this does slow things down a little, so it may not work if you have a big user base.
    RWB.

  • How do you change the position of email sender so that it's on the left (sender[from], subject and date received)

    How do you change the position of email sender so that it's on the left (sender[from], subject and date received)

    In the Thread Pane where your messages are listed?
    You see that bar with the labels "From", "Subject", "Date" and so on? Well, they are buttons. You can click on them to sort your messages. You can also drag them with the mouse left and right to reposition them, and you can drag their ends to change the column widths.
    These are standard computer actions; you can do all of this in Windows Explorer ("My Computer") too.
    In Thunderbird, a right-click on any of these buttons will reveal a pop-up menu where you can select and deselect the columns to control what is shown.
    More here: http://www.ramsden.org.uk/8_How_to_sort.html

  • How do you explain to an elderly relative how to setup an iPad?

    How do you explain to an elderly relative how to setup an iPad ?... How do you explain what is wifi to the uninitiated?

    Apple stores have classes. I see mostly senior citizens in these classes. Drop by an Apple store and see what it's all about.

Maybe you are looking for

  • ONE STEP HELP

    I started to do a One Step From my DV Cam to DVD. I thought i had enough space on my HD but evidently that was not the case. I got a disk full message so i hit the stop button on iDVD. It did not stop so I had to Force Quit. iDVD seemed to have used

  • Can't start computer because of coloured wheel

    Can't start computer because of coloured wheel

  • Function to move all dates to previous monday

    Here is what I have: create or replace FUNCTION ToPreviousMonday (DATE_FIELD IN date) RETURN date AS BEGIN IF TO_DATE(DATE_FIELD,'DAY')='SUN' THEN (DATE_FIELD)-6; ELSE trunc(DATE_FIELD,'D')+1; END IF; END ToPreviousMonday; Won't compile. Basically wh

  • Replacing all image types in a book TIF - PNG

    We recently have changed from using TIF's to PNG's we did some tests and found that was a better solution for us. I wanted to know if there was any trick or fix that FM could do so that when I open a chapter and the image reference comes up missing b

  • Infopackage execution in BPS

    Dear Gurus: I need to execute an Infopackage through a layout in BPS.Also, I need to select wich version,week of the plan is to be copied. Can I pass these 2 variables (such as version,week, version type, year, etc) into an infopackage? Any help will