aligning objects in Visual Studio 2005

  • Thread starter Thread starter jason
  • Start date Start date
J

jason

I have two <DIV> areas side by side of different sizes. I've tried
lining them up so that both bottoms are on the same line, but when I
render the page they are not. Outside of putting these in a table, how
can I line them up .. is there feature in VS?
 
With CSS you can place two objects in alignment. You can do this with Visual
Studio 2005, but it does not help you a huge amount, so you will still have
to preview to make sure you have things correct. Tables are another option,
of course.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 
Would you happen to know how. In this example, I'm trying to align on
the bottom. as you can see the size of each div is different.

<html>
<body>
<div id=hello>
<div id=d1
style="align:bottom;position:absolute;left:300px;width:100px;height:200px;border:
ghostwhite thin ridge;float-left">
hello
</div>
<div id=d2
style="align:bottom;position:absolute;left:1px;width:200px;height:300px;border:
ghostwhite thin ridge;float-right">

</div>
</div>

I tried veritcal-align, and setting it at the top <div>.. no luck.
 
Back
Top