HighDots Forums  

Re: aligning with css

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


Discuss Re: aligning with css in the Cascading Style Sheets forum.



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

Default Re: aligning with css - 03-16-2006 , 12:15 PM






Gernot Frisch wrote:
Quote:
I have no clue.
- I want to align the red, green, blue boxes in one line
- red,green,blue must be 45px high
- red (center) must be as wide as possible
- yellow must start exactly below the line
- yellow must be left aligned with red one.

In X1, X2, X3 change "display:inline" to "float:left".
In Y2 change "margin-top: 45px" to "margin-right: 44px". Delete "width:90%".

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
  #2  
Old   
Gernot Frisch
 
Posts: n/a

Default Re: aligning with css - 03-17-2006 , 03:01 AM







"Jim Moe" <jmm-list.AXSPAMGN (AT) sohnen-moe (DOT) com> schrieb im Newsbeitrag
news:5s-dnbykGunDNoTZnZ2dnUVZ_v6dnZ2d (AT) giganews (DOT) com...
Quote:
Gernot Frisch wrote:

I have no clue.
- I want to align the red, green, blue boxes in one line
- red,green,blue must be 45px high
- red (center) must be as wide as possible
- yellow must start exactly below the line
- yellow must be left aligned with red one.

In X1, X2, X3 change "display:inline" to "float:left".
In Y2 change "margin-top: 45px" to "margin-right: 44px". Delete
"width:90%".
looks perfect on FF, but IE(6) messes it up... Good point to start
playing, though. Thanks a lot.




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.