Reply
CSS positioning
Old 12-14-2004, 11:43 AM CSS positioning
Junior Talker

Posts: 1
I want to position a layer defining the left and the right parameter, hoping that they layer uses this space. in firefox this works perfectly, but ie ignores this completely.

just have a look:
http://asp.upart.at/energie_ag/folgeseite.htm

how can i solve this problem, so that the layer with the main content (below) has the same width as the layer above (blue beside the picture).

thanx in advance
upartig is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 12-14-2004, 12:23 PM
danv's Avatar
Average Talker

Posts: 18
I thought you could only position a div for sure with top and left properties?
Are you trying to set the width programatically? If not, can' you just set the width property for both layers to the same width? or set both to 100%

What about two divs in 2 rows in a table?
danv is offline
Reply With Quote
View Public Profile
 
Old 12-14-2004, 01:45 PM
Rincewind's Avatar
Super Talker

Posts: 108
From your css
Code:
#container2 {
background: #FFFFFF;
position: absolute;
left: 30px;
right: 184px;
top: 30px;
padding-right: 10px;
padding-bottom: 10px;
z-index: 1;
}
Notice you have both a left and a right setting at the same time. This may be confusing the browser.

danv - you can use top, left, bottom and right to position things.
__________________
Q-4.net - Reseller web hosting programs
Stylegallery.co.uk - Scottish Landscape Photography Gallery
Splodgy.com - Web design tutorials
Rincewind is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS positioning
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10874 seconds with 12 queries