HighDots Forums  

First steps

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss First steps in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul
 
Posts: n/a

Default First steps - 03-04-2006 , 08:37 AM






I am very new to the power of css, but appreciate its power. THis is a
super easy question, I am sure.
I have the following in my aspx (html) page:

<div id="outer" class="outer">
<div id="inner1" class="inner1">
<div id="inner2" class="inner2">
</div>
</div>
</div>

and in my stylesheet I have:
..outer
{
width:500px;
height:500px;
border-style:solid;
border-color:Red;
border-width:thin;
}
..inner1
{
width:400;
height:400px;
border-style:solid;
border-color:Blue;
border-width:1px;
}
..inner2
{
width:300;
height:300px;
border-style:solid;
border-color:Green;
border-width:1px;
}

But the inner divs are rectangular (not square) and all have the horizontal
dimentsions of the outer div (the vertical dimentsions seem fine, abutting
on the left edge. I expected to have 3 square divs of the dimentsions
stated (500, 400,300). I am viewing this in IE 6.0.
TIA,

Paul



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.